No transport, write directive to XXX.XXX.XXX.XXX:8080' ignored
Decode8000
Error: <plugin's name> Communication error when transmitting a previous command to XXXX ieee XXXXXXXXXXXXXXXX
Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter
Error: <plugin's name> : You need to setup the URL Base to access the Domoticz JSON/API
pkg_resources.VersionConflict: (dnspython 2.3.0 (/usr/local/lib/python3.10/site-packages), Requirement.parse('dnspython==2.2.1'))
ImportError: PyO3 modules may only be initialized once per interpreter process
[WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command!
This environment is externally managed. To install Python packages system-wide, try apt install python3-xyz...
Error: <plugin's name> : ModuleNotFoundError: No module named 'cchardet'
The first source of support is the Wiki :
You can also get support and ask questions :
Since Stable6, the logs are saved in a file : domoticz/plugins/Domoticz-Zigbee/Logs/PluginZigbee-XX.log
The folder Domoticz-Zigbee can also be Domoticz-Zigate if you have installed the plugin before April 2022.
Please refer to Troubleshooting pairing or connection
Please refer to Zigbee Device Compatibility Repository
We have currently a limitation of the number of instances using Zigpy layer, which prevent having several instances of zigpy based communication.
If you use ZiGate hardware, you can run as many plugin instances ( one instance per ZiGate ) as you wish. If you use non-ZiGate hardware, like TI CCxxxx or Silicon Labs, you can run only one instance of those 2, but still can mix with as many ZiGate as you want. For more information you can see the progress of that issue on #1117
Some times, when you reboot your system, the USB Port (like dev/ttyUSB0) can change its number which cases a communication error with the coordinator. This is more an OS issue, but there are few hints :
For example : If you power off an Ikea bulb (with the physical switch) and then switch it on again, the status of the bulb is not updated in DomoticZ. And having the same issue with a remote controller which also doesn’t update it’s current state to DomoticZ.
If you encounter problems like the above example, it is most likely the automatic reporting is not configured correctly from the device end. Please follow below steps to fix this issue:
Check that the Custom Tab is activated :
I can see in the log file some messages like that
INFO : [ MainThread] Zigate plugin beta6-6.0.114 started
INFO : [ MainThread] Plugin Database: DeviceList-2.txt
INFO : [ MainThread] DeviceConf loaded - 23 confs loaded
INFO : [ MainThread] DeviceConf loaded - 329 confs loaded
INFO : [ MainThread] load ListOfDevice
INFO : [ MainThread] Transport mode: ZigpyZNP
ERROR : [ MainThread] [ 61] I have hard time to get Coordinator Version. Mostlikly there is a communication issue
ERROR : [ MainThread] [ ] Stop the plugin and check the Coordinator connectivity.
This indicate a miss communication between the plugin and the coordinator. You need to cross-check the following pieces in the DomoticZ Hardware menu :
If it still don’t work, you can try to test the coordinator with making Real time topology. This test will be done without Domoticz and the plugin. It is only working with TI CCxxx.
Please refer to Dealing with none certified device
Please refer to Dealing with none certified device
No transport, write directive to XXX.XXX.XXX.XXX:8080' ignored
Time to time I see the following error message. Is that a big issue ? How can I get rid of it ?
Error: ZigBee: No transport, write directive to 'XXX.XXX.XXX.XXX:8080' ignored.
This error is coming from DomoticZ and is related to the fact that you had the WebUI page opened and which timeout, at the time you tried to refresh this page, Domoticz detected that they were no transport/communication anymore. You shouldn’t worry much of this message.
Decode8000
if you see error logs like here after, this is most-likely an issue with the ZiGate hardware.
Error: ZiGate: Decode8000 - PacketType: 0030 TypeSqn: 02 sqn_app: 00 sqn_aps: 22 Status: [ZigBee Error Code Unknown code : 80]
Error: ZiGate: Decode8000 - PacketType: 0030 TypeSqn: 02 sqn_app: 00 sqn_aps: 4d Status: [ZigBee Error Code Unknown code : 80]
Error: ZiGate: Decode8000 - PacketType: 0030 TypeSqn: 02 sqn_app: 00 sqn_aps: 51 Status: [ZigBee Error Code Unknown code : 80]
Error: ZiGate: Decode8000 - PacketType: 0030 TypeSqn: 02 sqn_app: 00 sqn_aps: 52 Status: [ZigBee Error Code Unknown code : 80]
Error: <plugin's name> Communication error when transmitting a previous command to XXXX ieee XXXXXXXXXXXXXXXX
Here after is an exemple of errors found in the log file.
Error: (Zigate) Communication error when transmiting a previous command to 9d58 ieee 90fd9ffffe31f150
Error: (Zigate) Decode8702 - SQN: bc AddrMode: 02 DestAddr: 9d58 SrcEP: 01 DestEP: 01 Status: d4 - Unicast frame does not have a route available but it is buffered for automatic resend
This indicates that device 90fd9ffffe31f150
is not reachable or - Zigate get a communication problem with it -
Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter
Error: (FindModule) Domoticz/DomoticzEx modules not found in interpreter.
This error appears when stopping the plugin. Ignore it.
from the plugin home directory Domoticz-Zigbee or Domoticz-Zigate do the following command
ls -l external/dnspython/
if the response is
total 0
you need to run
git config --add submodule.recurse true
git submodule update --init --recursive
sudo pip3 install -r requirements.txt
ATTENTION:
Error: <plugin's name> : You need to setup the URL Base to access the Domoticz JSON/API
This error appears when the DomoticZ parameter API base url is not correctly filled. More infos on step 2 Plugin settings.
Building wheel for cryptography (PEP 517) ... error
When doing the command pip3 install -r requirements.txt
or python3 -m pip install -r requirements.txt --upgrade
you get this error.
ERROR: Failed building wheel for cryptography
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
upgrade or install the python module wheel
sudo python3 -m pip install wheel --upgrade
pkg_resources.VersionConflict: (dnspython 2.3.0 (/usr/local/lib/python3.10/site-packages), Requirement.parse('dnspython==2.2.1'))
This error may appear when you change branch from develop to stable6 : the dnspython module level is not the same.
sudo python3 -m pip install -r requirements.txt --upgrade
ImportError: PyO3 modules may only be initialized once per interpreter process
Status: Zigpy-Elelabs: Transport mode: ZigpyEZSP
Error: Zigpy-Elelabs: Call to function 'onStart' failed, exception details:
Error: Zigpy-Elelabs: Traceback (most recent call last):
Error: Zigpy-Elelabs: File "/var/lib/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1537, in onStart
Error: Zigpy-Elelabs: _plugin.onStart()
Error: Zigpy-Elelabs: File "/var/lib/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 602, in onStart
Error: Zigpy-Elelabs: from zigpy.config import (CONF_DEVICE, CONF_DEVICE_PATH,
Error: Zigpy-Elelabs: File "/usr/local/lib/python3.10/site-packages/zigpy/config/init.py", line 32, in <module>
Error: Zigpy-Elelabs: from zigpy.config.validators import (
Error: Zigpy-Elelabs: File "/usr/local/lib/python3.10/site-packages/zigpy/config/validators.py", line 9, in <module>
Error: Zigpy-Elelabs: import zigpy.zdo.types as zdo_t
Error: Zigpy-Elelabs: File "/usr/local/lib/python3.10/site-packages/zigpy/zdo/init.py", line 10, in <module>
Error: Zigpy-Elelabs: import zigpy.util
Error: Zigpy-Elelabs: File "/usr/local/lib/python3.10/site-packages/zigpy/util.py", line 14, in <module>
Error: Zigpy-Elelabs: from cryptography.hazmat.primitives.ciphers import Cipher
Error: Zigpy-Elelabs: File "/usr/local/lib/python3.10/site-packages/cryptography/hazmat/primitives/ciphers/init.py", line 11, in <module>
Error: Zigpy-Elelabs: from cryptography.hazmat.primitives.ciphers.base import (
Error: Zigpy-Elelabs: File "/usr/local/lib/python3.10/site-packages/cryptography/hazmat/primitives/ciphers/base.py", line 10, in <module>
Error: Zigpy-Elelabs: from cryptography.exceptions import (
Error: Zigpy-Elelabs: File "/usr/local/lib/python3.10/site-packages/cryptography/exceptions.py", line 9, in <module>
Error: Zigpy-Elelabs: from cryptography.hazmat.bindings.rust import exceptions as rustexceptions
Error: Zigpy-Elelabs: ImportError: PyO3 modules may only be initialized once per interpreter process
This is related to the fact that you are using a recent cryptography module. you can solve this issue by downgrading the cryptography module
sudo python3 -m pip install cryptography==40.0.2 --upgrade`
[WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command!
This error comes with the API modification of DomoticZ 2023.2
You need to update to the plugin version 7 following the instructions.
This environment is externally managed. To install Python packages system-wide, try apt install python3-xyz...
The full error is :
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.
If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.
Operation under Debian 12 Bookworm needs to modify the installation command line by default by adding –break-system-packages at the end :
sudo pip3 install -r requirements.txt --break-system-packages
Reminder : This command line is only valid on Debian 12 Bookworm systems.
Error: <plugin's name> : ModuleNotFoundError: No module named 'cchardet'
This error appears when you have multiple plugin’s sessions and there is not the good charset-normalizer dependency version. It should be 2.0.12.
Check you version with the commande :
pip show charset-normalizer
or if you still using python2
pip3 show charset-normalizer
If the answer is not 2.0.12 then :
pip install --force-reinstall --upgrade charset-normalizer==2.0.12
or if you still using python2
pip3 install --force-reinstall --upgrade charset-normalizer==2.0.12
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
2024-04-16 18:31:06.519 Error: zig: (Zigate) failed to load 'plugin.py', Python Path used was '/home/ben/domoticz/plugins/Domoticz-Zigbee/:/usr/lib/python310.zip:/usr/lib/python3.10:/usr/lib/python3.10/lib-dynload:/usr/local/lib/python3.10/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.10/dist-packages'.
2024-04-16 18:31:06.523 Error: zig: Traceback (most recent call last):
2024-04-16 18:31:06.523 Error: zig: File "/home/ben/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 122, in <module>
2024-04-16 18:31:06.523 Error: zig: from Modules.checkingUpdate import (checkFirmwareUpdate, checkPluginUpdate,
2024-04-16 18:31:06.523 Error: zig: File "/home/ben/domoticz/plugins/Domoticz-Zigbee/Modules/checkingUpdate.py", line 14, in <module>
2024-04-16 18:31:06.523 Error: zig: import dns.resolver
2024-04-16 18:31:06.523 Error: zig: File "/usr/local/lib/python3.10/dist-packages/dns/resolver.py", line 39, in <module>
2024-04-16 18:31:06.523 Error: zig: import dns.query
2024-04-16 18:31:06.523 Error: zig: File "/usr/local/lib/python3.10/dist-packages/dns/query.py", line 48, in <module>
2024-04-16 18:31:06.523 Error: zig: from requests_toolbelt.adapters.source import SourceAddressAdapter
2024-04-16 18:31:06.523 Error: zig: File "/usr/lib/python3/dist-packages/requests_toolbelt/init.py", line 12, in <module>
2024-04-16 18:31:06.523 Error: zig: from .adapters import SSLAdapter, SourceAddressAdapter
2024-04-16 18:31:06.523 Error: zig: File "/usr/lib/python3/dist-packages/requests_toolbelt/adapters/init.py", line 12, in <module>
2024-04-16 18:31:06.523 Error: zig: from .ssl import SSLAdapter
2024-04-16 18:31:06.523 Error: zig: File "/usr/lib/python3/dist-packages/requests_toolbelt/adapters/ssl.py", line 16, in <module>
2024-04-16 18:31:06.523 Error: zig: from .._compat import poolmanager
2024-04-16 18:31:06.523 Error: zig: File "/usr/lib/python3/dist-packages/requests_toolbelt/_compat.py", line 56, in <module>
2024-04-16 18:31:06.523 Error: zig: from requests.packages.urllib3.contrib.pyopenssl \
2024-04-16 18:31:06.523 Error: zig: File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 50, in <module>
2024-04-16 18:31:06.523 Error: zig: import OpenSSL.SSL
2024-04-16 18:31:06.523 Error: zig: File "/usr/lib/python3/dist-packages/OpenSSL/init.py", line 8, in <module>
2024-04-16 18:31:06.523 Error: zig: from OpenSSL import crypto, SSL
2024-04-16 18:31:06.523 Error: zig: File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 3279, in <module>
2024-04-16 18:31:06.523 Error: zig: lib.OpenSSLadd_all_algorithms()
2024-04-16 18:31:06.523 Error: zig: AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
2024-04-16 18:32:14.294 Error: zig hardware (35) thread seems to have ended unexpectedly
it seems that the root cause is the conflicts between pyOpenSSL and Cryptography ref
sudo python3 -m pip install cryptography==38.0.4 --upgrade
2024-04-24 12:29:41.998 Error: Zigbee: (Zigate) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Domoticz-Zigbee/:/usr/lib/python39.zip:/usr/lib/python3.9:/usr/lib/python3.9/lib-dynload:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.9/dist-packages'.
2024-04-24 12:29:42.005 Error: Zigbee: Traceback (most recent call last):
2024-04-24 12:29:42.005 Error: Zigbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 131, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: from Modules.checkingUpdate import (checkFirmwareUpdate, checkPluginUpdate,
2024-04-24 12:29:42.005 Error: Zigbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/checkingUpdate.py", line 14, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: import dns.resolver
2024-04-24 12:29:42.005 Error: Zigbee: File "/usr/local/lib/python3.9/dist-packages/dns/resolver.py", line 39, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: import dns.query
2024-04-24 12:29:42.005 Error: Zigbee: File "/usr/local/lib/python3.9/dist-packages/dns/query.py", line 48, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: from requests_toolbelt.adapters.source import SourceAddressAdapter
2024-04-24 12:29:42.005 Error: Zigbee: File "/usr/lib/python3/dist-packages/requests_toolbelt/init.py", line 12, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: from .adapters import SSLAdapter, SourceAddressAdapter
2024-04-24 12:29:42.005 Error: Zigbee: File "/usr/lib/python3/dist-packages/requests_toolbelt/adapters/init.py", line 12, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: from .ssl import SSLAdapter
2024-04-24 12:29:42.005 Error: Zigbee: File "/usr/lib/python3/dist-packages/requests_toolbelt/adapters/ssl.py", line 16, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: from .._compat import poolmanager
2024-04-24 12:29:42.005 Error: Zigbee: File "/usr/lib/python3/dist-packages/requests_toolbelt/_compat.py", line 56, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: from requests.packages.urllib3.contrib.pyopenssl \
2024-04-24 12:29:42.005 Error: Zigbee: File "/usr/lib/python3/dist-packages/urllib3/contrib/pyopenssl.py", line 50, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: import OpenSSL.SSL
2024-04-24 12:29:42.005 Error: Zigbee: File "/usr/lib/python3/dist-packages/OpenSSL/init.py", line 8, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: from OpenSSL import crypto, SSL
2024-04-24 12:29:42.005 Error: Zigbee: File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1556, in <module>
2024-04-24 12:29:42.005 Error: Zigbee: class X509StoreFlags(object):
2024-04-24 12:29:42.005 Error: Zigbee: File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1577, in X509StoreFlags
2024-04-24 12:29:42.005 Error: Zigbee: CB_ISSUER_CHECK = lib.X509V_FLAG_CB_ISSUER_CHECK
2024-04-24 12:29:42.005 Error: Zigbee: AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
It could be related to mix between python module and installed library
sudo apt remove -y python3-openssl
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
The best is to use the Python virtual environment as described in Using Python Virtual Environment