MQTT templates used by domoticz for Hue and zwave

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
Gravityz
Posts: 652
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Netherlands
Contact:

MQTT templates used by domoticz for Hue and zwave

Post 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 358 times
User avatar
waltervl
Posts: 6689
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: MQTT templates used by domoticz for Hue and zwave

Post 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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Gravityz
Posts: 652
Joined: Wednesday 16 December 2015 19:13
Target OS: NAS (Synology & others)
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: MQTT templates used by domoticz for Hue and zwave

Post by Gravityz »

thanks @waltervl. i will look into it to see if i can make the light work
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest