Page 1 of 1

Zigate Bitron Door/Windows contact and errors in log

Posted: Thursday 24 September 2020 15:02
by ahattink
Can somebody help/explain what these logentries mean?

Domoticz Error log:

Code: Select all

2020-09-24 14:27:10.339 Error: (Zigate) 'onHeartbeat' failed 'TypeError':'type str doesn't define __round__ method'.
2020-09-24 14:27:10.339 Error: (Zigate) ----> Line 996 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onHeartbeat
2020-09-24 14:27:10.339 Error: (Zigate) ----> Line 668 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onHeartbeat
2020-09-24 14:27:10.339 Error: (Zigate) ----> Line 185 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/domoTools.py', function ResetDevice
2020-09-24 14:27:10.339 Error: (Zigate) ----> Line 97 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/domoTools.py', function RetreiveSignalLvlBattery 
Domoticz Status log:

Code: Select all

2020-09-24 14:25:50.996 Status: (Zigate) Device Announcement: Schuurdeur(9752, 00124b00062ac55f) Join Flag: 0x99 - Unknown value received. RSSI: 102 ChangeShortID: False 
These logs appeared after a while after pairing the Door sensor. The model is: 90201021A and the sensor is working ok.
I guess the Bitron sensor is reporting battery level, but Zigate does not know this?

(i have already updated the plugin and Zigate firmware to latest version)

Re: Zigate Bitron Door/Windows contact and errors in log

Posted: Thursday 24 September 2020 15:11
by pipiche
Could you kindly provide the export.json as described here https://github.com/pipiche38/Domoticz-Z ... -device.md

Thanks in advance

Re: Zigate Bitron Door/Windows contact and errors in log

Posted: Thursday 24 September 2020 15:32
by ahattink
Hi pipiche,
Attached the Json.
export.json.txt
(22.77 KiB) Downloaded 36 times
(please rename to export.sjon)

Please take in consideration there could also be an connectivity issue... Could it?

Arthur

Re: Zigate Bitron Door/Windows contact and errors in log

Posted: Monday 28 September 2020 12:55
by ahattink
Hi @pipiche,

I just found out the door/windows contact stops working when the errors appear in the log. Unpair and pair again it works until the error is there again.

Code: Select all

2020-09-28 12:31:26.468 Error: (Zigate) 'onMessage' failed 'TypeError':'type str doesn't define __round__ method'.
2020-09-28 12:31:26.468 Error: (Zigate) ----> Line 984 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2020-09-28 12:31:26.468 Error: (Zigate) ----> Line 519 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2020-09-28 12:31:26.468 Error: (Zigate) ----> Line 325 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function onMessage
2020-09-28 12:31:26.468 Error: (Zigate) ----> Line 538 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function processFrame
2020-09-28 12:31:26.468 Error: (Zigate) ----> Line 523 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function processFrame
2020-09-28 12:31:26.468 Error: (Zigate) ----> Line 122 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/input.py', function ZigateRead
2020-09-28 12:31:26.468 Error: (Zigate) ----> Line 241 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/input.py', function Decode8401
2020-09-28 12:31:26.468 Error: (Zigate) ----> Line 111 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/domoMaj.py', function MajDomoDevice
2020-09-28 12:31:26.468 Error: (Zigate) ----> Line 97 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Modules/domoTools.py', function RetreiveSignalLvlBattery
I will unpair the door/windows contact and pair again in an location where i am shure it can connect directly to the Zigate stick. This to rule out an mesh issue. Does this make sense?

Arthur

Re: Zigate Bitron Door/Windows contact and errors in log

Posted: Monday 28 September 2020 14:50
by pipiche
Could you kindly try with the latest version of the plugin which has been pushed today ?
This error should have been addressed.

Re: Zigate Bitron Door/Windows contact and errors in log

Posted: Monday 28 September 2020 19:37
by ahattink
Hi pipiche,

Updated and error logs are gone. Super!
New is an battery warning! Issue closed. Thank you verry much!
Arthur