Page 1 of 1

zigbee2mqtt error

Posted: Friday 10 September 2021 20:55
by rizzah
Hi,

I keep seeing this in my logfile:

2021-09-10 20:47:43.305 Error: Zigbee: (Zigbee2MQTT) failed to load 'plugin.py', Python Path used was '/home/pi/dev-domoticz/plugins/zigbee2mqtt/:/usr/lib/python37.zip:/usr/lib/python3.7:/usr/lib/python3.7/lib-dynload:/usr/local/lib/python3.7/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.7/dist-packages'.
2021-09-10 20:47:43.305 Error: Zigbee: (Zigbee) Module Import failed, exception: 'ModuleNotFoundError'
2021-09-10 20:47:43.305 Error: Zigbee: (Zigbee) Module Import failed: ' Name: DomoticzEx'
2021-09-10 20:47:43.305 Error: Zigbee: (Zigbee) Error Line details not available.

I run Domoticz version 2021.1 and use zigbee2mqtt plugin version 3.1.0-beta. Also the "custom" menu bar at the top is gone (was only showing "loading").

Any help would be appriciated.

Re: zigbee2mqtt error

Posted: Friday 10 September 2021 21:21
by EddyG
DomoticzEx is used in the latest beta, so or upgrade to the latest beta, or go back to the previous version of the plugin.

Re: zigbee2mqtt error

Posted: Friday 10 September 2021 22:46
by solarboy
I am on a very old version of Domoticz and also have the "Loading" issue, however zigbee2mqtt is still 100x better than Zwave ever was/is. I use the zigbee2mqtt "frontend" to manage my devices.

Re: zigbee2mqtt error

Posted: Wednesday 15 September 2021 11:38
by rizzah
Thanks, uprgrading to the lastest beta worked. However, now i just get "loading..." when going to the zigbee2mqtt custom page in Domoticz.
Running Domoticz 2021.1 b13497 with zigbee2mqtt v3.1.0-beta.

Re: zigbee2mqtt error

Posted: Wednesday 15 September 2021 17:16
by solarboy

Re: zigbee2mqtt error

Posted: Monday 20 September 2021 17:46
by rizzah
@solarboy, yes i did ..

I just reinstalled my Pi4 with a Pi OS, installed domoticz cleanly, folowed the wiki on installing zigbee2mqtt page, but instead of doing a git clone of the zigbee2mqtt plugin (which installed the beta) i downloaded the 3.0.0 version and installed that. All good, no errors, however eventhough i get the custom menu, it still says "loading ... "

What did i do wrong or why doesn't it work?

Re: zigbee2mqtt error

Posted: Tuesday 21 September 2021 1:05
by solarboy
I wish I could help you more, I am still on Domoticz 4.10717 so I also get the "loading" stuff. Instead I have been managing successfully using the Zigbee2mqtt "frontend" which is independent of Domoticz. The plugin is obviously still working in the background as my devices are created and updated without issues.
https://www.zigbee2mqtt.io/information/frontend.html

Re: zigbee2mqtt error

Posted: Tuesday 21 September 2021 8:21
by rizzah
Great tip, i will use that, thanks a lot!

Re: zigbee2mqtt error

Posted: Thursday 23 September 2021 2:25
by solarboy
I wouldn't worry too much if you can get the fix I described above working, until the new "Mqtt Discovery" functionality becomes available which should negate the need for the Domoticz plug-in.