Page 1 of 1
error when adding new device
Posted: Thursday 02 February 2023 23:03
by manjh
After uing a ZIgbee PIR device for a while, it suddenly stopped sending signals when it is triggered.
I checked everything but found nothing wrong.
So I removed the device completely from Domoticz, and then removed it from Zigbee as per the instructions
Code: Select all
https://zigbeefordomoticz.github.io/wiki/en-eng/HowTo_Remove-device.html
After I made sure it was gond from both ZigbeeForDomoticz and Domoticz itself, I reset the device to add it again.
I noticed the following lines on the Domoticz console:
Code: Select all
2023-02-02 22:51:39.121 Status: ZigbeeConbee: [None] NEW OBJECT: e827 None
2023-02-02 22:51:39.675 Status: ZigbeeConbee: [-] NEW OBJECT: e827 Active Endpoint Response Ep: 01 LQI: 255
2023-02-02 22:51:39.529 Error: ZigbeeConbee: process_raw_command device not found destination: 27e8 Profile: 260 Cluster: 1280 sEp: 1 dEp: 1 Seq: 25 Payload: b'\x10\x00\x02\x10\x00\xf0Pg\x07\xff\xff.!\x00'
2023-02-02 22:51:43.085 Status: ZigbeeConbee: [0] NEW OBJECT: e827 Model Name: TS0202
2023-02-02 22:51:43.091 Status: ZigbeeConbee: [0] NEW OBJECT: e827 Manufacturer Name: _TZ3040_6ygjfyll
2023-02-02 22:51:43.097 Status: ZigbeeConbee: [None] NEW OBJECT: e827 Request Node Descriptor
Does this make any sense?
Although the device works again, it makes me wonder what that error is...
Re: error when adding new device
Posted: Monday 06 February 2023 21:34
by pipiche
From the log, I beleive you are using the Zigbee for Domoticz plugin.
You need to make sure that the device is not far from the coordinator (Conbee), or you need to make sure that there is proper network mesh to provide capability for the device to reach the coordinator.
https://zigbeefordomoticz.github.io/wik ... twork.html
Re: error when adding new device
Posted: Tuesday 07 February 2023 9:02
by manjh
pipiche wrote: ↑Monday 06 February 2023 21:34
From the log, I beleive you are using the Zigbee for Domoticz plugin.
You need to make sure that the device is not far from the coordinator (Conbee), or you need to make sure that there is proper network mesh to provide capability for the device to reach the coordinator.
https://zigbeefordomoticz.github.io/wik ... twork.html
Both conditions are true. Conbee is a few meters away, and the Wifi network is very strong (mesh).
Do the error codes mean anything specific?
Re: error when adding new device
Posted: Tuesday 07 February 2023 11:12
by pipiche
can you provide the Logs/PluginZigbee-xx.log ?
found a bug, which could explain why after a while the device is leaving the network (but not necessarily)
Re: error when adding new device
Posted: Wednesday 08 February 2023 17:00
by manjh
pipiche wrote: ↑Tuesday 07 February 2023 11:12
can you provide the Logs/PluginZigbee-xx.log ?
found a bug, which could explain why after a while the device is leaving the network (but not necessarily)
Yes, I can provide the log file! Would be great if you found that bug...
Re: error when adding new device
Posted: Wednesday 08 February 2023 19:10
by pipiche
well, not much on the log, but I fix an issue.
can you do the following from the home directory of the plugin
Code: Select all
git checkout stable6
git pull
git checkout config-release-6.3.011
then I suggest that you remove from Domoticz all widgets related to this PIR,
restart the plugin
cross§check that there is no more entry in the plugin for this device
then do the pairing again
An let see what is happening.
At that stage you will be on a development branch, which at a point of time will be merged into the stable branch, you will have to do
Code: Select all
git pull
git checkout stable6
git pull
Re: error when adding new device
Posted: Wednesday 08 February 2023 21:51
by manjh
after the git pull I see this:
Code: Select all
Updating dd6a1937..e73dbf5f
error: The following untracked working tree files would be overwritten by merge:
Conf/Certified/Nodon/SIN-4-RS-20.json
Conf/Certified/Nodon/SIN-4-RS-20_PRO.json
Please move or remove them before you merge.
Aborting
Re: error when adding new device
Posted: Thursday 09 February 2023 8:10
by CarrieSpinks
pipiche wrote: ↑Wednesday 08 February 2023 19:10
well, not much on the log, but I fix an issue.
can you do the following from the home directory of the plugin
Code: Select all
git checkout stable6
git pull
git checkout config-release-6 .3 .011
then I suggest that you remove from Domoticz all widgets related to this PIR,
restart the plugin
cross§check that there is no more entry in the plugin for this device
then do the pairing again
An let see what is happening.
At that stage you will be on a development branch, which at a point of time will be merged into the stable branch, you will have to do
Code: Select all
git pull
git checkout stable6
git pull
I will try it and if I face any problem, I will message you.
Re: error when adding new device
Posted: Thursday 09 February 2023 8:50
by pipiche
manjh wrote: ↑Wednesday 08 February 2023 21:51
after the git pull I see this:
Code: Select all
Updating dd6a1937..e73dbf5f
error: The following untracked working tree files would be overwritten by merge:
Conf/Certified/Nodon/SIN-4-RS-20.json
Conf/Certified/Nodon/SIN-4-RS-20_PRO.json
Please move or remove them before you merge.
Aborting
can you do
Code: Select all
git reset --hard
git pull
git checkout config-release-6 .3 .011
Re: error when adding new device
Posted: Thursday 09 February 2023 13:21
by manjh
Code: Select all
git reset --hard
HEAD is now at dd6a1937 update date
pi@Utrecht:~/domoticz/plugins/Domoticz-Zigbee $ git pull
Fetching submodule external/bellows
Fetching submodule external/zigpy
Fetching submodule external/zigpy-deconz
Fetching submodule external/zigpy-zigate
Fetching submodule external/zigpy-znp
Updating dd6a1937..e73dbf5f
error: The following untracked working tree files would be overwritten by merge:
Conf/Certified/Nodon/SIN-4-RS-20.json
Conf/Certified/Nodon/SIN-4-RS-20_PRO.json
Please move or remove them before you merge.
Aborting
Re: error when adding new device
Posted: Thursday 09 February 2023 13:52
by pipiche
Most likely you have to remove or move this 2 files to an other place
Re: error when adding new device
Posted: Thursday 09 February 2023 20:51
by manjh
pipiche wrote: ↑Thursday 09 February 2023 13:52
Most likely you have to remove or move this 2 files to an other place
I did and updated as asked. Then I get this:
Code: Select all
2023-02-09 20:50:22.081 Error: ZigbeeConbee: Call to function 'onHeartbeat' failed, exception details:
2023-02-09 20:50:22.114 Error: ZigbeeConbee: Traceback (most recent call last):
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1577, in onHeartbeat
2023-02-09 20:50:22.114 Error: ZigbeeConbee: _plugin.onHeartbeat()
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-02-09 20:50:22.114 Error: ZigbeeConbee: processListOfDevices(self, Devices)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 832, in processListOfDevices
2023-02-09 20:50:22.114 Error: ZigbeeConbee: processKnownDevices(self, Devices, NWKID)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 581, in processKnownDevices
2023-02-09 20:50:22.114 Error: ZigbeeConbee: sanity_check_of_param(self, NWKID)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 308, in sanity_check_of_param
2023-02-09 20:50:22.114 Error: ZigbeeConbee: func(self, NwkId, value)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 226, in ias_sensitivity
2023-02-09 20:50:22.114 Error: ZigbeeConbee: ias_sensitivity(self, nwkid, sensitivity)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 226, in ias_sensitivity
2023-02-09 20:50:22.114 Error: ZigbeeConbee: ias_sensitivity(self, nwkid, sensitivity)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 226, in ias_sensitivity
2023-02-09 20:50:22.114 Error: ZigbeeConbee: ias_sensitivity(self, nwkid, sensitivity)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: [Previous line repeated 992 more times]
2023-02-09 20:50:22.114 Error: ZigbeeConbee: RecursionError: maximum recursion depth exceeded
2023-02-09 20:50:23.309 ZigbeeConbee: onStop()
Re: error when adding new device
Posted: Thursday 09 February 2023 21:13
by pipiche
ok
do
and then stay with that for the time been
Re: error when adding new device
Posted: Thursday 09 February 2023 22:01
by manjh
manjh wrote: ↑Thursday 09 February 2023 20:51
pipiche wrote: ↑Thursday 09 February 2023 13:52
Most likely you have to remove or move this 2 files to an other place
I did and updated as asked. Then I get this:
Code: Select all
2023-02-09 20:50:22.081 Error: ZigbeeConbee: Call to function 'onHeartbeat' failed, exception details:
2023-02-09 20:50:22.114 Error: ZigbeeConbee: Traceback (most recent call last):
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 1577, in onHeartbeat
2023-02-09 20:50:22.114 Error: ZigbeeConbee: _plugin.onHeartbeat()
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 966, in onHeartbeat
2023-02-09 20:50:22.114 Error: ZigbeeConbee: processListOfDevices(self, Devices)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 832, in processListOfDevices
2023-02-09 20:50:22.114 Error: ZigbeeConbee: processKnownDevices(self, Devices, NWKID)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/heartbeat.py", line 581, in processKnownDevices
2023-02-09 20:50:22.114 Error: ZigbeeConbee: sanity_check_of_param(self, NWKID)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 308, in sanity_check_of_param
2023-02-09 20:50:22.114 Error: ZigbeeConbee: func(self, NwkId, value)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 226, in ias_sensitivity
2023-02-09 20:50:22.114 Error: ZigbeeConbee: ias_sensitivity(self, nwkid, sensitivity)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 226, in ias_sensitivity
2023-02-09 20:50:22.114 Error: ZigbeeConbee: ias_sensitivity(self, nwkid, sensitivity)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: File "/home/pi/domoticz/plugins/Domoticz-Zigbee/Modules/paramDevice.py", line 226, in ias_sensitivity
2023-02-09 20:50:22.114 Error: ZigbeeConbee: ias_sensitivity(self, nwkid, sensitivity)
2023-02-09 20:50:22.114 Error: ZigbeeConbee: [Previous line repeated 992 more times]
2023-02-09 20:50:22.114 Error: ZigbeeConbee: RecursionError: maximum recursion depth exceeded
2023-02-09 20:50:23.309 ZigbeeConbee: onStop()
I moved back to stable6.
Re: error when adding new device
Posted: Thursday 28 September 2023 18:58
by manjh
Any news on this topic?
Re: error when adding new device
Posted: Thursday 28 September 2023 18:59
by manjh
Another question. I am planning to re-build my entire Pi installation, current setup is a mess (Python related).
So when I install on a new platform, will all my devices still be there? In other words, where does the plugin store the info? Should i copy it over?
Re: error when adding new device
Posted: Thursday 28 September 2023 19:00
by manjh
Another question. I am planning to re-build my entire Pi installation, current setup is a mess (Python related).
So when I install on a new platform, will all my devices still be there? In other words, where does the plugin store the info? Should i copy it over?
Re: error when adding new device
Posted: Thursday 28 September 2023 19:02
by manjh
Another question, perhaps unrelated?
I have just now received and paired two Tuya Zigbee temp/hum sensors, TS0201.
Both will give me the values when I press the small button through the hole on the bottom.
But only one of them will periodically send values.
Is there a way to set the interval on these devices?
Re: error when adding new device
Posted: Thursday 28 September 2023 19:31
by waltervl
manjh wrote: ↑Thursday 28 September 2023 19:00
Another question. I am planning to re-build my entire Pi installation, current setup is a mess (Python related).
So when I install on a new platform, will all my devices still be there? In other words, where does the plugin store the info? Should i copy it over?
If you copy the complete Domoticz folder including the plugins folder and domoticz database it should work well.