Closed lboue closed 6 years ago
Please do consider the Beta as unstable and make sure that you have a proper backup of the Domoticz.db and DeviceList.txt.
could you kindly cleanup the python cache after having stop domoticz service
rm Domoticz-Zigate/__pycache__/*
and then restart it.
Thanks it works fine now 👍
2018-10-11 21:23:45.267 Status: Python EventSystem: Initalizing event module.
2018-10-11 21:23:45.268 Status: EventSystem: Started
2018-10-11 21:23:45.268 Status: EventSystem: Queue thread started...
2018-10-11 21:23:45.293 Status: PluginSystem: Entering work loop.
2018-10-11 21:23:45.551 Status: (Zigate) Entering work loop.
2018-10-11 21:23:45.551 Status: (Zigate) Initialized version 3.9.99999, author 'zaraki673 pipiche38'
2018-10-11 21:23:45.788 Status: (Zigate) onStart called - Zigate plugin V 3.9.999 (dev branch)
2018-10-11 21:23:45.792 Status: (Zigate) Zigate Structure V2
2018-10-11 21:23:45.794 (Zigate) Device : [1] ID = 1e05 Options['Zigate'] = {'ProfileID': {}, 'Type': 'Switch', 'IEEE': '00158d000*******', 'RIA': '327', 'Ep': {'01': {'0006': '00', '0000': {}}}, 'Battery': 92, 'ZDeviceID': {}, 'MacCapa': '80', 'Heartbeat': '93693', 'Model': 'lumi.sensor_switch.aq2', 'Version': '2', 'Status': 'inDB'} loaded into self.ListOfDevices
2018-10-11 21:23:45.795 (Zigate) Device : [2] ID = c8cb Options['Zigate'] = {'ProfileID': {}, 'Type': 'DSwitch', 'IEEE': '00158d000*******', 'RIA': '4', 'Ep': {'02': {'0006': {}}, '01': {'0006': {}, '0000': {}}}, 'Battery': 91, 'ZDeviceID': {}, 'MacCapa': '80', 'Heartbeat': '0', 'Model': 'lumi.sensor_86sw2', 'Version': '2', 'Status': 'inDB'} loaded into self.ListOfDevices
2018-10-11 21:23:45.795 (Zigate) Device : [3] ID = c8cb Options['Zigate'] = {'ProfileID': {}, 'Type': 'DSwitch', 'IEEE': '00158d000*******', 'RIA': '4', 'Ep': {'02': {'0006': {}}, '01': {'0006': {}, '0000': {}}}, 'Battery': 91, 'ZDeviceID': {}, 'MacCapa': '80', 'Heartbeat': '0', 'Model': 'lumi.sensor_86sw2', 'Version': '2', 'Status': 'inDB'} loaded into self.ListOfDevices
2018-10-11 21:23:45.796 (Zigate) Device : [9] ID = 2791 Options['Zigate'] = {'ProfileID': {}, 'Type': 'Temp/Humi/Baro', 'IEEE': '00158d000*******', 'RIA': '1176', 'Ep': {'01': {'0402': 13.9, '0000': {}, '0405': 74.0, '0403': 'ff'}}, 'Battery': 90, 'ZDeviceID': {}, 'MacCapa': '80', 'Heartbeat': '38099', 'Model': 'lumi.weather', 'Version': '2', 'Status': 'inDB'} loaded into self.ListOfDevices
2018-10-11 21:23:45.797 (Zigate) Device : [10] ID = d25e Options['Zigate'] = {'ProfileID': {}, 'Type': 'Temp/Humi/Baro', 'IEEE': '00158d000*******', 'RIA': '21989', 'Ep': {'01': {'0402': 17.9, '0000': {}, '0405': 67.2, '0403': 'ff'}}, 'Battery': 90, 'ZDeviceID': {}, 'MacCapa': '80', 'Heartbeat': '1093087', 'Model': 'lumi.weather', 'Version': '2', 'Status': 'inDB'} loaded into self.ListOfDevices
2018-10-11 21:23:45.798 (Zigate) Device : [12] ID = d25e Options['Zigate'] = {'ProfileID': {}, 'Type': 'Temp/Humi/Baro', 'IEEE': '00158d000*******', 'RIA': '21985', 'Ep': {'01': {'0402': 18.0, '0000': {}, '0405': 66.9, '0403': 992.5}}, 'Battery': 90, 'ZDeviceID': {}, 'MacCapa': '80', 'Heartbeat': '1093087', 'Model': 'lumi.weather', 'Version': '2', 'Status': 'inDB'} loaded into self.ListOfDevices
2018-10-11 21:23:45.803 (Zigate) self.ListOfDevices[1e05][DomoID] needs to be updated with 1e05
2018-10-11 21:23:45.803 (Zigate) self.ListOfDevices[1e05][Heartbeat] needs to be updated with 7
2018-10-11 21:23:45.803 (Zigate) self.ListOfDevices[1e05][RSSI] needs to be updated with 153
2018-10-11 21:23:45.804 (Zigate) self.ListOfDevices[2791][DomoID] needs to be updated with 2791
2018-10-11 21:23:45.805 (Zigate) self.ListOfDevices[2791][Heartbeat] needs to be updated with 7
2018-10-11 21:23:45.806 (Zigate) self.ListOfDevices[d25e][DomoID] needs to be updated with d25e
2018-10-11 21:23:45.806 (Zigate) self.ListOfDevices[d25e][Heartbeat] needs to be updated with 7
2018-10-11 21:23:45.806 (Zigate) self.ListOfDevices[d25e][RSSI] needs to be updated with 165
2018-10-11 21:23:45.808 (Zigate) self.ListOfDevices[c8cb][DomoID] needs to be updated with c8cb
2018-10-11 21:23:45.808 (Zigate) self.ListOfDevices[c8cb][Heartbeat] needs to be updated with 7
2018-10-11 21:23:49.009 Status: (Zigate) onConnect called
2018-10-11 21:23:49.009 (Zigate) Connected successfully
Regards
Excellent, was it the removal of pycache doing the trick ? or did you do something else ?
Describe the bug I tried to upgrade Domoticz-Zigate plugin versions Version 3.0.0 and beta-3.1.0. I have Domoticz V4.10059.
I had no error with the previous 2.3.3 plugin version.
I am getting many time the following error:
2018-10-11 20:12:22.413 Error: (Zigate) 'onHeartbeat' failed 'AttributeError':''str' object has no attribute 'Connected''.
To Reproduce Steps to reproduce the behavior:
2018-10-11 20:12:22.413 Error: (Zigate) 'onHeartbeat' failed 'AttributeError':''str' object has no attribute 'Connected''.
Expected behavior No error.
Screenshots
Plugin (please complete the following information):
Additional context I had no error with 2.3.3 plugin version.