stas-demydiuk / domoticz-zigbee2mqtt-plugin

zigbee2mqtt plugin for domoticz
MIT License
136 stars 99 forks source link

Plugin don't work with new zigbee2mqtt #806

Closed saper-2 closed 2 years ago

saper-2 commented 2 years ago

Issue description

Zigbee2mqtt https://github.com/Koenkk/zigbee2mqtt made (so much) changes in API which make this plugin to hang/or throw error ( #803 ) .

So far I noticed those changes:

Additional information Zigbee2MQTT version: 1.25.1 commit: 3f6a137 Python version: 3.9.3 Domoticz version: 2022.1 (build 14341) , Build Hash: d479d6cb8 Compile Date: 2022-05-23 01:01:38 Plugin version: 3.1.0-beta (git clone commit 3ca1419 - 2022-04-30 17:33 CEST)

Logs Not needed

Related: #803 #805

saper-2 commented 2 years ago

805 solved - I'm just blind 😅

I have looked around the code a bit and found publishing to bridge/config/devices/get (file: plugin.py:189) won't do anything because the bridge/config is a "end node with value" (and RETAINED; don't know how to call it properly), so mqtt broker won't allow to publish anything "under this node".

For #803 I left idea how it can be fixed nicely...