zigbee2mqtt error

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

Moderator: leecollings

Post Reply
rizzah
Posts: 75
Joined: Monday 17 October 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Groningen
Contact:

zigbee2mqtt error

Post 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.
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: zigbee2mqtt error

Post 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.
solarboy
Posts: 345
Joined: Thursday 01 November 2018 19:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.6
Location: Portugal
Contact:

Re: zigbee2mqtt error

Post 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.
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
rizzah
Posts: 75
Joined: Monday 17 October 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Groningen
Contact:

Re: zigbee2mqtt error

Post 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.
solarboy
Posts: 345
Joined: Thursday 01 November 2018 19:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.6
Location: Portugal
Contact:

Re: zigbee2mqtt error

Post by solarboy »

Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
rizzah
Posts: 75
Joined: Monday 17 October 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Groningen
Contact:

Re: zigbee2mqtt error

Post 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?
solarboy
Posts: 345
Joined: Thursday 01 November 2018 19:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.6
Location: Portugal
Contact:

Re: zigbee2mqtt error

Post 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
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
rizzah
Posts: 75
Joined: Monday 17 October 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Groningen
Contact:

Re: zigbee2mqtt error

Post by rizzah »

Great tip, i will use that, thanks a lot!
solarboy
Posts: 345
Joined: Thursday 01 November 2018 19:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.6
Location: Portugal
Contact:

Re: zigbee2mqtt error

Post 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.
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest