Z4D has error after install Topic is solved
Moderator: leecollings
-
jandoedel
- Posts: 26
- Joined: Wednesday 28 November 2018 12:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Z4D has error after install
Hello,
On a Raspberry 3+ i have install Bookworm
Installed Domoticz Working well
Version: 2025.1 (build 16782)
Build Hash: 3ed178aa4
Compile Date: 2025-09-12 08:38:25
dzVents Version: 3.1.8
Python Version: 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0]
I try to install Z4D then i got errors
What do i wrong?
On a Raspberry 3+ i have install Bookworm
Installed Domoticz Working well
Version: 2025.1 (build 16782)
Build Hash: 3ed178aa4
Compile Date: 2025-09-12 08:38:25
dzVents Version: 3.1.8
Python Version: 3.11.2 (main, Apr 28 2025, 14:11:48) [GCC 12.2.0]
I try to install Z4D then i got errors
What do i wrong?
- Attachments
-
- error Zigbee.txt
- (6.92 KiB) Downloaded 14 times
- waltervl
- Posts: 6677
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Z4D has error after install
So below it the issue: Error while starting Radio with bad marshal data (invalid reference).
Did you use the correct settings for your Dongle?
Edit: see alo https://zigbeefordomoticz.github.io/wik ... ot-working
Code: Select all
2025-09-19 20:22:52.650 Error: Zigbee: Error while starting Radio: znp on port /dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_3ea0a70bf3bded1188de6b2e38a92db5-if00-port0 with bad marshal data (invalid reference)
2025-09-19 20:22:52.669 Error: Zigbee: Traceback (most recent call last):
2025-09-19 20:22:52.669 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/zigpyThread.py", line 222, in radio_start
2025-09-19 20:22:52.669 import zigpy_znp.config as radio_specific_conf
2025-09-19 20:22:52.669 File "/usr/local/lib/python3.11/dist-packages/zigpy_znp/config.py", line 23, in <module>
2025-09-19 20:22:52.669 from zigpy_znp.commands.util import LEDMode
2025-09-19 20:22:52.669 File "/usr/local/lib/python3.11/dist-packages/zigpy_znp/commands/__init__.py", line 4, in <module>Edit: see alo https://zigbeefordomoticz.github.io/wik ... ot-working
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
jandoedel
- Posts: 26
- Joined: Wednesday 28 November 2018 12:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Re: Z4D has error after install
the settings are correct.
i have put my bullseye image back en check it.
Z4D is goed working there.
i have put my bullseye image back en check it.
Z4D is goed working there.
- waltervl
- Posts: 6677
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Z4D has error after install
For Bookworm you need to make use of the Python Virtual environment as explained on the Z4D wiki: https://zigbeefordomoticz.github.io/wik ... alEnv.html
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
Rik60
- Posts: 141
- Joined: Sunday 25 June 2023 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.2
- Location: The Netherlands
- Contact:
Re: Z4D has error after install
Yes, this is an important step to do. Otherwise Z4D won't work. I upgrated last week from Bullseye to Bookworm, with these steps Z4D wil work. Another tip, if you have a Z4D backup, copy the data and conf to the new installed plugin. You don't have to learn/train the zigbee devices again, this worked for me. See the wiki.waltervl wrote: Saturday 20 September 2025 13:03 For Bookworm you need to make use of the Python Virtual environment as explained on the Z4D wiki: https://zigbeefordomoticz.github.io/wik ... alEnv.html
-
jandoedel
- Posts: 26
- Joined: Wednesday 28 November 2018 12:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Re: Z4D has error after install
Oke it is working.
Thanks everyone
Thanks everyone
-
jandoedel
- Posts: 26
- Joined: Wednesday 28 November 2018 12:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Re: Z4D has error after install
Zigbee is working good.
But there are errors in the log.
But i don't no where to look.
Plugin: 7.1.023 [6.476]
But there are errors in the log.
Code: Select all
2025-09-28 21:28:03.596 Error: Zigbee: forwarder_thread - Error while receiving a Coordinator command
2025-09-28 21:28:03.638 Error: Zigbee: Issue in request 0180020032ff000104070201010226d202000018fe0a0000250700000000004203, dumping stack: Traceback (most recent call last):
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/forwarderThread.py", line 49, in forwarder_thread
2025-09-28 21:28:03.638 forward_message(self, message)
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/instrumentation.py", line 38, in f_out
2025-09-28 21:28:03.638 result = f_in(self, message)
2025-09-28 21:28:03.638 ^^^^^^^^^^^^^^^^^^^
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/forwarderThread.py", line 65, in forward_message
2025-09-28 21:28:03.638 self.F_out(message)
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 801, in processFrame
2025-09-28 21:28:03.638 zigbee_receive_message(self, Devices, Data)
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/input.py", line 165, in zigbee_receive_message
2025-09-28 21:28:03.638 _decode_message(self, MsgType, Devices, Data, MsgData, MsgLQI)
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/input.py", line 172, in _decode_message
2025-09-28 21:28:03.638 decoding_method(self, Devices, MsgData, MsgLQI)
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Z4D_decoders/z4d_decoder_Read_Report_Attribute_Rsp.py", line 52, in Decode8102
2025-09-28 21:28:03.638 scan_attribute_reponse(self, Devices, MsgSQN, i_sqn, MsgSrcAddr, MsgSrcEp, MsgClusterId, MsgData, '8102')
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Z4D_decoders/z4d_decoder_Read_Report_Attribute_Rsp.py", line 88, in scan_attribute_reponse
2025-09-28 21:28:03.638 read_report_attributes( self, Devices, msgtype, MsgSQN, MsgSrcAddr, MsgSrcEp, MsgClusterId, MsgAttrID, MsgAttStatus, MsgAttType, MsgAttSize, MsgClusterData, )
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Z4D_decoders/z4d_decoder_Read_Report_Attribute_Rsp.py", line 121, in read_report_attributes
2025-09-28 21:28:03.638 ReadCluster( self, Devices, MsgType, MsgSQN, MsgSrcAddr, MsgSrcEp, MsgClusterId, MsgAttrID, MsgAttStatus, MsgAttType, MsgAttSize, MsgClusterData, Source=MsgType, )
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/readClusters.py", line 174, in ReadCluster
2025-09-28 21:28:03.638 process_cluster_attribute_response( self, Devices, MsgSQN, MsgSrcAddr, MsgSrcEp, MsgClusterId, MsgAttrID, MsgAttType, MsgAttSize, MsgClusterData, Source, )
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/readZclClusters.py", line 132, in process_cluster_attribute_response
2025-09-28 21:28:03.638 value = compute_attribute_value( self, MsgSrcAddr, MsgSrcEp, MsgClusterId, MsgAttrID, value, _eval_inputs, _eval_formula, _function)
2025-09-28 21:28:03.638 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/readZclClusters.py", line 471, in compute_attribute_value
2025-09-28 21:28:03.638 return func( self, nwkid, ep, cluster, attribut, value )
2025-09-28 21:28:03.638 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-09-28 21:28:03.638 File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/zclClusterHelpers.py", line 452, in compute_metering_conso
2025-09-28 21:28:03.638 conso = round((conso * multiplier) / divisor, 3)
2025-09-28 21:28:03.638 ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
2025-09-28 21:28:03.638 ZeroDivisionError: division by zero
2025-09-28 21:28:03.638
Plugin: 7.1.023 [6.476]
Re: Z4D has error after install
Strange error, but for sure there is a lack of protection in the code.
This is fixed in the next release 7.1.024
you can have the release candidate by doing a
[code]
git pull
git checkout rc-stable7.1.024
[/code]
Do not the restart the plugin yet, but use WebUI -> Admin -> Plugin -> Plugin Update (to ensure all is correctly updated)
and then restart the plugin
This is fixed in the next release 7.1.024
you can have the release candidate by doing a
[code]
git pull
git checkout rc-stable7.1.024
[/code]
Do not the restart the plugin yet, but use WebUI -> Admin -> Plugin -> Plugin Update (to ensure all is correctly updated)
and then restart the plugin
-
jandoedel
- Posts: 26
- Joined: Wednesday 28 November 2018 12:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Re: Z4D has error after install
What to do?
Code: Select all
pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ git checkout rc-stable7.1.024
error: Your local changes to the following files would be overwritten by checkout:
Classes/PluginConf.py
Classes/WebServer/WebServer.py
Classes/WebServer/dispatcher.py
Classes/ZigpyTransport/zigpyThread.py
DevicesModules/custom_Chameleon.py
Modules/domoMaj.py
Modules/linky.py
Modules/readAttributes.py
Modules/readZclClusters.py
Modules/zclClusterHelpers.py
plugin.py
www/z4d/index.html
Please commit your changes or stash them before you switch branches.
Aborting
-
jandoedel
- Posts: 26
- Joined: Wednesday 28 November 2018 12:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Re: Z4D has error after install
Code: Select all
pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ sudo git switch rc-stable7.1.024
Already on 'rc-stable7.1.024'
Your branch is up to date with 'origin/rc-stable7.1.024'.
-
Rik60
- Posts: 141
- Joined: Sunday 25 June 2023 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.2
- Location: The Netherlands
- Contact:
Re: Z4D has error after install
Same here.jandoedel wrote: Wednesday 01 October 2025 17:56Why is Domoticz-Zigbee not seeing this Branch?Code: Select all
pi@raspberrypi:~/domoticz/plugins/Domoticz-Zigbee $ sudo git switch rc-stable7.1.024 Already on 'rc-stable7.1.024' Your branch is up to date with 'origin/rc-stable7.1.024'.
Version is not updated in the software?
Plugin is running without problems
Edit:
After some time doing nothing, there is an error, see attachment
- Attachments
-
- Z4D_rc-stable_7_1_024_error.jpg (113.26 KiB) Viewed 145 times
-
- Z4D_rc-stable_7_1_024.jpg (19.16 KiB) Viewed 147 times
-
- Z4D_rc-stable_7_1_023.jpg (9.79 KiB) Viewed 147 times
-
jandoedel
- Posts: 26
- Joined: Wednesday 28 November 2018 12:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Re: Z4D has error after install
what can i do to let it work? 
-
Rik60
- Posts: 141
- Joined: Sunday 25 June 2023 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.2
- Location: The Netherlands
- Contact:
Re: Z4D has error after install
I switched back to version stable 7.1.023. Rc stable 7.1.024 was besides the error working. Hopefully Pipiche has a solution for this.
Btw, i am using a Sonoff zigbee 3.0 usb dongle.
Btw, i am using a Sonoff zigbee 3.0 usb dongle.
- waltervl
- Posts: 6677
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2025.1
- Location: NL
- Contact:
Re: Z4D has error after install
I still see some changes in RC 7.1.024 this weekend https://github.com/zigbeefordomoticz/Do ... le7.1.024/
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
jandoedel
- Posts: 26
- Joined: Wednesday 28 November 2018 12:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Re: Z4D has error after install
how let you Rc stable 7.1.024 working.
I stuck with switching to Rc stable 7.1.024
what commands do jou used?
I stuck with switching to Rc stable 7.1.024
what commands do jou used?
-
Rik60
- Posts: 141
- Joined: Sunday 25 June 2023 21:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.2
- Location: The Netherlands
- Contact:
Re: Z4D has error after install
I switched to the rc again (following Pipiche):jandoedel wrote: Sunday 05 October 2025 17:00 how let you Rc stable 7.1.024 working.
I stuck with switching to Rc stable 7.1.024
what commands do jou used?
Code: Select all
you can have the release candidate by doing a
git pull
git checkout rc-stable7.1.024
Do not the restart the plugin yet, but use WebUI -> Admin -> Plugin -> Plugin Update (to ensure all is correctly updated)
and then restart the plugin
After the git checkout rc-stable 7.1.024 i did a plugin update using the WebUI (WebUI version is still 7.1.023) but checkout is 7.1.024
This version of the plugin is now running without problems
- Attachments
-
- Z4D_rc-stable_7_1_024_ok.jpg (172.22 KiB) Viewed 96 times
-
jandoedel
- Posts: 26
- Joined: Wednesday 28 November 2018 12:04
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2025.1
- Contact:
Re: Z4D has error after install
after yesterday's update: sudo git checkout rc-stable7.1.024
there are now no more errors in the log.
Thanks everybody
there are now no more errors in the log.
Thanks everybody
Who is online
Users browsing this forum: No registered users and 1 guest