MQTT subscriptions

Device specific topic that we want to subsrcibe to, to get the status of the device (this should be available in the manual of the device). Topic typically looks like: example/topic/light1

with topics, we can use wild charts (*,#) for example;

if we want to subscribe to all lights in a room we can use: example/*/light

if we want to subscribe to the first floor we can use: example/topic/#

Image 4272

QoS : depending on the quality of the communication we can switch between values;

Subsribe; once topic, QoS settings are set, we can enable subscribe, which will make client subscribe to the set topic.

Parser type: depending on the device, we set correct parser type so we get the correct information from the device.