Page 1 of 1

MQTT - Description field

Posted: Sunday 06 November 2016 11:12
by SweetPants
Hi,
Is it possible to add the 'description' field of a device to the MQTT domoticz/out topic messages?
I like to use this field to transfer additional information to the subscribers (like ESP8266 device_id)
Regards, Harry

Re: MQTT - Description field

Posted: Sunday 06 November 2016 11:41
by mgugu
SweetPants wrote:Hi,
Is it possible to add the 'description' field of a device to the MQTT domoticz/out topic messages?
I like to use this field to transfer additional information to the subscribers (like ESP8266 device_id)
Regards, Harry
I personally do not use the Domoticz MQTT support. I prefer to use a LUA script in conjunction with an external Mosquitto client (via a command os.execute). This gives much more flexibility for topic name, filtering devices, data sent ...