If I look the DeviceStatus table for the corresponding Python Plugin I saw 30 Devices ID from 1 to 30
When I start the plugin and I try to dump the Device dict, there are only 9 devices loaded.
Even more interesting, if I run the following code just on the 1st line of the onStart() call back
Code: Select all
Domoticz.Log( "Device count: " + str(len(Devices)))
for x in Devices:
Domoticz.Log( "Device: " + str(x) + " - " + str(Devices[x]))
Mar 25 20:39:21 rasp domoticz[18462]: 2021-03-25 20:39:21.322 Python Plugin System: (DIN-ZIGate) Device count: 9
Mar 25 20:39:21 rasp domoticz[18462]: 2021-03-25 20:39:21.322 Python Plugin System: (DIN-ZIGate) Device: 1 - ID: 2, Name: 'DIN-ZIGate - Zigate Status 2', nValue: 0, sValue: 'Startup'
Mar 25 20:39:21 rasp domoticz[18462]: 2021-03-25 20:39:21.322 Python Plugin System: (DIN-ZIGate) Device: 2 - ID: 1, Name: 'DIN-ZIGate - Zigate Notifications 2', nValue: 0, sValue: 'Zigate Channel: 11'
Mar 25 20:39:21 rasp domoticz[18462]: 2021-03-25 20:39:21.323 Python Plugin System: (DIN-ZIGate) Device: 3 - ID: 3, Name: 'DIN-ZIGate - EH-ZB-VACT_Temp-00124b000425e9ad-0b', nValue: 25, sValue: '25.5'
Mar 25 20:39:21 rasp domoticz[18462]: 2021-03-25 20:39:21.323 Python Plugin System: (DIN-ZIGate) Device: 4 - ID: 4, Name: 'DIN-ZIGate - EH-ZB-VACT_ThermoSetpoint-00124b000425e9ad-0b', nValue: 0, sValue: '18.00'
Mar 25 20:39:21 rasp domoticz[18462]: 2021-03-25 20:39:21.323 Python Plugin System: (DIN-ZIGate) Device: 5 - ID: 5, Name: 'DIN-ZIGate - EH-ZB-VACT_Door-00124b000425e9ad-0b', nValue: 0, sValue: 'Closed'
Mar 25 20:39:21 rasp domoticz[18462]: 2021-03-25 20:39:21.323 Python Plugin System: (DIN-ZIGate) Device: 6 - ID: 6, Name: 'DIN-ZIGate - EH-ZB-VACT_Valve-00124b000425e9ad-0b', nValue: 0, sValue: '0.0'
Mar 25 20:39:21 rasp domoticz[18462]: 2021-03-25 20:39:21.323 Python Plugin System: (DIN-ZIGate) Device: 7 - ID: 7, Name: 'DIN-ZIGate - SP 120_Plug-00158d0001fe57bb-01', nValue: 1, sValue: 'On'
Mar 25 20:39:21 rasp domoticz[18462]: 2021-03-25 20:39:21.323 Python Plugin System: (DIN-ZIGate) Device: 8 - ID: 8, Name: 'DIN-ZIGate - SP 120_Power-00158d0001fe57bb-01', nValue: 3, sValue: '3'
Mar 25 20:39:21 rasp domoticz[18462]: File "/var/lib/domoticz/plugins/Domoticz-Zigate/plugin.py", line 1052 in DumpConfigToLog
Mar 25 20:39:21 rasp domoticz[18462]: File "/var/lib/domoticz/plugins/Domoticz-Zigate/plugin.py", line 227 in onStart
Mar 25 20:39:21 rasp domoticz[18462]: File "/var/lib/domoticz/plugins/Domoticz-Zigate/plugin.py", line 1015 in onStart
Mar 25 20:39:21 rasp domoticz[18462]: 2021-03-25 20:39:21.326 Error: Domoticz(pid:18462, tid:18479('DIN-ZIGate')) received fatal signal 11 (Segmentation fault)
'