Zigbee2mqtt broken after update to 2022.2

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
calania
Posts: 20
Joined: Friday 17 April 2020 21:02
Target OS: Windows
Domoticz version:
Contact:

Zigbee2mqtt broken after update to 2022.2

Post 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 
nigels0
Posts: 221
Joined: Thursday 23 January 2014 12:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Contact:

Re: Zigbee2mqtt broken after update to 2022.2

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

Re: Zigbee2mqtt broken after update to 2022.2

Post by waltervl »

Is mqtt still running?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
dajester
Posts: 1
Joined: Tuesday 19 January 2016 14:35
Target OS: -
Domoticz version:
Contact:

Re: Zigbee2mqtt broken after update to 2022.2

Post by dajester »

Did you find a solution. I have exactly the same issue.
Bertone
Posts: 20
Joined: Saturday 21 March 2020 15:25
Target OS: Windows
Domoticz version: 2020.2
Location: France
Contact:

Re: Zigbee2mqtt broken after update to 2022.2

Post by Bertone »

Hi, same issue for me.
Do you solved the problem ?
Attachments
log4.PNG
log4.PNG (42 KiB) Viewed 1406 times
jackbroer
Posts: 4
Joined: Sunday 11 April 2021 20:12
Target OS: Windows
Domoticz version:
Contact:

Re: Zigbee2mqtt broken after update to 2022_2

Post 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
Attachments
MQTT-errors.png
MQTT-errors.png (133.76 KiB) Viewed 1345 times
Bertone
Posts: 20
Joined: Saturday 21 March 2020 15:25
Target OS: Windows
Domoticz version: 2020.2
Location: France
Contact:

Re: Zigbee2mqtt broken after update to 2022.2

Post 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
jackbroer
Posts: 4
Joined: Sunday 11 April 2021 20:12
Target OS: Windows
Domoticz version:
Contact:

Re: Zigbee2mqtt broken after update to 2022_2

Post 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
jackbroer
Posts: 4
Joined: Sunday 11 April 2021 20:12
Target OS: Windows
Domoticz version:
Contact:

Re: Zigbee2mqtt broken after update to 2022.2

Post 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.
Post Reply

Who is online

Users browsing this forum: Google [Bot], solarboy and 1 guest