Skip to content

Listen to Events triggered by Device

Device can send message to IoT platform reporting its property's value has changed, we call it Device Status Change. It can also send message to IoT platform reporting an Event. Let's say we have a smart speaker that can recognize audio, so

  • A property describes an internal state of the device, e.g. a Volume property tells how loud our speak is.
  • An event, on the other hand, is a temporary data generated by device, e.g. after our speaker recognized an audio input, it will generate a recognized event.

Add Node

Right-Click anywhere on canvas, select Event/Device Event

Connect Device

Expand left panel, drag any device that can generate event, then connect Device node to Device Event node:

Listen to Specific Event

Note the ** in Device Event node, it means that we are listening to all events. If we want to listen to specific event, we can input the event ID in the Device Event node: