MQTT Auto Discovery and dzEvents
Posted: Monday 21 November 2022 22:38
Hello,
Until now I was using the domoticz-zigbee2mqtt-plugin. Now I am trying to replace it with MQTT Auto Discovery. It is fine, I am able to get all my devices working in Domoticz and I can manage all events I am intersested in.
However I have a problem with dzEvents :
Instructions like "domoticz.devices('xyz').switchOn()" , do not work.
I made it work by having the domoticz-zigbee2mqtt-plugin active and with all its devices Unused. Is strage, because xyz is a MQTT Auto Discovery device!!
Any advice? I was thinking on replacing those instruction with HTTP request to Domoticz API or generate MQTT messages...but, is there a simplier solution??? I am missing something
Thanks!!
Until now I was using the domoticz-zigbee2mqtt-plugin. Now I am trying to replace it with MQTT Auto Discovery. It is fine, I am able to get all my devices working in Domoticz and I can manage all events I am intersested in.

Instructions like "domoticz.devices('xyz').switchOn()" , do not work.

Any advice? I was thinking on replacing those instruction with HTTP request to Domoticz API or generate MQTT messages...but, is there a simplier solution??? I am missing something



Thanks!!