Skip to content
maartendamen edited this page Dec 24, 2012 · 1 revision

The events topic is used to publish device status updates. The events topic has the following format:

events/device_type/device_id/property

device_type the type of device, for example: temperature_sensor, switch, humidity_sensor.

device_id a globally unique identifier for the device, for example: UUID or MAC address.

property the specific property of a device, for example: status, temperature, battery_status

The event payload is a JSON object, containing at least the following: value indicating the value of a property, for example: 25, on, off, 80 etc.

Clone this wiki locally