Closed gilmrt closed 4 years ago
I've got similar issue. I could solve it by uninstall plugin, remove icons by menu options, then reinstall the plugin.
Hope to help
Thanks @xavierlp I already done that but I have to take care of "reboot" ! Each time my pi reboot the plugin crash and I have to stop it, remove the custom icon and restart it :( I hope this issue will be resolved soon
Hi @gilmrt Thanks for the report!
Would you be able to comment out line 68 (by adding a #
in front of the if
), and test again?
Do you want I keep line 69 uncommented or should I comment it as well ? Should I remove spaces in front of line 69 if keep it ?
68 if ('SurvStationHomeMode' not in Images):
69 Domoticz.Image('SurvStationHomeMode.zip').Create()
Sorry, info missing... Line 69 should be unindented, but it must not be commented out
Great !! It works like a charm
Alright, I'll start from here then :-) Thanks for your help!
I have this kind of errors after update / reboot Domoticz to 2020.2 It looks like it works first time I installed the plugin (or each time I change for a new device name) but after a restart of the plugin or of domoticz it won't work anymore possible duplicata with issue #4
2020-04-28 14:13:58.182 Status: (SurveillanceStation) Started. 2020-04-28 14:13:58.341 Status: (SurveillanceStation) Initialized version 0.1, author 'lolautruche' 2020-04-28 14:13:58.340 Status: (SurveillanceStation) Entering work loop. 2020-04-28 14:13:58.352 Error: (SurveillanceStation) 'onStart' failed 'KeyError'. 2020-04-28 14:13:58.352 Error: (SurveillanceStation) ----> Line 196 in '/home/pi/domoticz/plugins/SurveillanceStationDomoticz/plugin.py', function onStart 2020-04-28 14:13:58.352 Error: (SurveillanceStation) ----> Line 74 in '/home/pi/domoticz/plugins/SurveillanceStationDomoticz/plugin.py', function onStart 2020-04-28 14:14:08.343 (SurveillanceStation) Pushing 'onHeartbeatCallback' on to queue 2020-04-28 14:14:08.385 (SurveillanceStation) Processing 'onHeartbeatCallback' message 2020-04-28 14:14:08.385 (SurveillanceStation) Calling message handler 'onHeartbeat'. 2020-04-28 14:14:08.386 Error: (SurveillanceStation) 'onHeartbeat' failed 'AttributeError':''NoneType' object has no attribute 'Connected''. 2020-04-28 14:14:08.386 Error: (SurveillanceStation) ----> Line 224 in '/home/pi/domoticz/plugins/SurveillanceStationDomoticz/plugin.py', function onHeartbeat 2020-04-28 14:14:08.386 Error: (SurveillanceStation) ----> Line 182 in '/home/pi/domoticz/plugins/SurveillanceStationDomoticz/plugin.py', function onHeartbeat 2020-04-28 14:14:18.344 (SurveillanceStation) Pushing 'onHeartbeatCallback' on to queue 2020-04-28 14:14:19.207 (SurveillanceStation) Processing 'onHeartbeatCallback' message 2020-04-28 14:14:19.207 (SurveillanceStation) Calling message handler 'onHeartbeat'. 2020-04-28 14:14:19.207 Error: (SurveillanceStation) 'onHeartbeat' failed 'AttributeError':''NoneType' object has no attribute 'Connected''. 2020-04-28 14:14:19.207 Error: (SurveillanceStation) ----> Line 224 in '/home/pi/domoticz/plugins/SurveillanceStationDomoticz/plugin.py', function onHeartbeat 2020-04-28 14:14:19.207 Error: (SurveillanceStation) ----> Line 182 in '/home/pi/domoticz/plugins/SurveillanceStationDomoticz/plugin.py', function onHeartbeat