Zigate - Problems with Osram Smart Plug

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
physiker123
Posts: 37
Joined: Wednesday 25 November 2015 18:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany / France
Contact:

Zigate - Problems with Osram Smart Plug

Post 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
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate - Problems with Osram Smart Plug

Post by pipiche »

This has been fixed , please update to the latest version
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
physiker123
Posts: 37
Joined: Wednesday 25 November 2015 18:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany / France
Contact:

Re: Zigate - Problems with Osram Smart Plug

Post by physiker123 »

the latest beta? or the development version?
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate - Problems with Osram Smart Plug

Post by pipiche »

latest beta of plugin
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
physiker123
Posts: 37
Joined: Wednesday 25 November 2015 18:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany / France
Contact:

Re: Zigate - Problems with Osram Smart Plug

Post 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!
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate - Problems with Osram Smart Plug

Post 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.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
physiker123
Posts: 37
Joined: Wednesday 25 November 2015 18:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany / France
Contact:

Re: Zigate - Problems with Osram Smart Plug

Post 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!
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate - Problems with Osram Smart Plug

Post 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.
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
physiker123
Posts: 37
Joined: Wednesday 25 November 2015 18:32
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Germany / France
Contact:

Re: Zigate - Problems with Osram Smart Plug

Post by physiker123 »

Good to know! Either way, I hope not to have to reconnect the xiaomi devices any more...
pipiche
Posts: 2016
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate - Problems with Osram Smart Plug

Post 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
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest