Zigbee2mqtt python script crashing

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

Moderator: leecollings

Post Reply
Nephylim
Posts: 23
Joined: Thursday 08 December 2016 11:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Zigbee2mqtt python script crashing

Post 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?
Attachments
1.JPG
1.JPG (72.52 KiB) Viewed 796 times
hoeby
Posts: 531
Joined: Saturday 02 June 2018 11:05
Target OS: Raspberry Pi / ODroid
Domoticz version: V2022.1
Location: Echt, Netherlands
Contact:

Re: Zigbee2mqtt python script crashing

Post 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
Thin-client --> Docker Domoticz main environment
Pi3A+ --> Google home (GAssistPi)
Pi3B+ --> Docker (P1monitor, Domoticz test environment, Ubiquity controller)
Nephylim
Posts: 23
Joined: Thursday 08 December 2016 11:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee2mqtt python script crashing

Post 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.
snuiter
Posts: 67
Joined: Saturday 17 June 2017 12:30
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigbee2mqtt python script crashing

Post by snuiter »

I have the same problem but it is more general related to python also my 'Buienradar' plugin is crashing domoticz.
Nephylim
Posts: 23
Joined: Thursday 08 December 2016 11:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee2mqtt python script crashing

Post 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?
Nephylim
Posts: 23
Joined: Thursday 08 December 2016 11:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee2mqtt python script crashing

Post by Nephylim »

the python Version currently instaled is 3.4.2 would it help to upgrade it?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest