ZigbeeForDomoticz installation errors

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

Moderator: leecollings

Post Reply
peterbos
Posts: 93
Joined: Saturday 07 November 2020 21:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

ZigbeeForDomoticz installation errors

Post by peterbos »

Hi,

I'm trying to install a Sonoff ZBDongle-E (Zigbee 3.0 USB Dongle Plus) with ZigbeeForDomoticz. When I start Domoticz the hardware does not start. In the error log I see the following messages (I stripped the date and time for readability):

Code: Select all

Error: ZigbeeForDomoticz: An unexpected error occurred while checking package charset-normalizer - charset-normalizer==2.0.11 - charset-normalizer
Error: ZigbeeForDomoticz: Call to function 'onStart' failed, exception details:
Error: ZigbeeForDomoticz: Traceback (most recent call last):
Error: ZigbeeForDomoticz: File "/home/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1577, in onStart
Error: ZigbeeForDomoticz: _plugin.onStart()
Error: ZigbeeForDomoticz: File "/home/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 414, in onStart
Error: ZigbeeForDomoticz: self.onStop()
Error: ZigbeeForDomoticz: File "/home/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 617, in onStop
Error: ZigbeeForDomoticz: matomo_plugin_shutdown(self)
Error: ZigbeeForDomoticz: File "/home/domoticz/plugins/Domoticz-Zigbee/Modules/matomo_request.py", line 127, in matomo_plugin_shutdown
Error: ZigbeeForDomoticz: send_matomo_request( self, action_name="Plugin Action", event_category="Plugin", event_action="Shutdown", event_name="Plugin Shutdown" )
Error: ZigbeeForDomoticz: File "/home/domoticz/plugins/Domoticz-Zigbee/Modules/matomo_request.py", line 159, in send_matomo_request
Error: ZigbeeForDomoticz: self.log.logging( "Matomo", "Debug", f"send_matomo_request - Clien_id {client_id}")
Error: ZigbeeForDomoticz: AttributeError: 'NoneType' object has no attribute 'logging' 
I installed the charset-normalizer which is now version 2.0.12 as stated on https://zigbeefordomoticz.github.io/wik ... m_FAQ.html. What can be wrong here? Does the charset-normalizer error maybe also be the reason for the other errors? And if not what causes these errors?

Peter
pipiche
Posts: 1995
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: ZigbeeForDomoticz installation errors

Post by pipiche »

did you install the necessary python3 modules ?

from the plugin directory you have to

Code: Select all

sudo python3 -m pip install -r requirements.txt --upgrade
let us know what is the response of this command
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
peterbos
Posts: 93
Joined: Saturday 07 November 2020 21:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: ZigbeeForDomoticz installation errors

Post by peterbos »

I fixed it with a new install of Raspberry Pi OS. I had Bullseye Lite, I now use the full Bullseye version.

Peter
peterbos
Posts: 93
Joined: Saturday 07 November 2020 21:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: ZigbeeForDomoticz installation errors

Post by peterbos »

Unfortunately I have to reopen this thread. The solution was not in using the full Bullseye OS. Domoticz hanged about half an hour after starting up. I restarted again.

OS: Raspberry Pi OS (64-bits legacy) Bullseye (not the full version, which installs a lot of stuff I don't need like OpenOffice, but the normal version)
Coordinator: Sonoff ZBDongle-E (I also tried a SMLight SLZB-07 MG24 with no success also)

I did not install any other plugins except the Python Plugin Manager. I used PPM to install ZigbeeForDomoticz. That went better than last Sunday and the days after when I tried to install manually. But it still doesn't work. The hardware starts, the two devices Notifications and Status appear in Devices. Notifications is empty, Status stays on Startup and does not change. The webinterface at port 9440 does not work either.

The statuslog of Domoticz shows:

Code: Select all

 2025-01-17 14:12:12.722 Status: ZigbeeForDomoticz: Started.
2025-01-17 14:12:12.722 Status: ZigbeeForDomoticz: Entering work loop.
2025-01-17 14:12:14.224 Status: ZigbeeForDomoticz: Initialized version 6.3, author 'pipiche38'
2025-01-17 14:12:14.226 Status: ZigbeeForDomoticz: Zigbee for Domoticz plugin started!
2025-01-17 14:12:14.226 Status: ZigbeeForDomoticz: Python3 requires 3.8 or above and you are running 3.9
2025-01-17 14:12:14.226 Status: ZigbeeForDomoticz: Checking Python modules /home/peter/domoticz/plugins/Zigate/requirements.txt
2025-01-17 14:12:14.816 Status: ZigbeeForDomoticz: Checking Python modules /home/peter/domoticz/plugins/Zigate/requirements.txt
2025-01-17 14:12:14.890 Status: ZigbeeForDomoticz: filename set to /home/peter/domoticz/plugins/Zigate/Conf/PluginConf-03.json
2025-01-17 14:12:14.890 Status: ZigbeeForDomoticz: pluginHome set to /home/peter/domoticz/plugins/Zigate/
2025-01-17 14:12:14.890 Status: ZigbeeForDomoticz: homedirectory set to /home/peter/domoticz/plugins/Zigate/
2025-01-17 14:12:14.890 Status: ZigbeeForDomoticz: pluginData set to /home/peter/domoticz/plugins/Zigate/Data/
2025-01-17 14:12:14.890 Status: ZigbeeForDomoticz: pluginConfig set to /home/peter/domoticz/plugins/Zigate/Conf/
2025-01-17 14:12:14.890 Status: ZigbeeForDomoticz: pluginOTAFirmware set to /home/peter/domoticz/plugins/Zigate/OTAFirmware/
2025-01-17 14:12:14.890 Status: ZigbeeForDomoticz: pluginReports set to /home/peter/domoticz/plugins/Zigate/Reports/
2025-01-17 14:12:14.890 Status: ZigbeeForDomoticz: pluginWWW set to /home/peter/domoticz/plugins/Zigate/www/
2025-01-17 14:12:14.890 Status: ZigbeeForDomoticz: pluginLogs set to /home/peter/domoticz/plugins/Zigate/Logs/
2025-01-17 14:12:14.893 Status: ZigbeeForDomoticz: Please watch plugin log into /home/peter/domoticz/plugins/Zigate/Logs//PluginZigbee_03.log
2025-01-17 14:12:14.902 Status: ZigbeeForDomoticz: Zigbee for Domoticz (z4d) plugin stable6-6.3.015 started
2025-01-17 14:12:14.919 Status: ZigbeeForDomoticz: DeviceConf loaded - 17 confs loaded
2025-01-17 14:12:15.257 Status: ZigbeeForDomoticz: DeviceConf loaded - 439 confs loaded
2025-01-17 14:12:15.257 Status: ZigbeeForDomoticz: load ListOfDevice
2025-01-17 14:12:15.258 Status: ZigbeeForDomoticz: 0 Entries loaded from /home/peter/domoticz/plugins/Zigate/Data/DeviceList-3.txt
2025-01-17 14:12:15.261 Status: ZigbeeForDomoticz: Transport mode: ZigpyEZSP
2025-01-17 14:15:53.074 Status: ZigbeeForDomoticz: Plugin Restart command : http://127.0.0.1:8080/json.htm?type=command&param=updatehardware&htype=94&idx=3&name=ZigbeeForDomoticz&address=0.0.0.0&port=9999&serialport=%2Fdev%2Fserial%2Fby-id%2Fusb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_22cb5341361fef11b64c57d0639e525b-if00-port0&Mode1=ZigpyEZSP&Mode2=USB&Mode3=False&Mode4=9440&Mode5=http%3A%2F%2F127.0.0.1%3A8080&Mode6=2&extra=Zigate&enabled=true&datatimeout=0&loglevel=7
2025-01-17 14:15:53.145 Status: ZigbeeForDomoticz: Stop directive received.
2025-01-17 14:15:53.277 Status: ZigbeeForDomoticz: Exiting work loop.
2025-01-17 14:15:53.345 Status: ZigbeeForDomoticz: Stopping threads.
2025-01-17 14:15:53.345 Status: ZigbeeForDomoticz: Stopped.
2025-01-17 14:15:53.345 Status: ZigbeeForDomoticz: Entering work loop.
2025-01-17 14:15:53.345 Status: ZigbeeForDomoticz: Started.
2025-01-17 14:15:54.285 Status: ZigbeeForDomoticz: Initialized version 6.3, author 'pipiche38'
2025-01-17 14:15:54.287 Status: ZigbeeForDomoticz: Zigbee for Domoticz plugin started!
2025-01-17 14:15:54.287 Status: ZigbeeForDomoticz: Python3 requires 3.8 or above and you are running 3.9
2025-01-17 14:15:54.287 Status: ZigbeeForDomoticz: Checking Python modules /home/peter/domoticz/plugins/Zigate/requirements.txt
2025-01-17 14:15:54.857 Status: ZigbeeForDomoticz: Checking Python modules /home/peter/domoticz/plugins/Zigate/requirements.txt
2025-01-17 14:15:54.930 Status: ZigbeeForDomoticz: filename set to /home/peter/domoticz/plugins/Zigate/Conf/PluginConf-03.json
2025-01-17 14:15:54.930 Status: ZigbeeForDomoticz: pluginHome set to /home/peter/domoticz/plugins/Zigate/
2025-01-17 14:15:54.930 Status: ZigbeeForDomoticz: homedirectory set to /home/peter/domoticz/plugins/Zigate/
2025-01-17 14:15:54.930 Status: ZigbeeForDomoticz: pluginData set to /home/peter/domoticz/plugins/Zigate/Data/
2025-01-17 14:15:54.930 Status: ZigbeeForDomoticz: pluginConfig set to /home/peter/domoticz/plugins/Zigate/Conf/
2025-01-17 14:15:54.930 Status: ZigbeeForDomoticz: pluginOTAFirmware set to /home/peter/domoticz/plugins/Zigate/OTAFirmware/
2025-01-17 14:15:54.930 Status: ZigbeeForDomoticz: pluginReports set to /home/peter/domoticz/plugins/Zigate/Reports/
2025-01-17 14:15:54.930 Status: ZigbeeForDomoticz: pluginWWW set to /home/peter/domoticz/plugins/Zigate/www/
2025-01-17 14:15:54.930 Status: ZigbeeForDomoticz: pluginLogs set to /home/peter/domoticz/plugins/Zigate/Logs/
2025-01-17 14:15:54.933 Status: ZigbeeForDomoticz: Please watch plugin log into /home/peter/domoticz/plugins/Zigate/Logs//PluginZigbee_03.log
2025-01-17 14:15:54.940 Status: ZigbeeForDomoticz: Zigbee for Domoticz (z4d) plugin stable6-6.3.015 started
2025-01-17 14:15:54.956 Status: ZigbeeForDomoticz: DeviceConf loaded - 17 confs loaded
2025-01-17 14:15:55.107 Status: ZigbeeForDomoticz: DeviceConf loaded - 439 confs loaded
2025-01-17 14:15:55.108 Status: ZigbeeForDomoticz: load ListOfDevice
2025-01-17 14:15:55.108 Status: ZigbeeForDomoticz: 0 Entries loaded from /home/peter/domoticz/plugins/Zigate/Data/DeviceList-3.txt
2025-01-17 14:15:55.112 Status: ZigbeeForDomoticz: Transport mode: ZigpyEZSP 
The errorlog shows:

Code: Select all

 2025-01-17 14:12:15.262 Error: ZigbeeForDomoticz: Call to function 'onStart' failed, exception details:
2025-01-17 14:12:15.264 Error: ZigbeeForDomoticz: Traceback (most recent call last):
2025-01-17 14:12:15.264 Error: ZigbeeForDomoticz: File "/home/peter/domoticz/plugins/Zigate/plugin.py", line 1535, in onStart
2025-01-17 14:12:15.264 Error: ZigbeeForDomoticz: _plugin.onStart()
2025-01-17 14:12:15.264 Error: ZigbeeForDomoticz: File "/home/peter/domoticz/plugins/Zigate/plugin.py", line 605, in onStart
2025-01-17 14:12:15.264 Error: ZigbeeForDomoticz: import bellows
2025-01-17 14:12:15.264 Error: ZigbeeForDomoticz: ModuleNotFoundError: No module named 'bellows'
2025-01-17 14:15:02.092 Error: ZigbeeForDomoticz: [ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2025-01-17 14:15:12.066 Error: ZigbeeForDomoticz: [ 80] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2025-01-17 14:15:22.089 Error: ZigbeeForDomoticz: [ 90] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2025-01-17 14:15:32.063 Error: ZigbeeForDomoticz: [100] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2025-01-17 14:15:42.089 Error: ZigbeeForDomoticz: [110] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2025-01-17 14:15:52.065 Error: ZigbeeForDomoticz: [120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
What is going wrong here?

Peter
pipiche
Posts: 1995
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: ZigbeeForDomoticz installation errors

Post by pipiche »

make sure to install the required python3 modules

do the following from the Domoticz-Zigbee plugin home directory

Code: Select all

sudo python3.9 -m pip install -r requirements.txt --upgrade
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
peterbos
Posts: 93
Joined: Saturday 07 November 2020 21:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: ZigbeeForDomoticz installation errors

Post by peterbos »

It still doesn't work. I don't have the Domoticz-Zigbee directory. I suppose PPM made a directory Zigate but that's protected. It's owned by root. I changed the rights with "sudo chown -R peter:peter ." and then executed the command you gave me. After a restart of the Domoticz service I still get error messages.

Status-log:

Code: Select all

2025-01-17 19:31:50.105 Status: ZigbeeForDomoticz: Plugin Restart command : http://127.0.0.1:8080/json.htm?type=command&param=updatehardware&htype=94&idx=3&name=ZigbeeForDomoticz&address=0.0.0.0&port=9999&serialport=%2Fdev%2Fserial%2Fby-id%2Fusb-Itead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_V2_22cb5341361fef11b64c57d0639e525b-if00-port0&Mode1=ZigpyEZSP&Mode2=USB&Mode3=False&Mode4=9440&Mode5=http%3A%2F%2F127.0.0.1%3A8080&Mode6=2&extra=Zigate&enabled=true&datatimeout=0&loglevel=7
2025-01-17 19:31:50.153 Status: ZigbeeForDomoticz: Stop directive received.
2025-01-17 19:31:50.287 Status: ZigbeeForDomoticz: Exiting work loop.
2025-01-17 19:31:50.353 Status: ZigbeeForDomoticz: Stopping threads.
2025-01-17 19:31:50.353 Status: ZigbeeForDomoticz: Stopped.
2025-01-17 19:31:50.353 Status: ZigbeeForDomoticz: Entering work loop.
2025-01-17 19:31:50.353 Status: ZigbeeForDomoticz: Started.
2025-01-17 19:31:51.299 Status: ZigbeeForDomoticz: Initialized version 6.3, author 'pipiche38'
2025-01-17 19:31:51.300 Status: ZigbeeForDomoticz: Zigbee for Domoticz plugin started!
2025-01-17 19:31:51.301 Status: ZigbeeForDomoticz: Python3 requires 3.8 or above and you are running 3.9
2025-01-17 19:31:51.301 Status: ZigbeeForDomoticz: Checking Python modules /home/peter/domoticz/plugins/Zigate/requirements.txt
2025-01-17 19:31:51.941 Status: ZigbeeForDomoticz: Checking Python modules /home/peter/domoticz/plugins/Zigate/requirements.txt
2025-01-17 19:31:52.016 Status: ZigbeeForDomoticz: filename set to /home/peter/domoticz/plugins/Zigate/Conf/PluginConf-03.json
2025-01-17 19:31:52.016 Status: ZigbeeForDomoticz: pluginHome set to /home/peter/domoticz/plugins/Zigate/
2025-01-17 19:31:52.016 Status: ZigbeeForDomoticz: homedirectory set to /home/peter/domoticz/plugins/Zigate/
2025-01-17 19:31:52.016 Status: ZigbeeForDomoticz: pluginData set to /home/peter/domoticz/plugins/Zigate/Data/
2025-01-17 19:31:52.016 Status: ZigbeeForDomoticz: pluginConfig set to /home/peter/domoticz/plugins/Zigate/Conf/
2025-01-17 19:31:52.016 Status: ZigbeeForDomoticz: pluginOTAFirmware set to /home/peter/domoticz/plugins/Zigate/OTAFirmware/
2025-01-17 19:31:52.017 Status: ZigbeeForDomoticz: pluginReports set to /home/peter/domoticz/plugins/Zigate/Reports/
2025-01-17 19:31:52.017 Status: ZigbeeForDomoticz: pluginWWW set to /home/peter/domoticz/plugins/Zigate/www/
2025-01-17 19:31:52.017 Status: ZigbeeForDomoticz: pluginLogs set to /home/peter/domoticz/plugins/Zigate/Logs/
2025-01-17 19:31:52.019 Status: ZigbeeForDomoticz: Please watch plugin log into /home/peter/domoticz/plugins/Zigate/Logs//PluginZigbee_03.log
2025-01-17 19:31:52.026 Status: ZigbeeForDomoticz: Zigbee for Domoticz (z4d) plugin stable6-6.3.015 started
2025-01-17 19:31:52.041 Status: ZigbeeForDomoticz: DeviceConf loaded - 17 confs loaded
2025-01-17 19:31:52.193 Status: ZigbeeForDomoticz: DeviceConf loaded - 439 confs loaded
2025-01-17 19:31:52.193 Status: ZigbeeForDomoticz: load ListOfDevice
2025-01-17 19:31:52.194 Status: ZigbeeForDomoticz: 0 Entries loaded from /home/peter/domoticz/plugins/Zigate/Data/DeviceList-3.txt
2025-01-17 19:31:52.197 Status: ZigbeeForDomoticz: Transport mode: ZigpyEZSP
Error-log:

Code: Select all

 2025-01-17 19:29:50.917 Error: ZigbeeForDomoticz: Call to function 'onStart' failed, exception details:
2025-01-17 19:29:50.918 Error: ZigbeeForDomoticz: Traceback (most recent call last):
2025-01-17 19:29:50.918 Error: ZigbeeForDomoticz: File "/home/peter/domoticz/plugins/Zigate/plugin.py", line 1535, in onStart
2025-01-17 19:29:50.918 Error: ZigbeeForDomoticz: _plugin.onStart()
2025-01-17 19:29:50.918 Error: ZigbeeForDomoticz: File "/home/peter/domoticz/plugins/Zigate/plugin.py", line 605, in onStart
2025-01-17 19:29:50.918 Error: ZigbeeForDomoticz: import bellows
2025-01-17 19:29:50.918 Error: ZigbeeForDomoticz: ModuleNotFoundError: No module named 'bellows'
2025-01-17 19:30:59.081 Error: ZigbeeForDomoticz: [ 70] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2025-01-17 19:31:09.054 Error: ZigbeeForDomoticz: [ 80] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2025-01-17 19:31:19.077 Error: ZigbeeForDomoticz: [ 90] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2025-01-17 19:31:29.099 Error: ZigbeeForDomoticz: [100] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2025-01-17 19:31:39.074 Error: ZigbeeForDomoticz: [110] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
2025-01-17 19:31:49.096 Error: ZigbeeForDomoticz: [120] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
Not much changed...

Peter
User avatar
waltervl
Posts: 5374
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: ZigbeeForDomoticz installation errors

Post by waltervl »

Version 6.3? I run version 7.1.018 so a newer version.
Perhaps remove the Zigate plugin and folder and use the manual installation method. See the Z4D wiki https://zigbeefordomoticz.github.io/wik ... g-on-linux
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
peterbos
Posts: 93
Joined: Saturday 07 November 2020 21:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: ZigbeeForDomoticz installation errors

Post by peterbos »

Version 6.3 is installed by PPM apparently. I started allover (again...). Installed the full version of Raspberry Pi OS Bullseye 64 bits. User is pi. The Zigbee coordinator is the Sonoff ZBDongle-E. I installed Domoticz and updated it to the last stable version. I did not install any other plugins.

Then I started with the manual installation of ZigbeeForDomoticz.

The first error messages come after the command 'sudo pip3 install -r requirements.txt':

Code: Select all

Attempting uninstall: typing-extensions
Found existing installation: typing-extensions 3.7.4.3
Not uninstalling typing-extensions at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'typing-extensions'. No files were found to uninstall.
Attempting uninstall: pyserial
Found existing installation: pyserial 3.5b0
Not uninstalling pyserial at /usr/lib/python3/dist-packages, outside environment /usr
Can't uninstall 'pyserial'. No files were found to uninstall.
It says typing-extensions and pyserial should be uninstalled. Or is uninstalling part of installing another version of the software? I have no idea how to solve this. I'm definitely no expert in Raspberry Pi OS.

I restarted Domoticz after completing all commands. The logfile says:

Code: Select all

2025-01-18 23:21:49.127 Status: Zigbee4Domoticz: Entering work loop.
2025-01-18 23:21:49.127 Status: Zigbee4Domoticz: Started.
2025-01-18 23:21:50.243 Status: Zigbee4Domoticz: Initialized version 7.1, author 'pipiche38'
2025-01-18 23:21:50.244 Status: Zigbee4Domoticz: Welcome to Zigbee for Domoticz (Z4D) plugin.
2025-01-18 23:21:50.244 Status: Zigbee4Domoticz: PYTHONPATH is not set
2025-01-18 23:21:50.244 Status: Zigbee4Domoticz: Z4D requires python3.9 or above and you are running 3.9
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: filename set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf/PluginConf-02.json
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: pluginHome set to /home/pi/domoticz/plugins/Domoticz-Zigbee
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: homedirectory set to /home/pi/domoticz/plugins/Domoticz-Zigbee
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: pluginData set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Data
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: pluginConfig set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Conf
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: pluginOTAFirmware set to /home/pi/domoticz/plugins/Domoticz-Zigbee/OTAFirmware
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: pluginReports set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Reports
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: pluginWWW set to /home/pi/domoticz/plugins/Domoticz-Zigbee/www
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: pluginLogs set to /home/pi/domoticz/plugins/Domoticz-Zigbee/Logs
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: SSLCertificate set to /home/pi/domoticz/plugins/Domoticz-Zigbee/certs/server.crt
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: SSLPrivateKey set to /home/pi/domoticz/plugins/Domoticz-Zigbee/certs/server.key
2025-01-18 23:21:50.250 Status: Zigbee4Domoticz: expJsonDatabase set to 0
2025-01-18 23:21:50.353 Status: Zigbee4Domoticz: Checking Python modules /home/pi/domoticz/plugins/Domoticz-Zigbee/constraints.txt
2025-01-18 23:21:50.359 Status: Zigbee4Domoticz: - zigpy==0.73.1 version required 0.73.1 installed 0.73.1
2025-01-18 23:21:50.367 Status: Zigbee4Domoticz: - zigpy_znp==0.13.1 version required 0.13.1 installed 0.13.1
2025-01-18 23:21:50.371 Status: Zigbee4Domoticz: - zigpy_deconz==0.24.1 version required 0.24.1 installed 0.24.1
2025-01-18 23:21:50.375 Status: Zigbee4Domoticz: - bellows==0.42.5 version required 0.42.5 installed 0.42.5
2025-01-18 23:21:50.380 Status: Zigbee4Domoticz: - dnspython==2.6.1 version required 2.6.1 installed 2.6.1
2025-01-18 23:21:50.384 Status: Zigbee4Domoticz: - pyserial>=3.5 version required 3.5 installed 3.5 
2025-01-18 23:21:50.387 Error: Zigbee4Domoticz: An unexpected error occurred while checking package charset-normalizer - charset-normalizer==2.0.11 - charset-normalizer
2025-01-18 23:21:50.388 Error: Zigbee4Domoticz: Call to function 'onStart' failed, exception details:
2025-01-18 23:21:50.391 Error: Zigbee4Domoticz: Traceback (most recent call last):
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1577, in onStart
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: _plugin.onStart()
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 414, in onStart
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: self.onStop()
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 617, in onStop
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: matomo_plugin_shutdown(self)
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/matomo_request.py", line 127, in matomo_plugin_shutdown
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: send_matomo_request( self, action_name="Plugin Action", event_category="Plugin", event_action="Shutdown", event_name="Plugin Shutdown" )
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/matomo_request.py", line 159, in send_matomo_request
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: self.log.logging( "Matomo", "Debug", f"send_matomo_request - Clien_id {client_id}")
2025-01-18 23:21:50.392 Error: Zigbee4Domoticz: AttributeError: 'NoneType' object has no attribute 'logging' 
I checked for charset-normalizer with 'pip show charset-normalizer'. It indeed did not show up. I installed charset-normalizer version 2.0.11. Still not working. Then I installed version 2.0.12 (that's mentioned on https://zigbeefordomoticz.github.io/wik ... m_FAQ.html. Did not work either so I set back to version 2.0.11. I used 'pip install --force-reinstall --upgrade charset-normalizer==2.0.12' (or 2.0.11). If I check again, it's shown now but in the message is a line 'required-by' that's empty. Shouldn't the plugin be mentioned here? And if so, how do I do that?

I also have no idea how to solve all the other error messages.
pipiche
Posts: 1995
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: ZigbeeForDomoticz installation errors

Post by pipiche »

This is very strange, can you try the following in order to isolate python environment for Domoticz against the OS side

https://github.com/zigbeefordomoticz/wi ... tualEnv.md
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
peterbos
Posts: 93
Joined: Saturday 07 November 2020 21:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: ZigbeeForDomoticz installation errors

Post by peterbos »

Hi Pipiche,

I did not try yet. I can't recall how but yesterday Z4D surprisingly started to work. I only have one error message, that appears about every three minutes. In the Domoticz error log it says:

Code: Select all

2025-01-20 20:59:18.904 Error: ZigbeeForDomoticz: ReadCluster - Warning - unknow 1154/01 Cluster: 0000 Attribute: ffe3 Status: 00 DataType: 42 DataSize: 0020 Data: 73646b3a332e302e31313b6366673a302e302e303b6b65723a302e302e31353b
At the same moments there's also an error message in the ZigbeeForDomoticz log. That is referring to my Innr BS 240 Plug.

Since it seems that the error temporarily stalls Domoticz I want to solve it but I don't know how.

Peter
pipiche
Posts: 1995
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: ZigbeeForDomoticz installation errors

Post by pipiche »

peterbos wrote: Monday 20 January 2025 21:24 Hi Pipiche,

I did not try yet. I can't recall how but yesterday Z4D surprisingly started to work. I only have one error message, that appears about every three minutes. In the Domoticz error log it says:

Code: Select all

2025-01-20 20:59:18.904 Error: ZigbeeForDomoticz: ReadCluster - Warning - unknow 1154/01 Cluster: 0000 Attribute: ffe3 Status: 00 DataType: 42 DataSize: 0020 Data: 73646b3a332e302e31313b6366673a302e302e303b6b65723a302e302e31353b
At the same moments there's also an error message in the ZigbeeForDomoticz log. That is referring to my Innr BS 240 Plug.

Since it seems that the error temporarily stalls Domoticz I want to solve it but I don't know how.

Peter
As mentioned this is not an error, but more a WARNING, where the plugin received a message from device 0x1154 that it doesn't know how to interprate.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests