Page 1 of 1

Zigate - Problems with Osram Smart Plug

Posted: Monday 17 June 2019 22:06
by physiker123
Hello,

since updating to firmware 3.0f I have problems adding the Osram Plug. Before the update, the plugs worked fine.

The Zigate-Plugin is in the beta channel, I did a git pull before adding the devices. Domoticz is also uptodate. Is this a code issue?

The logs:

Thank you in advance!

Code: Select all

2019-06-17 21:56:54.303 (Zigate) Decode004d - rebind clusters for 73a4
2019-06-17 21:56:54.302 Status: (Zigate) Device Annoucement ShortAddr: 73a4, IEEE: 7cb03eaa0a02c9d3
2019-06-17 21:56:54.036 Error: (Zigate) 'onMessage' failed 'AttributeError':''dict' object has no attribute 'append''.
2019-06-17 21:56:54.036 Error: (Zigate) ----> Line 764 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-06-17 21:56:54.036 Error: (Zigate) ----> Line 466 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-06-17 21:56:54.036 Error: (Zigate) ----> Line 256 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function onMessage
2019-06-17 21:56:54.036 Error: (Zigate) ----> Line 384 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function processFrame
2019-06-17 21:56:54.036 Error: (Zigate) ----> Line 437 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function receiveStatusCmd
2019-06-17 21:56:54.036 Error: (Zigate) ----> Line 348 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function sendData
2019-06-17 21:56:54.036 Error: (Zigate) ----> Line 180 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function _sendData
2019-06-17 21:56:54.036 Error: (Zigate) ----> Line 101 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/APS.py', function processCMD
2019-06-17 21:56:54.036 Error: (Zigate) ----> Line 87 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/APS.py', function _addNewCmdtoDevice
2019-06-17 21:56:56.411 Error: (Zigate) 'onMessage' failed 'AttributeError':''dict' object has no attribute 'append''.
2019-06-17 21:56:56.412 Error: (Zigate) ----> Line 764 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-06-17 21:56:56.412 Error: (Zigate) ----> Line 466 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-06-17 21:56:56.412 Error: (Zigate) ----> Line 256 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function onMessage
2019-06-17 21:56:56.412 Error: (Zigate) ----> Line 391 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function processFrame
2019-06-17 21:56:56.412 Error: (Zigate) ----> Line 411 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function receiveDataCmd
2019-06-17 21:56:56.412 Error: (Zigate) ----> Line 348 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function sendData
2019-06-17 21:56:56.412 Error: (Zigate) ----> Line 180 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function _sendData
2019-06-17 21:56:56.412 Error: (Zigate) ----> Line 101 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/APS.py', function processCMD
2019-06-17 21:56:56.412 Error: (Zigate) ----> Line 87 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/APS.py', function _addNewCmdtoDevice
2019-06-17 21:56:56.517 Error: (Zigate) 'onMessage' failed 'AttributeError':''dict' object has no attribute 'append''.
2019-06-17 21:56:56.517 Error: (Zigate) ----> Line 764 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-06-17 21:56:56.517 Error: (Zigate) ----> Line 466 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-06-17 21:56:56.517 Error: (Zigate) ----> Line 256 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function onMessage
2019-06-17 21:56:56.517 Error: (Zigate) ----> Line 384 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function processFrame
2019-06-17 21:56:56.517 Error: (Zigate) ----> Line 437 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function receiveStatusCmd
2019-06-17 21:56:56.517 Error: (Zigate) ----> Line 348 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function sendData
2019-06-17 21:56:56.517 Error: (Zigate) ----> Line 180 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function _sendData
2019-06-17 21:56:56.517 Error: (Zigate) ----> Line 101 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/APS.py', function processCMD
2019-06-17 21:56:56.517 Error: (Zigate) ----> Line 87 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/APS.py', function _addNewCmdtoDevice
2019-06-17 21:56:57.233 Error: (Zigate) 'onMessage' failed 'AttributeError':''dict' object has no attribute 'append''.
2019-06-17 21:56:57.233 Error: (Zigate) ----> Line 764 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-06-17 21:56:57.233 Error: (Zigate) ----> Line 466 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-06-17 21:56:57.233 Error: (Zigate) ----> Line 256 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function onMessage
2019-06-17 21:56:57.233 Error: (Zigate) ----> Line 391 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function processFrame
2019-06-17 21:56:57.233 Error: (Zigate) ----> Line 411 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function receiveDataCmd
2019-06-17 21:56:57.233 Error: (Zigate) ----> Line 348 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function sendData
2019-06-17 21:56:57.233 Error: (Zigate) ----> Line 180 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function _sendData
2019-06-17 21:56:57.233 Error: (Zigate) ----> Line 101 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/APS.py', function processCMD
2019-06-17 21:56:57.233 Error: (Zigate) ----> Line 87 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/APS.py', function _addNewCmdtoDevice
2019-06-17 21:56:57.338 Error: (Zigate) 'onMessage' failed 'AttributeError':''dict' object has no attribute 'append''.
2019-06-17 21:56:57.339 Error: (Zigate) ----> Line 764 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-06-17 21:56:57.339 Error: (Zigate) ----> Line 466 in '/home/pi/domoticz/plugins/Domoticz-Zigate/plugin.py', function onMessage
2019-06-17 21:56:57.339 Error: (Zigate) ----> Line 256 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function onMessage
2019-06-17 21:56:57.339 Error: (Zigate) ----> Line 384 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function processFrame
2019-06-17 21:56:57.339 Error: (Zigate) ----> Line 437 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function receiveStatusCmd
2019-06-17 21:56:57.339 Error: (Zigate) ----> Line 348 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function sendData
2019-06-17 21:56:57.339 Error: (Zigate) ----> Line 180 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/Transport.py', function _sendData
2019-06-17 21:56:57.339 Error: (Zigate) ----> Line 101 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/APS.py', function processCMD
2019-06-17 21:56:57.339 Error: (Zigate) ----> Line 87 in '/home/pi/domoticz/plugins/Domoticz-Zigate/Classes/APS.py', function _addNewCmdtoDevice

Re: Zigate - Problems with Osram Smart Plug

Posted: Monday 17 June 2019 22:12
by pipiche
This has been fixed , please update to the latest version

Re: Zigate - Problems with Osram Smart Plug

Posted: Monday 17 June 2019 22:14
by physiker123
the latest beta? or the development version?

Re: Zigate - Problems with Osram Smart Plug

Posted: Monday 17 June 2019 22:15
by pipiche
latest beta of plugin

Re: Zigate - Problems with Osram Smart Plug

Posted: Monday 17 June 2019 22:22
by physiker123
Thank you for your ultra quick response.

Not it says:

Code: Select all

2019-06-17 22:21:11.337 (Zigate) Decode004d - rebind clusters for 73a4
2019-06-17 22:21:11.079 Status: (Zigate) Device Annoucement ShortAddr: 73a4, IEEE: 7cb03eaa0a02c9d3
Do I need to delete the device anywhere? I did not find neither 73a4 nor the IEEE in the DeviceList.

Thank you in advance!

Re: Zigate - Problems with Osram Smart Plug

Posted: Monday 17 June 2019 22:28
by pipiche
The best would be to check:
- If a widget has been created in Domoticz. To check that search for the IEEE 7cb03eaa0a02c9d3 in the Domoticz -> Devices
- If an entry is in DeviceList-xx.txt

To check DeviceList-xx.txt you have to STOP the plugin in order to get the List of Devices flushed onto the disk.

Re: Zigate - Problems with Osram Smart Plug

Posted: Monday 17 June 2019 22:33
by physiker123
I'm really sorry, apparantly I did not delete the old device. It was still in the device list from Domoticz, and now I can switch the plug without a problem.

I was just looking for a new device after trying to reinstall it, like it was with the xiaomi sensors when they were lost, but this should be fixed in the 3.0f firmware.

Thank you very much for your help!

Re: Zigate - Problems with Osram Smart Plug

Posted: Monday 17 June 2019 22:38
by pipiche
Since sometime now, when devices changed there Short Id (Network Id), the plugin managed it and reconnect it. This was a major change in release 4.

Re: Zigate - Problems with Osram Smart Plug

Posted: Monday 17 June 2019 22:41
by physiker123
Good to know! Either way, I hope not to have to reconnect the xiaomi devices any more...

Re: Zigate - Problems with Osram Smart Plug

Posted: Monday 17 June 2019 22:42
by pipiche
physiker123 wrote:Good to know! Either way, I hope not to have to reconnect the xiaomi devices any more...
You can check if the mesh level is good enough. On bêta you can play with the under development Web interface


Envoyé de mon iPhone en utilisant Tapatalk