Description topics
Payload - In the context of communication protocols distinguishes metadata from actual data.
Payload returned on a discovery topic is a config message, describing the entities of devices.
State topic
In state topic all entities will give your system essential information on:
Type of information | Example |
---|---|
Unique ID of entity including device ID and type of entity. |
|
Device Information including device ID, friendly name, manufacturer, LMS model, gateway through which it communicates. |
|
State topics will include different types of information depending on what type of device entity you are listening to.
Type of device | Type of information | Example |
---|---|---|
| Device Location according to Glamox Connect Floorplan. |
|
| Device Class informs about the basic functionality of sensor |
|
| Unite of measurement used by the sensor |
|
| Value template is also included for the integrating system to know what the value field of this sensor is given as. In the example below the state will be reported as |
|
Command topic
Command topic only comes as a response to your request if it is possible to control the device, so in this instance luminaires - light type of device
Type of information | Example |
---|---|
Brightness scale is the max value for brightness. |
|
Color mode informs the system if the luminaire controls colour or brightness |
|
Brightness support |
|
Supported color types:
|
|
Effect informs if there are effects you can activate on a light |
|
Effect list will contain a list of effects the light can perform |
|