Page 1 of 1

Zigbee2mqtt broken after update to 2022.2

Posted: Monday 14 November 2022 15:37
by calania
Hello! I just updated to 2022.2 but sadly that seems to have broken zigbee for me. I'm using the following add-on and this is my log. I tried updating the plugin but that didn't help. Any ideas?

https://github.com/stas-demydiuk/domoti ... qtt-plugin

Code: Select all

 2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol violation, sending DisconnectedEvent to Connection.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.364 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: (ProcessInbound) MQTT protocol errored, discarding additional data.
2022-11-14 15:33:23.365 Error: Zigbee: Call to function 'onMessage' failed, exception details:
2022-11-14 15:33:23.368 Error: Zigbee: Traceback (most recent call last):
2022-11-14 15:33:23.368 Error: Zigbee: File "C:\Program Files (x86)\Domoticz\plugins\zigbee2mqtt\plugin.py", line 299, in onMessage
2022-11-14 15:33:23.368 Error: Zigbee: _plugin.onMessage(Connection, Data)
2022-11-14 15:33:23.368 Error: Zigbee: File "C:\Program Files (x86)\Domoticz\plugins\zigbee2mqtt\plugin.py", line 137, in onMessage
2022-11-14 15:33:23.368 Error: Zigbee: self.mqttClient.onMessage(Connection, Data)
2022-11-14 15:33:23.368 Error: Zigbee: File "C:\Program Files (x86)\Domoticz\plugins\zigbee2mqtt\mqtt.py", line 146, in onMessage
2022-11-14 15:33:23.368 Error: Zigbee: topic = Data['Topic'] if 'Topic' in Data else ''
2022-11-14 15:33:23.368 Error: Zigbee: TypeError: a bytes-like object is required, not 'str'
2022-11-14 15:33:23.368 Error: Zigbee: Disconnected from MQTT Server: 192.168.0.214:1883 

Re: Zigbee2mqtt broken after update to 2022.2

Posted: Thursday 17 November 2022 20:26
by nigels0
I use the same plug-in and the update was OK for me. Sorry I can’t help, but maybe have a look in the logs to see what is breaking

Re: Zigbee2mqtt broken after update to 2022.2

Posted: Thursday 17 November 2022 21:20
by waltervl
Is mqtt still running?

Re: Zigbee2mqtt broken after update to 2022.2

Posted: Saturday 17 December 2022 9:47
by dajester
Did you find a solution. I have exactly the same issue.

Re: Zigbee2mqtt broken after update to 2022.2

Posted: Tuesday 10 January 2023 20:45
by Bertone
Hi, same issue for me.
Do you solved the problem ?

Re: Zigbee2mqtt broken after update to 2022_2

Posted: Saturday 14 January 2023 22:23
by jackbroer
I have the same issue after upgrade from Domoticz 2022_1 to 2022_2 on Windows 10.

Domoticz keeps restarting after each 5-10 sec.

MQTT and Zigbee2MQTT are still working, so I can monitor and control the connected devices from the Zigbee2MQTT portal/dashboard.

Disabling the Zigbee2MQTT Hardware in Domoticz, stops the restarting, all other non Zigbee2MQTT devices work properly.
Enabling the Zigbee2MQTT Hardware in Domoticz, brings the restarting back. So for now I disable it, but obvious I will miss a number of devices.

Any idea how to solve this issue?

Regards, Jack

Re: Zigbee2mqtt broken after update to 2022.2

Posted: Tuesday 17 January 2023 17:29
by Bertone
@jackbroer, on 2022.1 version, you don't have this issue ?
Can you send me the zip installation file of this version ?
Thanks

Re: Zigbee2mqtt broken after update to 2022_2

Posted: Tuesday 17 January 2023 21:32
by jackbroer
Hi @Bertone,
No, on 2022_1 version it ran smooth without problems.
After upgrading to 2022_2 version the issue started right-away.
I've not been able to work with zigbee2MQTT in 2022_2.

I'm sorry but I'm not able to send attachments or url's. I used the stable windows version that is available here [url]https://releases.domoticz.com/releases/release/url] for installation of 2022_2.

Regards,
Jack

Re: Zigbee2mqtt broken after update to 2022.2

Posted: Sunday 22 January 2023 18:27
by jackbroer
For others that run into the same issue:
I solved it on my installation by changing in Domoticz Setup the Zigbee2MQTT hardware type from "Zigbee2MQTT" (Domoticz Zigbee2MQTT Python plugin) to "MQTT Auto Discover Client Gateway with LAN interface" (build-in feature).
I had to remove the old devices and to enable the newly create devices in Domoticz Setup.
Device names remain the same, but new devices get new device ids.
Regards, Jack.