create the following Node-RED flow:
What are the series of events that are happening when you switch on a mote?
What are the series of events that are happening when you switch off a mote?
Manage space
Manage content
Integrations