Zigbee4domotic and deCONZ Topic is solved

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

Moderator: leecollings

Post Reply
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Zigbee4domotic and deCONZ

Post by EdwinK »

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.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigbee4domotic and deCONZ

Post by pipiche »

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
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Zigbee4domotic and deCONZ

Post by EdwinK »

Hadn't seen this.Still having some troubles, but that I will look into some other time.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Zigbee4domotic and deCONZ

Post by EdwinK »

I don;t know what I did differently this time, but now sudo pip3 install -r requirements.txt --break-system-packages
suddenly seemed to work. Onwards to tackle the other problems still on my path
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest