Page 1 of 1

Zigbee2mqtt python script crashing

Posted: Tuesday 05 November 2019 13:50
by Nephylim
Hi there,
I am using Domoticz with a lot of Z-Wave and Wi-Fi Devices for a couple of years now.
Today I tried adding a Zigbee sniffer with zigbee2mqtt.

It all works fine in the beginning. The Devices are recognized and actions shown in zigbee2mqtt.
But as soon as I add the harware device in Domoticz Domoticz crashes. No actions are received.

The Startup looks like this.

2019-11-05 13:32:59.269 Status: Domoticz V4.10717 (c)2012-2019 GizMoCuz
2019-11-05 13:32:59.282 Status: Build Hash: b38b49e5, Date: 2019-05-09 13:04:08
2019-11-05 13:32:59.282 Status: System: Raspberry Pi
2019-11-05 13:32:59.282 Status: Startup Path: /home/pi/domoticz/
2019-11-05 13:33:02.338 Status: PluginSystem: Started, Python version '3.4.2'.
2019-11-05 13:33:02.442 Status: WebServer(HTTP) started on address: :: with port 8080
2019-11-05 13:33:02.502 Status: WebServer(SSL) started on address: :: with port 443
2019-11-05 13:33:02.539 Status: TCPServer: shared server started...
2019-11-05 13:33:02.540 Status: RxQueue: queue worker started...
2019-11-05 13:33:04.509 Status: Incoming connection from: 192.168.0.99
2019-11-05 13:33:04.541 Status: Kodi: Started
2019-11-05 13:33:04.541 Status: (Zigbee Stick) Started.
2019-11-05 13:33:04.541 Status: EventSystem: reset all events...
2019-11-05 13:33:04.541 Status: Darksky: Started...
2019-11-05 13:33:04.562 Status: EventSystem: reset all device statuses...
2019-11-05 13:33:04.792 Status: Python EventSystem: Initalizing event module.
2019-11-05 13:33:04.793 Status: EventSystem: Started
2019-11-05 13:33:04.793 Status: EventSystem: Queue thread started...
2019-11-05 13:33:04.809 Status: PluginSystem: Entering work loop.


Aftre acouple of minutes I get this error repeatedly

2019-11-05 13:34:26.808 Error: Zigbee Stick hardware (21) thread seems to have ended unexpectedly

from this moment on domoticz is not reachable anymore via the webui. I cannot even remove the hardware device without domoticz crashing.

The Configuration within domoticz looks like in the picture below. Can anyone Help me?

Re: Zigbee2mqtt python script crashing

Posted: Tuesday 05 November 2019 16:27
by hoeby
I have 2 settings different to yours. Don't know if that's the issue, but you could try.

Zigbee pairing: Disabled (i only set this to enable, when i want to add a device)
Debug: false

Re: Zigbee2mqtt python script crashing

Posted: Tuesday 05 November 2019 19:17
by Nephylim
I already tried changing these setting and left pairing on because I qant to add new devices. Sadly it doesn't make any difference.

Re: Zigbee2mqtt python script crashing

Posted: Tuesday 05 November 2019 22:44
by snuiter
I have the same problem but it is more general related to python also my 'Buienradar' plugin is crashing domoticz.

Re: Zigbee2mqtt python script crashing

Posted: Wednesday 06 November 2019 14:41
by Nephylim
yeah could be a python problem. The Darksky plugin also works fine until I install the zigbee2mqtt script and crashes after the installation.

Is there any other way to handle mqtt commands or should I just buy another zigbee device that works out of the box?

Re: Zigbee2mqtt python script crashing

Posted: Wednesday 13 November 2019 8:33
by Nephylim
the python Version currently instaled is 3.4.2 would it help to upgrade it?