I have a deCONZ conbee II stick on my domoticz install. After installing the ZigbeeForDomoticz plugin oi'm starting to get error. Firstly. Running on Bookworm I tried to install with sudo pip3 install -r requirements.txt -–break-system-packages, resulting in
Usage:
pip3 install [options] <requirement specifier> [package-index-options] ...
pip3 install [options] -r <requirements file> [package-index-options] ...
pip3 install [options] [-e] <vcs project url> ...
pip3 install [options] [-e] <local project path> ...
pip3 install [options] <archive url/path> ...
no such option: -–
So, just like some other user on the forum, I tried to use it without the --break-system-packages and then it would go on with installation. After restarting domoticz there is a new option under Custom, but that only gives an empty page. The error log starts to fill with the below
- Spoiler: show
Code: Select all
2023-12-15 17:45:49.977 Error: Zigbee4Domo: Call to function 'onStart' failed, exception details:
2023-12-15 17:45:49.996 Error: Zigbee4Domo: Traceback (most recent call last):
2023-12-15 17:45:49.996 Error: Zigbee4Domo: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1581, in onStart
2023-12-15 17:45:49.996 Error: Zigbee4Domo: _plugin.onStart()
2023-12-15 17:45:49.996 Error: Zigbee4Domo: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 618, in onStart
2023-12-15 17:45:49.996 Error: Zigbee4Domo: from zigpy.config import (CONF_DEVICE, CONF_DEVICE_PATH,
2023-12-15 17:45:49.996 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/zigpy/config/__init__.py", line 34, in <module>
2023-12-15 17:45:49.996 Error: Zigbee4Domo: from zigpy.config.validators import (
2023-12-15 17:45:49.996 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/zigpy/config/validators.py", line 9, in <module>
2023-12-15 17:45:49.996 Error: Zigbee4Domo: import zigpy.zdo.types as zdo_t
2023-12-15 17:45:49.996 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/zigpy/zdo/__init__.py", line 10, in <module>
2023-12-15 17:45:49.996 Error: Zigbee4Domo: import zigpy.util
2023-12-15 17:45:49.996 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/zigpy/util.py", line 15, in <module>
2023-12-15 17:45:49.996 Error: Zigbee4Domo: from cryptography.hazmat.primitives.ciphers import Cipher
2023-12-15 17:45:49.996 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/cryptography/hazmat/primitives/ciphers/__init__.py", line 11, in <module>
2023-12-15 17:45:49.996 Error: Zigbee4Domo: from cryptography.hazmat.primitives.ciphers.base import (
2023-12-15 17:45:49.996 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/cryptography/hazmat/primitives/ciphers/base.py", line 10, in <module>
2023-12-15 17:45:49.996 Error: Zigbee4Domo: from cryptography.exceptions import (
2023-12-15 17:45:49.996 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/cryptography/exceptions.py", line 9, in <module>
2023-12-15 17:45:49.996 Error: Zigbee4Domo: from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
2023-12-15 17:45:49.996 Error: Zigbee4Domo: ImportError: PyO3 modules may only be initialized once per interpreter process
2023-12-15 17:46:13.430 Error: Zigbee4Domo: Call to function 'onStart' failed, exception details:
2023-12-15 17:46:13.444 Error: Zigbee4Domo: Traceback (most recent call last):
2023-12-15 17:46:13.444 Error: Zigbee4Domo: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1581, in onStart
2023-12-15 17:46:13.444 Error: Zigbee4Domo: _plugin.onStart()
2023-12-15 17:46:13.444 Error: Zigbee4Domo: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 618, in onStart
2023-12-15 17:46:13.444 Error: Zigbee4Domo: from zigpy.config import (CONF_DEVICE, CONF_DEVICE_PATH,
2023-12-15 17:46:13.444 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/zigpy/config/__init__.py", line 34, in <module>
2023-12-15 17:46:13.444 Error: Zigbee4Domo: from zigpy.config.validators import (
2023-12-15 17:46:13.444 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/zigpy/config/validators.py", line 9, in <module>
2023-12-15 17:46:13.444 Error: Zigbee4Domo: import zigpy.zdo.types as zdo_t
2023-12-15 17:46:13.444 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/zigpy/zdo/__init__.py", line 10, in <module>
2023-12-15 17:46:13.444 Error: Zigbee4Domo: import zigpy.util
2023-12-15 17:46:13.444 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/zigpy/util.py", line 15, in <module>
2023-12-15 17:46:13.445 Error: Zigbee4Domo: from cryptography.hazmat.primitives.ciphers import Cipher
2023-12-15 17:46:13.445 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/cryptography/hazmat/primitives/ciphers/__init__.py", line 11, in <module>
2023-12-15 17:46:13.445 Error: Zigbee4Domo: from cryptography.hazmat.primitives.ciphers.base import (
2023-12-15 17:46:13.445 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/cryptography/hazmat/primitives/ciphers/base.py", line 10, in <module>
2023-12-15 17:46:13.445 Error: Zigbee4Domo: from cryptography.exceptions import (
2023-12-15 17:46:13.445 Error: Zigbee4Domo: File "/usr/local/lib/python3.11/dist-packages/cryptography/exceptions.py", line 9, in <module>
2023-12-15 17:46:13.445 Error: Zigbee4Domo: from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
2023-12-15 17:46:13.445 Error: Zigbee4Domo: ImportError: PyO3 modules may only be initialized once per interpreter process
For the moment I turned off the plugin.