Page 1 of 1

MQTT templates used by domoticz for Hue and zwave

Posted: Wednesday 09 November 2022 17:29
by Gravityz
i have a couple of devices which are not recognised correctly.


are there templates which domoticz uses to map MQTT commands to domoticz devices(switch, dimmer, relay, RGBWW lights etc)

if we have the templates then we know what domoticz wants to receive as MQTT command

EG. i know all the MQTT commands which are send out by a RGBWW light.
If i know how to map those to the domoticz standard it might be easy to do manual integration.

Also if we do it this way and have a working template per device then it is really easy for the domoticz team to integrate those new devices in domoticz instead of using all those seperate plugins.

if MQTT autodiscovery is the future then let's make that future happen
lsclamp-mqtt.JPG
lsclamp-mqtt.JPG (28.54 KiB) Viewed 360 times

Re: MQTT templates used by domoticz for Hue and zwave

Posted: Wednesday 09 November 2022 22:45
by waltervl
Domoticz should follow the home assistant auto discover protocol. It is described on the HA documentation. A link can be found in the Autodiscover section of our Domoticz MQTT wiki page.

There is now a python plugin MQTT mapper that handles any MQTT protocol so perhaps that could be an alternative solution for devices not following exactly the protocol rules or even completely different rules. viewtopic.php?t=39279

Re: MQTT templates used by domoticz for Hue and zwave

Posted: Wednesday 09 November 2022 22:56
by Gravityz
thanks @waltervl. i will look into it to see if i can make the light work