Giter VIP home page Giter VIP logo

homeassistant-zigate's People

Contributors

adorem avatar alexeypetrenko avatar apif avatar dcolens avatar delphiki avatar doudz avatar jsl-1 avatar maximushugus avatar michaelbitard avatar pawelka avatar pdecat avatar vgelot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

homeassistant-zigate's Issues

Ajout commande sans fil Legrand

Bonjour Doudz,

Hier soir j'ai essayé d'ajouter une commande sans fil Legrand.

La ZiGate et HA l'ont bien détecté. Dans HA j'ai bien une nouvelle entité qui lui correspond :

image

Par contre HA me dit qu'il faut faire un discovery et je n'ai effectivement pas mes boutons (sensor.zigate_xxx) comme je peux par l'avoir par exemple avec mes commandes Philips Hue.

image

Mais quand j'essay de le faire je n'ai que ceci dans les logs de debug probablement parce que le device est sur batterie et donc il n'est pas tout le temps accessible:

2019-05-16 10:06:13 DEBUG (SyncWorker_1) [zigate] discover_device 9e2b

Si ça peut aider voici les fichiers zigate.json et Remote_switch.json.

zigate.json.txt
Remote_switch.json.txt

Merci

Sensors stop updating state after a few hours

Hi,

HA version 0.83.3 on Linux + Docker
Zigate Wifi
Two door sensor from Xiaomi

After a couple of hours every day the sensors stop reporting state.

It takes a reboot of HA to put the system back in working order until it hangs again.

Logs bellow, first is the log of the duration of the hang (I've marked the point here it stopped receiving updates from zigate). Second log is the reboot (this time I had to reboot HA 2 times before it started to work), second reboot is also marked.

First log:
2018-12-05 21:56:09 DEBUG (SyncWorker_4) [zigate] Check Need refresh Device 00158d0002536f0b (5cdd) lumi.sensor_magnet.aq2
2018-12-05 21:56:09 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_DEVICE_UPDATED
2018-12-05 21:56:09 DEBUG (SyncWorker_4) [zigate] Auto saving /config/zigate.json
2018-12-05 21:56:09 DEBUG (SyncWorker_4) [zigate] Saving persistent file
2018-12-05 21:56:09 DEBUG (SyncWorker_4) [zigate] File already existing, make a backup before
2018-12-05 22:01:09 DEBUG (Thread-3) [zigate] Auto saving /config/zigate.json
2018-12-05 22:01:09 DEBUG (Thread-3) [zigate] Saving persistent file
2018-12-05 22:01:09 DEBUG (Thread-3) [zigate] File already existing, make a backup before
2018-12-05 22:06:09 DEBUG (Thread-4) [zigate] Auto saving /config/zigate.json
2018-12-05 22:06:09 DEBUG (Thread-4) [zigate] Saving persistent file
2018-12-05 22:06:09 DEBUG (Thread-4) [zigate] File already existing, make a backup before
2018-12-05 22:07:10 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-05 22:07:10 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'eebaf9010000ff010042001d0121db0b0328160421a81305211d00062405000000000a210000641000'
2018-12-05 22:07:10 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:238, addr:baf9, endpoint:1, cluster:0, attribute:65281, status:0, data_type:66, size:29, data:0121db0b0328160421a81305211d00062405000000000a210000641000, rssi:84
2018-12-05 22:07:10 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-05 22:07:10 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2018-12-05 22:11:09 DEBUG (Thread-5) [zigate] Auto saving /config/zigate.json
2018-12-05 22:11:09 DEBUG (Thread-5) [zigate] Saving persistent file
2018-12-05 22:11:09 DEBUG (Thread-5) [zigate] File already existing, make a backup before
2018-12-05 22:16:09 DEBUG (Thread-6) [zigate] Auto saving /config/zigate.json
2018-12-05 22:16:09 DEBUG (Thread-6) [zigate] Saving persistent file
2018-12-05 22:16:09 DEBUG (Thread-6) [zigate] File already existing, make a backup before
2018-12-05 22:21:09 DEBUG (Thread-7) [zigate] Auto saving /config/zigate.json
2018-12-05 22:21:09 DEBUG (Thread-7) [zigate] Saving persistent file
2018-12-05 22:21:09 DEBUG (Thread-7) [zigate] File already existing, make a backup before
2018-12-05 22:26:09 DEBUG (Thread-8) [zigate] Auto saving /config/zigate.json
2018-12-05 22:26:09 DEBUG (Thread-8) [zigate] Saving persistent file
2018-12-05 22:26:09 DEBUG (Thread-8) [zigate] File already existing, make a backup before
2018-12-05 22:31:09 DEBUG (Thread-9) [zigate] Auto saving /config/zigate.json
2018-12-05 22:31:09 DEBUG (Thread-9) [zigate] Saving persistent file
2018-12-05 22:31:09 DEBUG (Thread-9) [zigate] File already existing, make a backup before
2018-12-05 22:36:09 DEBUG (Thread-10) [zigate] Auto saving /config/zigate.json
2018-12-05 22:36:09 DEBUG (Thread-10) [zigate] Saving persistent file
2018-12-05 22:36:09 DEBUG (Thread-10) [zigate] File already existing, make a backup before
2018-12-05 22:38:48 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-05 22:38:48 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'df5cdd010000ff010042001d0121ef0b0328130421a81305210800062401000000000a210000641000'
2018-12-05 22:38:48 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:223, addr:5cdd, endpoint:1, cluster:0, attribute:65281, status:0, data_type:66, size:29, data:0121ef0b0328130421a81305210800062401000000000a210000641000, rssi:117
2018-12-05 22:38:48 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-05 22:38:48 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2018-12-05 22:41:09 DEBUG (Thread-11) [zigate] Auto saving /config/zigate.json
2018-12-05 22:41:09 DEBUG (Thread-11) [zigate] Saving persistent file
2018-12-05 22:41:09 DEBUG (Thread-11) [zigate] File already existing, make a backup before
2018-12-05 22:46:09 DEBUG (Thread-12) [zigate] Auto saving /config/zigate.json
2018-12-05 22:46:09 DEBUG (Thread-12) [zigate] Saving persistent file
2018-12-05 22:46:09 DEBUG (Thread-12) [zigate] File already existing, make a backup before
2018-12-05 22:51:09 DEBUG (Thread-13) [zigate] Auto saving /config/zigate.json
2018-12-05 22:51:09 DEBUG (Thread-13) [zigate] Saving persistent file
2018-12-05 22:51:09 DEBUG (Thread-13) [zigate] File already existing, make a backup before
2018-12-05 22:55:25 ERROR (MainThread) [homeassistant.components.updater] Got unexpected response: None
2018-12-05 22:56:09 DEBUG (Thread-14) [zigate] Auto saving /config/zigate.json
2018-12-05 22:56:09 DEBUG (Thread-14) [zigate] Saving persistent file
2018-12-05 22:56:09 DEBUG (Thread-14) [zigate] File already existing, make a backup before
2018-12-05 22:57:48 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-05 22:57:48 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'efbaf9010000ff010042001d0121db0b0328150421a81305211d00062401000000000a210000641000'
2018-12-05 22:57:48 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:239, addr:baf9, endpoint:1, cluster:0, attribute:65281, status:0, data_type:66, size:29, data:0121db0b0328150421a81305211d00062401000000000a210000641000, rssi:84
2018-12-05 22:57:48 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-05 22:57:48 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2018-12-05 23:01:09 DEBUG (Thread-15) [zigate] Auto saving /config/zigate.json
2018-12-05 23:01:09 DEBUG (Thread-15) [zigate] Saving persistent file
2018-12-05 23:01:09 DEBUG (Thread-15) [zigate] File already existing, make a backup before
2018-12-05 23:06:09 DEBUG (Thread-16) [zigate] Auto saving /config/zigate.json
2018-12-05 23:06:09 DEBUG (Thread-16) [zigate] Saving persistent file
2018-12-05 23:06:09 DEBUG (Thread-16) [zigate] File already existing, make a backup before
2018-12-05 23:08:39 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed
Traceback (most recent call last):
File "uvloop/handles/stream.pyx", line 609, in uvloop.loop.UVStream._on_eof
File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:841)
2018-12-05 23:08:39 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error errno:1 reason: WRONG_VERSION_NUMBER
Traceback (most recent call last):
File "uvloop/sslproto.pyx", line 504, in uvloop.loop.SSLProtocol.data_received
File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:841)
2018-12-05 23:11:09 DEBUG (Thread-17) [zigate] Auto saving /config/zigate.json
2018-12-05 23:11:09 DEBUG (Thread-17) [zigate] Saving persistent file
2018-12-05 23:11:09 DEBUG (Thread-17) [zigate] File already existing, make a backup before
2018-12-05 23:16:09 DEBUG (Thread-18) [zigate] Auto saving /config/zigate.json
2018-12-05 23:16:09 DEBUG (Thread-18) [zigate] Saving persistent file
2018-12-05 23:16:09 DEBUG (Thread-18) [zigate] File already existing, make a backup before
2018-12-05 23:21:09 DEBUG (Thread-19) [zigate] Auto saving /config/zigate.json
2018-12-05 23:21:09 DEBUG (Thread-19) [zigate] Saving persistent file
2018-12-05 23:21:09 DEBUG (Thread-19) [zigate] File already existing, make a backup before
2018-12-05 23:26:09 DEBUG (Thread-20) [zigate] Auto saving /config/zigate.json
2018-12-05 23:26:09 DEBUG (Thread-20) [zigate] Saving persistent file
2018-12-05 23:26:09 DEBUG (Thread-20) [zigate] File already existing, make a backup before
2018-12-05 23:31:09 DEBUG (Thread-21) [zigate] Auto saving /config/zigate.json
2018-12-05 23:31:09 DEBUG (Thread-21) [zigate] Saving persistent file
2018-12-05 23:31:09 DEBUG (Thread-21) [zigate] File already existing, make a backup before
2018-12-05 23:36:09 DEBUG (Thread-22) [zigate] Auto saving /config/zigate.json
2018-12-05 23:36:09 DEBUG (Thread-22) [zigate] Saving persistent file
2018-12-05 23:36:09 DEBUG (Thread-22) [zigate] File already existing, make a backup before
2018-12-05 23:37:07 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-05 23:37:07 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'e05cdd010000ff010042001d0121ef0b0328130421a81305210800062401000000000a210000641000'
2018-12-05 23:37:07 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:224, addr:5cdd, endpoint:1, cluster:0, attribute:65281, status:0, data_type:66, size:29, data:0121ef0b0328130421a81305210800062401000000000a210000641000, rssi:117
2018-12-05 23:37:07 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-05 23:37:07 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2018-12-05 23:41:09 DEBUG (Thread-23) [zigate] Auto saving /config/zigate.json
2018-12-05 23:41:09 DEBUG (Thread-23) [zigate] Saving persistent file
2018-12-05 23:41:09 DEBUG (Thread-23) [zigate] File already existing, make a backup before
2018-12-05 23:41:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-05 23:41:26 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'f0baf901000600000010000101'
2018-12-05 23:41:26 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:240, addr:baf9, endpoint:1, cluster:6, attribute:0, status:0, data_type:16, size:1, data:True, rssi:84
2018-12-05 23:41:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-05 23:41:26 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED <<<<<<------Door sensor stays open from this point onwards
2018-12-05 23:46:09 DEBUG (Thread-24) [zigate] Auto saving /config/zigate.json
2018-12-05 23:46:09 DEBUG (Thread-24) [zigate] Saving persistent file
2018-12-05 23:46:09 DEBUG (Thread-24) [zigate] File already existing, make a backup before
2018-12-05 23:51:09 DEBUG (Thread-25) [zigate] Auto saving /config/zigate.json
2018-12-05 23:51:09 DEBUG (Thread-25) [zigate] Saving persistent file
2018-12-05 23:51:09 DEBUG (Thread-25) [zigate] File already existing, make a backup before
2018-12-05 23:56:09 DEBUG (Thread-26) [zigate] Auto saving /config/zigate.json
2018-12-05 23:56:09 DEBUG (Thread-26) [zigate] Saving persistent file
2018-12-05 23:56:09 DEBUG (Thread-26) [zigate] File already existing, make a backup before
2018-12-06 00:00:00 DEBUG (SyncWorker_1) [zigate] REQUEST : 0x0015
2018-12-06 00:00:00 DEBUG (SyncWorker_1) [zigate] Msg to send b'0015000015'
2018-12-06 00:00:00 DEBUG (SyncWorker_1) [zigate] Encoded Msg to send b'01021015021002101503'
2018-12-06 00:00:00 DEBUG (SyncWorker_1) [zigate] Waiting for status message for command 0x0015
2018-12-06 00:00:03 WARNING (SyncWorker_1) [zigate] No response after command 0x0015
2018-12-06 00:01:09 DEBUG (Thread-27) [zigate] Auto saving /config/zigate.json
2018-12-06 00:01:09 DEBUG (Thread-27) [zigate] Saving persistent file
2018-12-06 00:01:09 DEBUG (Thread-27) [zigate] File already existing, make a backup before
2018-12-06 00:06:09 DEBUG (Thread-28) [zigate] Auto saving /config/zigate.json
2018-12-06 00:06:09 DEBUG (Thread-28) [zigate] Saving persistent file
2018-12-06 00:06:09 DEBUG (Thread-28) [zigate] File already existing, make a backup before
2018-12-06 00:11:09 DEBUG (Thread-29) [zigate] Auto saving /config/zigate.json
2018-12-06 00:11:09 DEBUG (Thread-29) [zigate] Saving persistent file
2018-12-06 00:11:09 DEBUG (Thread-29) [zigate] File already existing, make a backup before
2018-12-06 00:16:09 DEBUG (Thread-30) [zigate] Auto saving /config/zigate.json
2018-12-06 00:16:09 DEBUG (Thread-30) [zigate] Saving persistent file
2018-12-06 00:16:09 DEBUG (Thread-30) [zigate] File already existing, make a backup before
2018-12-06 00:21:09 DEBUG (Thread-31) [zigate] Auto saving /config/zigate.json
2018-12-06 00:21:09 DEBUG (Thread-31) [zigate] Saving persistent file
2018-12-06 00:21:09 DEBUG (Thread-31) [zigate] File already existing, make a backup before
2018-12-06 00:26:09 DEBUG (Thread-32) [zigate] Auto saving /config/zigate.json
2018-12-06 00:26:09 DEBUG (Thread-32) [zigate] Saving persistent file
2018-12-06 00:26:09 DEBUG (Thread-32) [zigate] File already existing, make a backup before
2018-12-06 00:31:09 DEBUG (Thread-33) [zigate] Auto saving /config/zigate.json
2018-12-06 00:31:09 DEBUG (Thread-33) [zigate] Saving persistent file
2018-12-06 00:31:09 DEBUG (Thread-33) [zigate] File already existing, make a backup before
2018-12-06 00:36:09 DEBUG (Thread-34) [zigate] Auto saving /config/zigate.json
2018-12-06 00:36:10 DEBUG (Thread-34) [zigate] Saving persistent file
2018-12-06 00:36:10 DEBUG (Thread-34) [zigate] File already existing, make a backup before
2018-12-06 00:41:10 DEBUG (Thread-35) [zigate] Auto saving /config/zigate.json
2018-12-06 00:41:10 DEBUG (Thread-35) [zigate] Saving persistent file
2018-12-06 00:41:10 DEBUG (Thread-35) [zigate] File already existing, make a backup before
2018-12-06 00:46:10 DEBUG (Thread-36) [zigate] Auto saving /config/zigate.json
2018-12-06 00:46:10 DEBUG (Thread-36) [zigate] Saving persistent file
2018-12-06 00:46:10 DEBUG (Thread-36) [zigate] File already existing, make a backup before
2018-12-06 00:46:51 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed
Traceback (most recent call last):
File "uvloop/handles/stream.pyx", line 609, in uvloop.loop.UVStream._on_eof
File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:841)
2018-12-06 00:46:51 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error errno:1 reason: WRONG_VERSION_NUMBER
Traceback (most recent call last):
File "uvloop/sslproto.pyx", line 504, in uvloop.loop.SSLProtocol.data_received
File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:841)
2018-12-06 00:51:10 DEBUG (Thread-37) [zigate] Auto saving /config/zigate.json
2018-12-06 00:51:10 DEBUG (Thread-37) [zigate] Saving persistent file
2018-12-06 00:51:10 DEBUG (Thread-37) [zigate] File already existing, make a backup before
2018-12-06 00:56:10 DEBUG (Thread-38) [zigate] Auto saving /config/zigate.json
2018-12-06 00:56:10 DEBUG (Thread-38) [zigate] Saving persistent file
2018-12-06 00:56:10 DEBUG (Thread-38) [zigate] File already existing, make a backup before
2018-12-06 01:01:10 DEBUG (Thread-39) [zigate] Auto saving /config/zigate.json
2018-12-06 01:01:10 DEBUG (Thread-39) [zigate] Saving persistent file
2018-12-06 01:01:10 DEBUG (Thread-39) [zigate] File already existing, make a backup before
2018-12-06 01:06:10 DEBUG (Thread-40) [zigate] Auto saving /config/zigate.json
2018-12-06 01:06:10 DEBUG (Thread-40) [zigate] Saving persistent file
2018-12-06 01:06:10 DEBUG (Thread-40) [zigate] File already existing, make a backup before
2018-12-06 01:11:10 DEBUG (Thread-41) [zigate] Auto saving /config/zigate.json
2018-12-06 01:11:10 DEBUG (Thread-41) [zigate] Saving persistent file
2018-12-06 01:11:10 DEBUG (Thread-41) [zigate] File already existing, make a backup before
2018-12-06 01:16:10 DEBUG (Thread-42) [zigate] Auto saving /config/zigate.json
2018-12-06 01:16:10 DEBUG (Thread-42) [zigate] Saving persistent file
2018-12-06 01:16:10 DEBUG (Thread-42) [zigate] File already existing, make a backup before
2018-12-06 01:21:10 DEBUG (Thread-43) [zigate] Auto saving /config/zigate.json
2018-12-06 01:21:10 DEBUG (Thread-43) [zigate] Saving persistent file
2018-12-06 01:21:10 DEBUG (Thread-43) [zigate] File already existing, make a backup before
2018-12-06 01:26:10 DEBUG (Thread-44) [zigate] Auto saving /config/zigate.json
2018-12-06 01:26:10 DEBUG (Thread-44) [zigate] Saving persistent file
2018-12-06 01:26:10 DEBUG (Thread-44) [zigate] File already existing, make a backup before
2018-12-06 01:31:10 DEBUG (Thread-45) [zigate] Auto saving /config/zigate.json
2018-12-06 01:31:10 DEBUG (Thread-45) [zigate] Saving persistent file
2018-12-06 01:31:10 DEBUG (Thread-45) [zigate] File already existing, make a backup before
2018-12-06 01:36:10 DEBUG (Thread-46) [zigate] Auto saving /config/zigate.json
2018-12-06 01:36:10 DEBUG (Thread-46) [zigate] Saving persistent file
2018-12-06 01:36:10 DEBUG (Thread-46) [zigate] File already existing, make a backup before
2018-12-06 01:41:10 DEBUG (Thread-47) [zigate] Auto saving /config/zigate.json
2018-12-06 01:41:10 DEBUG (Thread-47) [zigate] Saving persistent file
2018-12-06 01:41:10 DEBUG (Thread-47) [zigate] File already existing, make a backup before
2018-12-06 01:46:10 DEBUG (Thread-48) [zigate] Auto saving /config/zigate.json
2018-12-06 01:46:10 DEBUG (Thread-48) [zigate] Saving persistent file
2018-12-06 01:46:10 DEBUG (Thread-48) [zigate] File already existing, make a backup before
2018-12-06 01:51:10 DEBUG (Thread-49) [zigate] Auto saving /config/zigate.json
2018-12-06 01:51:10 DEBUG (Thread-49) [zigate] Saving persistent file
2018-12-06 01:51:10 DEBUG (Thread-49) [zigate] File already existing, make a backup before
2018-12-06 01:56:10 DEBUG (Thread-50) [zigate] Auto saving /config/zigate.json
2018-12-06 01:56:10 DEBUG (Thread-50) [zigate] Saving persistent file
2018-12-06 01:56:10 DEBUG (Thread-50) [zigate] File already existing, make a backup before
2018-12-06 02:01:10 DEBUG (Thread-51) [zigate] Auto saving /config/zigate.json
2018-12-06 02:01:10 DEBUG (Thread-51) [zigate] Saving persistent file
2018-12-06 02:01:10 DEBUG (Thread-51) [zigate] File already existing, make a backup before
2018-12-06 02:06:10 DEBUG (Thread-52) [zigate] Auto saving /config/zigate.json
2018-12-06 02:06:10 DEBUG (Thread-52) [zigate] Saving persistent file
2018-12-06 02:06:10 DEBUG (Thread-52) [zigate] File already existing, make a backup before
2018-12-06 02:11:10 DEBUG (Thread-53) [zigate] Auto saving /config/zigate.json
2018-12-06 02:11:10 DEBUG (Thread-53) [zigate] Saving persistent file
2018-12-06 02:11:10 DEBUG (Thread-53) [zigate] File already existing, make a backup before
2018-12-06 02:16:10 DEBUG (Thread-54) [zigate] Auto saving /config/zigate.json
2018-12-06 02:16:10 DEBUG (Thread-54) [zigate] Saving persistent file
2018-12-06 02:16:10 DEBUG (Thread-54) [zigate] File already existing, make a backup before
2018-12-06 02:21:10 DEBUG (Thread-55) [zigate] Auto saving /config/zigate.json
2018-12-06 02:21:10 DEBUG (Thread-55) [zigate] Saving persistent file
2018-12-06 02:21:10 DEBUG (Thread-55) [zigate] File already existing, make a backup before
2018-12-06 02:26:10 DEBUG (Thread-56) [zigate] Auto saving /config/zigate.json
2018-12-06 02:26:10 DEBUG (Thread-56) [zigate] Saving persistent file
2018-12-06 02:26:10 DEBUG (Thread-56) [zigate] File already existing, make a backup before
2018-12-06 02:31:10 DEBUG (Thread-57) [zigate] Auto saving /config/zigate.json
2018-12-06 02:31:10 DEBUG (Thread-57) [zigate] Saving persistent file
2018-12-06 02:31:10 DEBUG (Thread-57) [zigate] File already existing, make a backup before
2018-12-06 02:36:10 DEBUG (Thread-58) [zigate] Auto saving /config/zigate.json
2018-12-06 02:36:10 DEBUG (Thread-58) [zigate] Saving persistent file
2018-12-06 02:36:10 DEBUG (Thread-58) [zigate] File already existing, make a backup before
2018-12-06 02:40:12 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed
Traceback (most recent call last):
File "uvloop/handles/stream.pyx", line 609, in uvloop.loop.UVStream._on_eof
File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:841)
2018-12-06 02:40:12 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error errno:1 reason: WRONG_VERSION_NUMBER
Traceback (most recent call last):
File "uvloop/sslproto.pyx", line 504, in uvloop.loop.SSLProtocol.data_received
File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
File "uvloop/sslproto.pyx", line 171, in uvloop.loop._SSLPipe.feed_ssldata
File "/usr/local/lib/python3.6/ssl.py", line 689, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:841)
2018-12-06 02:41:10 DEBUG (Thread-59) [zigate] Auto saving /config/zigate.json
2018-12-06 02:41:10 DEBUG (Thread-59) [zigate] Saving persistent file
2018-12-06 02:41:10 DEBUG (Thread-59) [zigate] File already existing, make a backup before
2018-12-06 02:46:10 DEBUG (Thread-60) [zigate] Auto saving /config/zigate.json
2018-12-06 02:46:10 DEBUG (Thread-60) [zigate] Saving persistent file
2018-12-06 02:46:10 DEBUG (Thread-60) [zigate] File already existing, make a backup before
2018-12-06 02:51:10 DEBUG (Thread-61) [zigate] Auto saving /config/zigate.json
2018-12-06 02:51:10 DEBUG (Thread-61) [zigate] Saving persistent file
2018-12-06 02:51:10 DEBUG (Thread-61) [zigate] File already existing, make a backup before
2018-12-06 02:56:10 DEBUG (Thread-62) [zigate] Auto saving /config/zigate.json
2018-12-06 02:56:10 DEBUG (Thread-62) [zigate] Saving persistent file
2018-12-06 02:56:10 DEBUG (Thread-62) [zigate] File already existing, make a backup before
2018-12-06 03:01:10 DEBUG (Thread-63) [zigate] Auto saving /config/zigate.json
2018-12-06 03:01:10 DEBUG (Thread-63) [zigate] Saving persistent file
2018-12-06 03:01:10 DEBUG (Thread-63) [zigate] File already existing, make a backup before
2018-12-06 03:06:10 DEBUG (Thread-64) [zigate] Auto saving /config/zigate.json
2018-12-06 03:06:10 DEBUG (Thread-64) [zigate] Saving persistent file
2018-12-06 03:06:10 DEBUG (Thread-64) [zigate] File already existing, make a backup before
2018-12-06 03:11:10 DEBUG (Thread-65) [zigate] Auto saving /config/zigate.json
2018-12-06 03:11:10 DEBUG (Thread-65) [zigate] Saving persistent file
2018-12-06 03:11:10 DEBUG (Thread-65) [zigate] File already existing, make a backup before
2018-12-06 03:16:10 DEBUG (Thread-66) [zigate] Auto saving /config/zigate.json
2018-12-06 03:16:10 DEBUG (Thread-66) [zigate] Saving persistent file
2018-12-06 03:16:10 DEBUG (Thread-66) [zigate] File already existing, make a backup before
2018-12-06 03:21:10 DEBUG (Thread-67) [zigate] Auto saving /config/zigate.json
2018-12-06 03:21:10 DEBUG (Thread-67) [zigate] Saving persistent file
2018-12-06 03:21:10 DEBUG (Thread-67) [zigate] File already existing, make a backup before
2018-12-06 03:26:10 DEBUG (Thread-68) [zigate] Auto saving /config/zigate.json
2018-12-06 03:26:10 DEBUG (Thread-68) [zigate] Saving persistent file
2018-12-06 03:26:10 DEBUG (Thread-68) [zigate] File already existing, make a backup before
2018-12-06 03:31:10 DEBUG (Thread-69) [zigate] Auto saving /config/zigate.json
2018-12-06 03:31:10 DEBUG (Thread-69) [zigate] Saving persistent file
2018-12-06 03:31:10 DEBUG (Thread-69) [zigate] File already existing, make a backup before
2018-12-06 03:36:10 DEBUG (Thread-70) [zigate] Auto saving /config/zigate.json
2018-12-06 03:36:10 DEBUG (Thread-70) [zigate] Saving persistent file
2018-12-06 03:36:10 DEBUG (Thread-70) [zigate] File already existing, make a backup before
2018-12-06 03:41:10 DEBUG (Thread-71) [zigate] Auto saving /config/zigate.json
2018-12-06 03:41:10 DEBUG (Thread-71) [zigate] Saving persistent file
2018-12-06 03:41:10 DEBUG (Thread-71) [zigate] File already existing, make a backup before
2018-12-06 03:46:10 DEBUG (Thread-72) [zigate] Auto saving /config/zigate.json
2018-12-06 03:46:10 DEBUG (Thread-72) [zigate] Saving persistent file
2018-12-06 03:46:10 DEBUG (Thread-72) [zigate] File already existing, make a backup before
2018-12-06 03:51:10 DEBUG (Thread-73) [zigate] Auto saving /config/zigate.json
2018-12-06 03:51:10 DEBUG (Thread-73) [zigate] Saving persistent file
2018-12-06 03:51:10 DEBUG (Thread-73) [zigate] File already existing, make a backup before
2018-12-06 03:56:10 DEBUG (Thread-74) [zigate] Auto saving /config/zigate.json
2018-12-06 03:56:10 DEBUG (Thread-74) [zigate] Saving persistent file
2018-12-06 03:56:10 DEBUG (Thread-74) [zigate] File already existing, make a backup before
2018-12-06 04:01:10 DEBUG (Thread-75) [zigate] Auto saving /config/zigate.json
2018-12-06 04:01:10 DEBUG (Thread-75) [zigate] Saving persistent file
2018-12-06 04:01:10 DEBUG (Thread-75) [zigate] File already existing, make a backup before
2018-12-06 04:06:10 DEBUG (Thread-76) [zigate] Auto saving /config/zigate.json
2018-12-06 04:06:10 DEBUG (Thread-76) [zigate] Saving persistent file
2018-12-06 04:06:10 DEBUG (Thread-76) [zigate] File already existing, make a backup before
2018-12-06 04:11:10 DEBUG (Thread-77) [zigate] Auto saving /config/zigate.json
2018-12-06 04:11:10 DEBUG (Thread-77) [zigate] Saving persistent file
2018-12-06 04:11:10 DEBUG (Thread-77) [zigate] File already existing, make a backup before
2018-12-06 04:16:10 DEBUG (Thread-78) [zigate] Auto saving /config/zigate.json
2018-12-06 04:16:10 DEBUG (Thread-78) [zigate] Saving persistent file
2018-12-06 04:16:10 DEBUG (Thread-78) [zigate] File already existing, make a backup before
2018-12-06 04:21:10 DEBUG (Thread-79) [zigate] Auto saving /config/zigate.json
2018-12-06 04:21:10 DEBUG (Thread-79) [zigate] Saving persistent file
2018-12-06 04:21:10 DEBUG (Thread-79) [zigate] File already existing, make a backup before
2018-12-06 04:26:10 DEBUG (Thread-80) [zigate] Auto saving /config/zigate.json
2018-12-06 04:26:10 DEBUG (Thread-80) [zigate] Saving persistent file
2018-12-06 04:26:10 DEBUG (Thread-80) [zigate] File already existing, make a backup before
2018-12-06 04:31:10 DEBUG (Thread-81) [zigate] Auto saving /config/zigate.json
2018-12-06 04:31:10 DEBUG (Thread-81) [zigate] Saving persistent file
2018-12-06 04:31:10 DEBUG (Thread-81) [zigate] File already existing, make a backup before
2018-12-06 04:36:10 DEBUG (Thread-82) [zigate] Auto saving /config/zigate.json
2018-12-06 04:36:10 DEBUG (Thread-82) [zigate] Saving persistent file
2018-12-06 04:36:10 DEBUG (Thread-82) [zigate] File already existing, make a backup before
2018-12-06 04:41:10 DEBUG (Thread-83) [zigate] Auto saving /config/zigate.json
2018-12-06 04:41:10 DEBUG (Thread-83) [zigate] Saving persistent file
2018-12-06 04:41:10 DEBUG (Thread-83) [zigate] File already existing, make a backup before
2018-12-06 04:46:10 DEBUG (Thread-84) [zigate] Auto saving /config/zigate.json
2018-12-06 04:46:10 DEBUG (Thread-84) [zigate] Saving persistent file
2018-12-06 04:46:10 DEBUG (Thread-84) [zigate] File already existing, make a backup before
2018-12-06 04:51:10 DEBUG (Thread-85) [zigate] Auto saving /config/zigate.json
2018-12-06 04:51:10 DEBUG (Thread-85) [zigate] Saving persistent file
2018-12-06 04:51:10 DEBUG (Thread-85) [zigate] File already existing, make a backup before
2018-12-06 04:56:10 DEBUG (Thread-86) [zigate] Auto saving /config/zigate.json
2018-12-06 04:56:10 DEBUG (Thread-86) [zigate] Saving persistent file
2018-12-06 04:56:10 DEBUG (Thread-86) [zigate] File already existing, make a backup before
2018-12-06 05:01:10 DEBUG (Thread-87) [zigate] Auto saving /config/zigate.json
2018-12-06 05:01:10 DEBUG (Thread-87) [zigate] Saving persistent file
2018-12-06 05:01:10 DEBUG (Thread-87) [zigate] File already existing, make a backup before
2018-12-06 05:06:10 DEBUG (Thread-88) [zigate] Auto saving /config/zigate.json
2018-12-06 05:06:10 DEBUG (Thread-88) [zigate] Saving persistent file
2018-12-06 05:06:10 DEBUG (Thread-88) [zigate] File already existing, make a backup before
2018-12-06 05:11:10 DEBUG (Thread-89) [zigate] Auto saving /config/zigate.json
2018-12-06 05:11:10 DEBUG (Thread-89) [zigate] Saving persistent file
2018-12-06 05:11:10 DEBUG (Thread-89) [zigate] File already existing, make a backup before
2018-12-06 05:16:10 DEBUG (Thread-90) [zigate] Auto saving /config/zigate.json
2018-12-06 05:16:10 DEBUG (Thread-90) [zigate] Saving persistent file
2018-12-06 05:16:10 DEBUG (Thread-90) [zigate] File already existing, make a backup before
2018-12-06 05:21:10 DEBUG (Thread-91) [zigate] Auto saving /config/zigate.json
2018-12-06 05:21:10 DEBUG (Thread-91) [zigate] Saving persistent file
2018-12-06 05:21:10 DEBUG (Thread-91) [zigate] File already existing, make a backup before
2018-12-06 05:26:10 DEBUG (Thread-92) [zigate] Auto saving /config/zigate.json
2018-12-06 05:26:10 DEBUG (Thread-92) [zigate] Saving persistent file
2018-12-06 05:26:10 DEBUG (Thread-92) [zigate] File already existing, make a backup before
2018-12-06 05:31:10 DEBUG (Thread-93) [zigate] Auto saving /config/zigate.json
2018-12-06 05:31:10 DEBUG (Thread-93) [zigate] Saving persistent file
2018-12-06 05:31:10 DEBUG (Thread-93) [zigate] File already existing, make a backup before
2018-12-06 05:36:10 DEBUG (Thread-94) [zigate] Auto saving /config/zigate.json
2018-12-06 05:36:10 DEBUG (Thread-94) [zigate] Saving persistent file
2018-12-06 05:36:10 DEBUG (Thread-94) [zigate] File already existing, make a backup before
2018-12-06 05:41:10 DEBUG (Thread-95) [zigate] Auto saving /config/zigate.json
2018-12-06 05:41:10 DEBUG (Thread-95) [zigate] Saving persistent file
2018-12-06 05:41:10 DEBUG (Thread-95) [zigate] File already existing, make a backup before
2018-12-06 05:46:10 DEBUG (Thread-96) [zigate] Auto saving /config/zigate.json
2018-12-06 05:46:10 DEBUG (Thread-96) [zigate] Saving persistent file
2018-12-06 05:46:10 DEBUG (Thread-96) [zigate] File already existing, make a backup before
2018-12-06 05:51:10 DEBUG (Thread-97) [zigate] Auto saving /config/zigate.json
2018-12-06 05:51:10 DEBUG (Thread-97) [zigate] Saving persistent file
2018-12-06 05:51:10 DEBUG (Thread-97) [zigate] File already existing, make a backup before
2018-12-06 05:56:10 DEBUG (Thread-98) [zigate] Auto saving /config/zigate.json
2018-12-06 05:56:10 DEBUG (Thread-98) [zigate] Saving persistent file
2018-12-06 05:56:10 DEBUG (Thread-98) [zigate] File already existing, make a backup before
2018-12-06 06:01:10 DEBUG (Thread-99) [zigate] Auto saving /config/zigate.json
2018-12-06 06:01:10 DEBUG (Thread-99) [zigate] Saving persistent file
2018-12-06 06:01:10 DEBUG (Thread-99) [zigate] File already existing, make a backup before
2018-12-06 06:06:10 DEBUG (Thread-100) [zigate] Auto saving /config/zigate.json
2018-12-06 06:06:10 DEBUG (Thread-100) [zigate] Saving persistent file
2018-12-06 06:06:10 DEBUG (Thread-100) [zigate] File already existing, make a backup before
2018-12-06 06:11:10 DEBUG (Thread-101) [zigate] Auto saving /config/zigate.json
2018-12-06 06:11:10 DEBUG (Thread-101) [zigate] Saving persistent file
2018-12-06 06:11:10 DEBUG (Thread-101) [zigate] File already existing, make a backup before
2018-12-06 06:16:10 DEBUG (Thread-102) [zigate] Auto saving /config/zigate.json
2018-12-06 06:16:10 DEBUG (Thread-102) [zigate] Saving persistent file
2018-12-06 06:16:10 DEBUG (Thread-102) [zigate] File already existing, make a backup before
2018-12-06 06:21:10 DEBUG (Thread-103) [zigate] Auto saving /config/zigate.json
2018-12-06 06:21:10 DEBUG (Thread-103) [zigate] Saving persistent file
2018-12-06 06:21:10 DEBUG (Thread-103) [zigate] File already existing, make a backup before
2018-12-06 06:26:10 DEBUG (Thread-104) [zigate] Auto saving /config/zigate.json
2018-12-06 06:26:10 DEBUG (Thread-104) [zigate] Saving persistent file
2018-12-06 06:26:10 DEBUG (Thread-104) [zigate] File already existing, make a backup before
2018-12-06 06:31:10 DEBUG (Thread-105) [zigate] Auto saving /config/zigate.json
2018-12-06 06:31:10 DEBUG (Thread-105) [zigate] Saving persistent file
2018-12-06 06:31:10 DEBUG (Thread-105) [zigate] File already existing, make a backup before
2018-12-06 06:36:10 DEBUG (Thread-106) [zigate] Auto saving /config/zigate.json
2018-12-06 06:36:10 DEBUG (Thread-106) [zigate] Saving persistent file
2018-12-06 06:36:10 DEBUG (Thread-106) [zigate] File already existing, make a backup before
2018-12-06 06:41:11 DEBUG (Thread-107) [zigate] Auto saving /config/zigate.json
2018-12-06 06:41:11 DEBUG (Thread-107) [zigate] Saving persistent file
2018-12-06 06:41:11 DEBUG (Thread-107) [zigate] File already existing, make a backup before
2018-12-06 06:46:11 DEBUG (Thread-108) [zigate] Auto saving /config/zigate.json
2018-12-06 06:46:11 DEBUG (Thread-108) [zigate] Saving persistent file
2018-12-06 06:46:11 DEBUG (Thread-108) [zigate] File already existing, make a backup before
2018-12-06 06:51:11 DEBUG (Thread-109) [zigate] Auto saving /config/zigate.json
2018-12-06 06:51:11 DEBUG (Thread-109) [zigate] Saving persistent file
2018-12-06 06:51:11 DEBUG (Thread-109) [zigate] File already existing, make a backup before
2018-12-06 06:56:11 DEBUG (Thread-110) [zigate] Auto saving /config/zigate.json
2018-12-06 06:56:11 DEBUG (Thread-110) [zigate] Saving persistent file
2018-12-06 06:56:11 DEBUG (Thread-110) [zigate] File already existing, make a backup before
2018-12-06 07:01:11 DEBUG (Thread-111) [zigate] Auto saving /config/zigate.json
2018-12-06 07:01:11 DEBUG (Thread-111) [zigate] Saving persistent file
2018-12-06 07:01:11 DEBUG (Thread-111) [zigate] File already existing, make a backup before
2018-12-06 07:06:11 DEBUG (Thread-112) [zigate] Auto saving /config/zigate.json
2018-12-06 07:06:11 DEBUG (Thread-112) [zigate] Saving persistent file
2018-12-06 07:06:11 DEBUG (Thread-112) [zigate] File already existing, make a backup before
2018-12-06 07:11:11 DEBUG (Thread-113) [zigate] Auto saving /config/zigate.json
2018-12-06 07:11:11 DEBUG (Thread-113) [zigate] Saving persistent file
2018-12-06 07:11:11 DEBUG (Thread-113) [zigate] File already existing, make a backup before
2018-12-06 07:16:11 DEBUG (Thread-114) [zigate] Auto saving /config/zigate.json
2018-12-06 07:16:11 DEBUG (Thread-114) [zigate] Saving persistent file
2018-12-06 07:16:11 DEBUG (Thread-114) [zigate] File already existing, make a backup before
2018-12-06 07:21:11 DEBUG (Thread-115) [zigate] Auto saving /config/zigate.json
2018-12-06 07:21:11 DEBUG (Thread-115) [zigate] Saving persistent file
2018-12-06 07:21:11 DEBUG (Thread-115) [zigate] File already existing, make a backup before
2018-12-06 07:26:11 DEBUG (Thread-116) [zigate] Auto saving /config/zigate.json
2018-12-06 07:26:11 DEBUG (Thread-116) [zigate] Saving persistent file
2018-12-06 07:26:11 DEBUG (Thread-116) [zigate] File already existing, make a backup before
2018-12-06 07:31:11 DEBUG (Thread-117) [zigate] Auto saving /config/zigate.json
2018-12-06 07:31:11 DEBUG (Thread-117) [zigate] Saving persistent file
2018-12-06 07:31:11 DEBUG (Thread-117) [zigate] File already existing, make a backup before
2018-12-06 07:36:11 DEBUG (Thread-118) [zigate] Auto saving /config/zigate.json
2018-12-06 07:36:11 DEBUG (Thread-118) [zigate] Saving persistent file
2018-12-06 07:36:11 DEBUG (Thread-118) [zigate] File already existing, make a backup before
2018-12-06 07:41:11 DEBUG (Thread-119) [zigate] Auto saving /config/zigate.json
2018-12-06 07:41:11 DEBUG (Thread-119) [zigate] Saving persistent file
2018-12-06 07:41:11 DEBUG (Thread-119) [zigate] File already existing, make a backup before
2018-12-06 07:46:11 DEBUG (Thread-120) [zigate] Auto saving /config/zigate.json
2018-12-06 07:46:11 DEBUG (Thread-120) [zigate] Saving persistent file
2018-12-06 07:46:11 DEBUG (Thread-120) [zigate] File already existing, make a backup before
2018-12-06 07:51:11 DEBUG (Thread-121) [zigate] Auto saving /config/zigate.json
2018-12-06 07:51:11 DEBUG (Thread-121) [zigate] Saving persistent file
2018-12-06 07:51:11 DEBUG (Thread-121) [zigate] File already existing, make a backup before
2018-12-06 07:56:11 DEBUG (Thread-122) [zigate] Auto saving /config/zigate.json
2018-12-06 07:56:11 DEBUG (Thread-122) [zigate] Saving persistent file
2018-12-06 07:56:11 DEBUG (Thread-122) [zigate] File already existing, make a backup before
2018-12-06 08:01:11 DEBUG (Thread-123) [zigate] Auto saving /config/zigate.json
2018-12-06 08:01:11 DEBUG (Thread-123) [zigate] Saving persistent file
2018-12-06 08:01:11 DEBUG (Thread-123) [zigate] File already existing, make a backup before
2018-12-06 08:06:11 DEBUG (Thread-124) [zigate] Auto saving /config/zigate.json
2018-12-06 08:06:11 DEBUG (Thread-124) [zigate] Saving persistent file
2018-12-06 08:06:11 DEBUG (Thread-124) [zigate] File already existing, make a backup before
2018-12-06 08:11:11 DEBUG (Thread-125) [zigate] Auto saving /config/zigate.json
2018-12-06 08:11:11 DEBUG (Thread-125) [zigate] Saving persistent file
2018-12-06 08:11:11 DEBUG (Thread-125) [zigate] File already existing, make a backup before
2018-12-06 08:16:11 DEBUG (Thread-126) [zigate] Auto saving /config/zigate.json
2018-12-06 08:16:11 DEBUG (Thread-126) [zigate] Saving persistent file
2018-12-06 08:16:11 DEBUG (Thread-126) [zigate] File already existing, make a backup before
2018-12-06 08:21:11 DEBUG (Thread-127) [zigate] Auto saving /config/zigate.json
2018-12-06 08:21:11 DEBUG (Thread-127) [zigate] Saving persistent file
2018-12-06 08:21:11 DEBUG (Thread-127) [zigate] File already existing, make a backup before
2018-12-06 08:26:11 DEBUG (Thread-128) [zigate] Auto saving /config/zigate.json
2018-12-06 08:26:11 DEBUG (Thread-128) [zigate] Saving persistent file
2018-12-06 08:26:11 DEBUG (Thread-128) [zigate] File already existing, make a backup before
2018-12-06 08:31:11 DEBUG (Thread-129) [zigate] Auto saving /config/zigate.json
2018-12-06 08:31:11 DEBUG (Thread-129) [zigate] Saving persistent file
2018-12-06 08:31:11 DEBUG (Thread-129) [zigate] File already existing, make a backup before

Second log:
2018-12-06 08:38:12 DEBUG (SyncWorker_3) [zigate] Saving persistent file
2018-12-06 08:38:12 DEBUG (SyncWorker_3) [zigate] File already existing, make a backup before
2018-12-06 08:39:06 DEBUG (SyncWorker_2) [zigate] Try loading persistent file
2018-12-06 08:39:06 DEBUG (SyncWorker_2) [zigate] Load success
2018-12-06 08:39:07 DEBUG (SyncWorker_2) [zigate] ZiGate found on port 9999
2018-12-06 08:39:07 DEBUG (SyncWorker_2) [zigate] REQUEST : 0x0010
2018-12-06 08:39:07 DEBUG (SyncWorker_2) [zigate] Msg to send b'0010000010'
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'01021010021002101003'
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0010
2018-12-06 08:39:08 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-06 08:39:08 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000010'
2018-12-06 08:39:08 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', rssi:0
2018-12-06 08:39:08 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-06 08:39:08 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8010: b'0001030d'
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] STATUS code to command 0x0010:0
2018-12-06 08:39:08 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8010 - Version list : major:1, installer:30d, rssi:0, version:3.0d
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] Waiting for message 0x8010
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] Stop waiting, got message 0x8010
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] REQUEST : 0x0021 b'\x03\x18\xc8\x00'
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] Msg to send b'00210004f60318c800'
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'0102102102100214f6021318c8021003'
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0021
2018-12-06 08:39:08 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000021'
2018-12-06 08:39:08 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', rssi:0
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] STATUS code to command 0x0021:0
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] REQUEST : 0x0023 b'\x00'
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] Msg to send b'002300012200'
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'010210230210021122021003'
2018-12-06 08:39:08 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0023
2018-12-06 08:39:09 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-06 08:39:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000023'
2018-12-06 08:39:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', rssi:0
2018-12-06 08:39:09 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] STATUS code to command 0x0023:0
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] Check network state
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] REQUEST : 0x0024
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] Msg to send b'0024000024'
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'01021024021002102403'
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0024
2018-12-06 08:39:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000024'
2018-12-06 08:39:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', rssi:0
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] STATUS code to command 0x0024:0
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] REQUEST : 0x0009
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] Msg to send b'0009000009'
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'010210021902100210021903'
2018-12-06 08:39:09 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0009
2018-12-06 08:39:12 WARNING (SyncWorker_2) [zigate] No response after command 0x0009
2018-12-06 08:39:12 ERROR (SyncWorker_2) [zigate] Failed to get network state
2018-12-06 08:39:12 DEBUG (SyncWorker_2) [zigate] Network is down, start it
2018-12-06 08:39:12 DEBUG (SyncWorker_2) [zigate] REQUEST : 0x0024
2018-12-06 08:39:12 DEBUG (SyncWorker_2) [zigate] Msg to send b'0024000024'
2018-12-06 08:39:12 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'01021024021002102403'
2018-12-06 08:39:12 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0024
2018-12-06 08:39:15 WARNING (SyncWorker_2) [zigate] No response after command 0x0024
2018-12-06 08:39:15 DEBUG (SyncWorker_2) [zigate] REQUEST : 0x0015
2018-12-06 08:39:15 DEBUG (SyncWorker_2) [zigate] Msg to send b'0015000015'
2018-12-06 08:39:15 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'01021015021002101503'
2018-12-06 08:39:15 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0015
2018-12-06 08:39:16 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-06 08:39:16 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000009'
2018-12-06 08:39:16 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', rssi:0
2018-12-06 08:39:16 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-06 08:39:16 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8009: b'000000158d0001edb71264f243a94141081980450b'
2018-12-06 08:39:16 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8009 - Network state response : addr:0000, ieee:00158d0001edb712, pan:25842, extend_pan:4875499819169841221, channel:11, rssi:0
2018-12-06 08:39:18 WARNING (SyncWorker_2) [zigate] No response after command 0x0015
2018-12-06 08:39:18 DEBUG (SyncWorker_2) [zigate] Check Need refresh Device 00158d00024e6062 (baf9) lumi.sensor_magnet.aq2
2018-12-06 08:39:18 DEBUG (SyncWorker_2) [zigate] Check Need refresh Device 00158d0002536f0b (5cdd) lumi.sensor_magnet.aq2
2018-12-06 08:39:18 DEBUG (SyncWorker_2) [zigate] Auto saving /config/zigate.json
2018-12-06 08:39:18 DEBUG (SyncWorker_2) [zigate] Saving persistent file
2018-12-06 08:39:18 DEBUG (SyncWorker_2) [zigate] File already existing, make a backup before
2018-12-06 08:39:21 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-06 08:39:21 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000015'
2018-12-06 08:39:21 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:21, error:b'', rssi:0
2018-12-06 08:39:21 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-06 08:39:21 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8015: b'005cdd00158d0002536f0b006c01baf900158d00024e60620057'
2018-12-06 08:39:21 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8015 - Device list : devices:[OrderedDict([('id', 0), ('addr', '5cdd'), ('ieee', '00158d0002536f0b'), ('power_type', 0), ('rssi', 108)]), OrderedDict([('id', 1), ('addr', 'baf9'), ('ieee', '00158d00024e6062'), ('power_type', 0), ('rssi', 87)])], rssi:0
2018-12-06 08:39:21 DEBUG (ZiGate-Event Loop) [zigate] Known devices in zigate : {'5cdd', 'baf9'}
2018-12-06 08:39:21 DEBUG (ZiGate-Event Loop) [zigate] Previous devices missing : set()
2018-12-06 08:39:21 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_DEVICE_UPDATED
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'ffbaf901000600000010000101'
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:255, addr:baf9, endpoint:1, cluster:6, attribute:0, status:0, data_type:16, size:1, data:True, rssi:114
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'00baf901000600000010000100'
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:0, addr:baf9, endpoint:1, cluster:6, attribute:0, status:0, data_type:16, size:1, data:False, rssi:111
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'f15cdd01000600000010000101'
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:241, addr:5cdd, endpoint:1, cluster:6, attribute:0, status:0, data_type:16, size:1, data:True, rssi:99
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'f25cdd01000600000010000100'
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:242, addr:5cdd, endpoint:1, cluster:6, attribute:0, status:0, data_type:16, size:1, data:False, rssi:102
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'01baf90100000005004200166c756d692e73656e736f725f6d61676e65742e617132'
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:1, addr:baf9, endpoint:1, cluster:0, attribute:5, status:0, data_type:66, size:22, data:lumi.sensor_magnet.aq2, rssi:102
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'01baf9010000ff010042001d0121db0b0328170421a81305211d00062404000000000a210000641000'
2018-12-06 08:41:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:1, addr:baf9, endpoint:1, cluster:0, attribute:65281, status:0, data_type:66, size:29, data:0121db0b0328170421a81305211d00062404000000000a210000641000, rssi:102
2018-12-06 08:41:29 DEBUG (SyncWorker_4) [zigate] Saving persistent file
2018-12-06 08:41:29 DEBUG (SyncWorker_4) [zigate] File already existing, make a backup before
2018-12-06 08:41:39 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /homeassistant/restart request <<<<<<-------------- Start of second reboot
2018-12-06 08:42:06 DEBUG (SyncWorker_4) [zigate] Try loading persistent file
2018-12-06 08:42:06 DEBUG (SyncWorker_4) [zigate] Load success
2018-12-06 08:42:06 DEBUG (SyncWorker_4) [zigate] ZiGate found on port 9999
2018-12-06 08:42:06 DEBUG (SyncWorker_4) [zigate] REQUEST : 0x0010
2018-12-06 08:42:06 DEBUG (SyncWorker_4) [zigate] Msg to send b'0010000010'
2018-12-06 08:42:06 DEBUG (SyncWorker_4) [zigate] Encoded Msg to send b'01021010021002101003'
2018-12-06 08:42:06 DEBUG (SyncWorker_4) [zigate] Waiting for status message for command 0x0010
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000010'
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', rssi:0
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8010: b'0001030d'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] STATUS code to command 0x0010:0
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8010 - Version list : major:1, installer:30d, rssi:0, version:3.0d
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Waiting for message 0x8010
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Stop waiting, got message 0x8010
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] REQUEST : 0x0021 b'\x03\x18\xc8\x00'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Msg to send b'00210004f60318c800'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Encoded Msg to send b'0102102102100214f6021318c8021003'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Waiting for status message for command 0x0021
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000021'
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', rssi:0
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] STATUS code to command 0x0021:0
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] REQUEST : 0x0023 b'\x00'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Msg to send b'002300012200'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Encoded Msg to send b'010210230210021122021003'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Waiting for status message for command 0x0023
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000023'
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', rssi:0
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] STATUS code to command 0x0023:0
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Check network state
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] REQUEST : 0x0024
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Msg to send b'0024000024'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Encoded Msg to send b'01021024021002102403'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Waiting for status message for command 0x0024
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000024'
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', rssi:0
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] STATUS code to command 0x0024:0
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] REQUEST : 0x0009
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Msg to send b'0009000009'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Encoded Msg to send b'010210021902100210021903'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Waiting for status message for command 0x0009
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000009'
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', rssi:0
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] STATUS code to command 0x0009:0
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8009: b'000000158d0001edb71264f243a94141081980450b'
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Waiting for message 0x8009
2018-12-06 08:42:07 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8009 - Network state response : addr:0000, ieee:00158d0001edb712, pan:25842, extend_pan:4875499819169841221, channel:11, rssi:0
2018-12-06 08:42:07 DEBUG (SyncWorker_4) [zigate] Stop waiting, got message 0x8009
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] REQUEST : 0x0015
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] Msg to send b'0015000015'
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] Encoded Msg to send b'01021015021002101503'
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] Waiting for status message for command 0x0015
2018-12-06 08:42:08 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-06 08:42:08 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000015'
2018-12-06 08:42:08 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:21, error:b'', rssi:0
2018-12-06 08:42:08 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] STATUS code to command 0x0015:0
2018-12-06 08:42:08 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8015: b'005cdd00158d0002536f0b006901baf900158d00024e6062005d'
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] Waiting for message 0x8015
2018-12-06 08:42:08 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8015 - Device list : devices:[OrderedDict([('id', 0), ('addr', '5cdd'), ('ieee', '00158d0002536f0b'), ('power_type', 0), ('rssi', 105)]), OrderedDict([('id', 1), ('addr', 'baf9'), ('ieee', '00158d00024e6062'), ('power_type', 0), ('rssi', 93)])], rssi:0
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] Stop waiting, got message 0x8015
2018-12-06 08:42:08 DEBUG (ZiGate-Event Loop) [zigate] Known devices in zigate : {'5cdd', 'baf9'}
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] Check Need refresh Device 00158d00024e6062 (baf9) lumi.sensor_magnet.aq2
2018-12-06 08:42:08 DEBUG (ZiGate-Event Loop) [zigate] Previous devices missing : set()
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] Check Need refresh Device 00158d0002536f0b (5cdd) lumi.sensor_magnet.aq2
2018-12-06 08:42:08 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_DEVICE_UPDATED
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] Auto saving /config/zigate.json
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] Saving persistent file
2018-12-06 08:42:08 DEBUG (SyncWorker_4) [zigate] File already existing, make a backup before
2018-12-06 08:42:21 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-06 08:42:21 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'02baf901000600000010000101'
2018-12-06 08:42:21 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:2, addr:baf9, endpoint:1, cluster:6, attribute:0, status:0, data_type:16, size:1, data:True, rssi:96
2018-12-06 08:42:21 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-06 08:42:21 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2018-12-06 08:42:35 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-06 08:42:35 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'03baf901000600000010000100'
2018-12-06 08:42:35 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:3, addr:baf9, endpoint:1, cluster:6, attribute:0, status:0, data_type:16, size:1, data:False, rssi:105
2018-12-06 08:42:35 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-06 08:42:35 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2018-12-06 08:42:36 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-06 08:42:36 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'04baf901000600000010000101'
2018-12-06 08:42:36 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:4, addr:baf9, endpoint:1, cluster:6, attribute:0, status:0, data_type:16, size:1, data:True, rssi:96
2018-12-06 08:42:36 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-06 08:42:36 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2018-12-06 08:42:36 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'05baf901000600000010000100'
2018-12-06 08:42:36 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:5, addr:baf9, endpoint:1, cluster:6, attribute:0, status:0, data_type:16, size:1, data:False, rssi:93
2018-12-06 08:42:36 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'06baf9010000ff01004200090421a8130a21000073'
2018-12-06 08:42:36 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:6, addr:baf9, endpoint:1, cluster:0, attribute:65281, status:0, data_type:66, size:9, data:0421a8130a21000073, rssi:93

TRADFRI control outlet paired as a light

I have recently paired the newest IKEA release, the TRADFRI control outlet, and the switch functionality works like a charm, except it is being added as a light component.

This is the zigate.<ieee> device info:

battery_voltage: null
battery_level: 100
rssi_percent: 29
type: TRADFRI control outlet
manufacturer: 117c
receiver_on_when_idle: true
missing: false
addr: d558
bit_field: 0100000000000001
descriptor_capability: 00000000
id: 51
ieee: d0cf5efffe6d744c
last_seen: 2018-12-03 19:25:18
mac_capability: 10001110
max_buffer: 82
max_rx: 82
max_tx: 82
power_type: 1
rssi: 75
server_mask: 11264
friendly_name: Device d0cf5efffe6d744c (d558) TRADFRI control outlet
icon: mdi:access-point

And this is the light.zigate_<ieee> entity:

addr: d558
ieee: d0cf5efffe6d744c
endpoint: 1
friendly_name: Device d0cf5efffe6d744c (d558) TRADFRI control outlet 1
supported_features: 33

The component shows a brightness control.

Zigate almost unusable after latest update

Hi, yesterday I updated your module after some time.
Everything went crazy: a lot of delay for turning on/off lights, almost no Xiaomi sensors working, and it even slowed down Home Assistant.

https://termbin.com/cw2g

BTW: status are unsynced on almost every light. WiFi lights are working good, Zigbee lights are now a mess, almost none light/outlet synced with Home Assistant status (and discovery / refresh doesn't work anymore).

APS data confirm fail on battery powered devices

Hi,
I have this error in logs for two motion detection sensor:

2019-07-25 12:53:03 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x81\x02\x12\x02\x10 X\xb4\xcf\xcc\x02\x11\x02\x10\x02\x10\xff\x02\x12\x02\x10B\x02\x10\x13\x10\x02\x11!\xa9\x02\x1b!\xa8\x13$\x02\x11\x02\
x10\x02\x10\x02\x10\x02\x10!\x14\x02\x10 T\x8d\x03'
2019-07-25 12:53:04 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-07-25 12:53:04 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'b4cfcc010000ff0200420013100121a90b21a8132401000000002114002054'
2019-07-25 12:53:04 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:180, addr:cfcc, endpoint:1, cluster:0, attribute:65282, status:0, data_type:66, size:19, data:100121a90b
21a8132401000000002114002054, lqi:141
2019-07-25 12:53:04 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-07-25 12:53:04 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-07-25 12:53:11 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x87\x02\x12\x02\x10\x02\x1e\x98\xf0\x02\x11\x02\x11\x02\x12\xcf\xcc\x02\x10\x02\x10\x02\x10\x02\x10\x02\x10\x02\x10\xe2\x02\x10\x03'
2019-07-25 12:53:11 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-07-25 12:53:11 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8702: b'f0010102cfcc000000000000e2'
2019-07-25 12:53:11 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:cfcc, sequence:226, lqi:0
2019-07-25 12:53:11 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:cfcc, sequence:226, lqi:0
2019-07-25 12:53:11 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED

When I look to timestamp errors this error happens every 55 minutes:

2019-07-25 06:21:37 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:1abc, sequence:223, lqi:0
2019-07-25 06:34:33 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:cfcc, sequence:242, lqi:0
2019-07-25 07:16:38 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:1abc, sequence:47, lqi:0
2019-07-25 07:26:07 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:cfcc, sequence:59, lqi:0
2019-07-25 08:11:42 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:1abc, sequence:121, lqi:0
2019-07-25 08:18:34 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:cfcc, sequence:132, lqi:0
2019-07-25 09:06:43 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:1abc, sequence:192, lqi:0
2019-07-25 09:13:04 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:cfcc, sequence:200, lqi:0
2019-07-25 09:59:04 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:1abc, sequence:13, lqi:0
2019-07-25 10:08:08 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:cfcc, sequence:24, lqi:0
2019-07-25 10:54:08 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:1abc, sequence:80, lqi:0
2019-07-25 11:03:11 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:cfcc, sequence:90, lqi:0
2019-07-25 11:49:09 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:1abc, sequence:148, lqi:0
2019-07-25 11:58:11 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:cfcc, sequence:158, lqi:0
2019-07-25 12:44:10 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:1abc, sequence:208, lqi:0
2019-07-25 12:53:11 ERROR (ZiGate-Decode data) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:240, source_endpoint:1, dst_endpoint:1, dst_address_mode:2, dst_address:cfcc, sequence:226, lqi:0

If there's no motion detection the sensor is not awake and does not respond to zigate calls so I guess the error is normal.
Any idea what could generate this error ?

PR #20 - more events

I created PR some time ago, but no comment/action, so creating issues to not lose it.

Aucun retour d'état micro-module Legrand

Salut @doudz, j'ai essayé d'installer mon premier device Zigbee le micromodule Legrand 300W récemment mais il ne fonctionne pas correctement sour HA, la commande pour l'allumer ou l'éteindre fonctionne correctement mais le retour d'état n'a jamais fonctionné. Je suis obligé de faire un refresh_device manuellement pour obtenir l'état correctement.
Voici mes logs, à 38 secondes, la commande, le reste c'est le refresh_device :

019-02-18 19:22:38 DEBUG (SyncWorker_5) [zigate] REQUEST : 0x0092 b'\x02$\x8a\x01\x01\x01'
2019-02-18 19:22:38 DEBUG (SyncWorker_5) [zigate] Msg to send b'009200063902248a010101'
2019-02-18 19:22:38 DEBUG (SyncWorker_5) [zigate] Encoded Msg to send b'0102109202100216390212248a02110211021103'
2019-02-18 19:22:38 DEBUG (SyncWorker_5) [zigate] Waiting for status message for command 0x0092
2019-02-18 19:22:38 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xfb\x02\x10\xec\x02\x10\x92\x02\x10\x03'
2019-02-18 19:22:38 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:38 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00ec0092'
2019-02-18 19:22:38 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:236, packet_type:146, error:b'', rssi:0
2019-02-18 19:22:38 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:38 DEBUG (SyncWorker_5) [zigate] STATUS code to command 0x0092:RESPONSE 0x8000 - Status response : status:0, sequence:236, packet_type:146, error:b'', rssi:0
2019-02-18 19:22:43 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0100 b'\x02$\x8a\x01\x01\x00\x00\x00\x00\x00\x00\n\x00\x05\xff\xfd\x00\x00\x00\x01\x00\x02\x00\x03\x00\x04\x00\x06\x00\x07\xf0\x00'
2019-02-18 19:22:43 DEBUG (SyncWorker_0) [zigate] Msg to send b'010000207502248a01010000000000000a0005fffd0000000100020003000400060007f000'
2019-02-18 19:22:43 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'0102110210021020750212248a02110211021002100210021002100210021a02100215fffd02100210021002110210021202100213021002140210021602100217f0021003'
2019-02-18 19:22:43 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0100
2019-02-18 19:22:43 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15i\x02\x10\xed\x02\x11\x02\x10\x02\x10\x03'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00ed0100'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:237, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:237, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0100 b'\x02$\x8a\x01\x01\x00\x00\x00\x00\x00\x00\x05\x00\x08\x00\t\x00\n\x00\x0b@\x00'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Msg to send b'01000016fe02248a01010000000000000500080009000a000b4000'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'0102110210021016fe0212248a02110211021002100210021002100210021502100218021002190210021a0210021b40021003'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0100
2019-02-18 19:22:44 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15j\x02\x10\xee\x02\x11\x02\x10\x02\x10\x03'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00ee0100'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:238, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:238, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0100 b'\x02$\x8a\x01\x01\x00\x06\x00\x00\x00\x00\x06\x00\x00@\x00@\x01@\x02@\x03\xff\xfd'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Msg to send b'01000018b702248a01010006000000000600004000400140024003fffd'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'0102110210021018b70212248a02110211021002160210021002100210021602100210400210400211400212400213fffd03'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0100
2019-02-18 19:22:44 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15k\x02\x10\xef\x02\x11\x02\x10\x02\x10\x03'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00ef0100'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:239, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:239, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0100 b'\x02$\x8a\x01\x01\x00\x0f\x00\x00\x00\x00\x04\x00U\x00Q\x00o\xff\xfd'
2019-02-18 19:22:44 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x81\x02\x12\x02\x10\x02\x1e\x95\xef$\x8a\x02\x11\x02\x10\x02\x16\x02\x10\x02\x10\x02\x10\x10\x02\x10\x02\x11\x02\x11N\x03\x01\x81\x02\x12\x02\x10\x02\x1e\xd5\xef$\x8a\x02\x11\x02\x10\x02\x16@\x02\x10\x02\x10\x10\x02\x10\x02\x11\x02\x11N\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xe6\xef$\x8a\x02\x11\x02\x10\x02\x16@\x02\x11\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x10N\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xe5\xef$\x8a\x02\x11\x02\x10\x02\x16@\x02\x12\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x10N\x03\x01\x81\x02\x12\x02\x10\x02\x1e\x02\x18\xef$\x8a\x02\x11\x02\x10\x02\x16@\x02\x13\x02\x100\x02\x10\x02\x11\xffN\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xa4\xef$\x8a\x02\x11\x02\x10\x02\x16\xff\xfd\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x11N\x03'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Msg to send b'01000014db02248a0101000f000000000400550051006ffffd'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'0102110210021014db0212248a021102110210021f0210021002100210021402105502105102106ffffd03'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0100
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'ef248a01000600000010000101'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:239, addr:248a, endpoint:1, cluster:6, attribute:0, status:0, data_type:16, size:1, data:True, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'ef248a01000640000010000101'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:239, addr:248a, endpoint:1, cluster:6, attribute:16384, status:0, data_type:16, size:1, data:True, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 6, 'addr': '248a', 'attribute': 0, 'data': True, 'name': 'onoff', 'type': <class 'bool'>, 'value': True}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'ef248a0100064001002100020000'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15t\x02\x10\xf0\x02\x11\x02\x10\x02\x10\x03\x01\x81\x02\x12\x02\x10\x02\x1e\xd7\xf0$\x8a\x02\x11\x02\x10\x02\x1f\x02'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:239, addr:248a, endpoint:1, cluster:6, attribute:16385, status:0, data_type:33, size:2, data:0, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 6, 'addr': '248a', 'attribute': 16384, 'data': True}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'ef248a0100064002002100020000'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:239, addr:248a, endpoint:1, cluster:6, attribute:16386, status:0, data_type:33, size:2, data:0, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'ef248a010006400300300001ff'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 6, 'addr': '248a', 'attribute': 16385, 'data': 0}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:239, addr:248a, endpoint:1, cluster:6, attribute:16387, status:0, data_type:48, size:1, data:-1, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'ef248a010006fffd002100020001'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 6, 'addr': '248a', 'attribute': 16386, 'data': 0}
2019-02-18 19:22:44 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x10U\x02\x10\x10\x02\x10\x02\x11\x02\x10N\x03\x01\x81\x02\x12\x02\x10\x02\x1e\xd3\xf0$\x8a\x02\x11\x02\x10\x02\x1f\x02\x10Q\x02\x10\x10\x02\x10\x02\x11\x02\x10N\x03\x01\x81\x02\x12\x02\x10\x02\x1e\xdd\xf0$\x8a\x02\x11\x02\x10\x02\x1f\x02\x10o\x02\x10 \x02\x10\x02\x11\x02\x10N\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xb2\xf0$\x8a\x02\x11\x02\x10\x02\x1f\xff\xfd\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x11N\x03'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:239, addr:248a, endpoint:1, cluster:6, attribute:65533, status:0, data_type:33, size:2, data:1, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00f00100'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 6, 'addr': '248a', 'attribute': 16387, 'data': -1}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:240, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 6, 'addr': '248a', 'attribute': 65533, 'data': 1}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:240, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0100 b'\x02$\x8a\x01\x01\x00\x03\x00\x00\x00\x00\x02\x00\x00\xff\xfd'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Msg to send b'01000010be02248a0101000300000000020000fffd'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'0102110210021010be0212248a02110211021002130210021002100210021202100210fffd03'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0100
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f0248a01000f00550010000100'
2019-02-18 19:22:44 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15u\x02\x10\xf1\x02\x11\x02\x10\x02\x10\x03'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:240, addr:248a, endpoint:1, cluster:15, attribute:85, status:0, data_type:16, size:1, data:False, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f0248a01000f00510010000100'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:240, addr:248a, endpoint:1, cluster:15, attribute:81, status:0, data_type:16, size:1, data:False, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 15, 'addr': '248a', 'attribute': 85, 'data': False}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f0248a01000f006f0020000100'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:240, addr:248a, endpoint:1, cluster:15, attribute:111, status:0, data_type:32, size:1, data:0, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f0248a01000ffffd002100020001'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 15, 'addr': '248a', 'attribute': 81, 'data': False}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:240, addr:248a, endpoint:1, cluster:15, attribute:65533, status:0, data_type:33, size:2, data:1, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00f10100'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x81\x02\x12\x02\x10\x02\x1f\xbc\xf1$\x8a\x02\x11\x02\x10\x02\x13\x02\x10\x02\x10\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x10N\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xbf\xf1$\x8a\x02\x11\x02\x10\x02\x13\xff\xfd\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x11N\x03'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 15, 'addr': '248a', 'attribute': 111, 'data': 0}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:241, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 15, 'addr': '248a', 'attribute': 65533, 'data': 1}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:241, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0100 b'\x02$\x8a\x01\x01\x00\x04\x00\x00\x00\x00\x02\x00\x00\xff\xfd'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Msg to send b'01000010b902248a0101000400000000020000fffd'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'0102110210021010b90212248a02110211021002140210021002100210021202100210fffd03'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0100
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15v\x02\x10\xf2\x02\x11\x02\x10\x02\x10\x03\x01\x81\x02\x12\x02\x10\x02\x1e\x86\xf2$\x8a\x02\x11\x02\x10\x02\x14\x02\x10\x02\x10\x02\x10\x18\x02\x10\x02\x11\x02\x10K\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xbe\xf2$\x8a\x02\x11\x02\x10\x02\x14\xff\xfd\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x11K\x03'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f1248a0100030000002100020000'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:241, addr:248a, endpoint:1, cluster:3, attribute:0, status:0, data_type:33, size:2, data:0, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f1248a010003fffd002100020001'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 3, 'addr': '248a', 'attribute': 0, 'data': 0}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:241, addr:248a, endpoint:1, cluster:3, attribute:65533, status:0, data_type:33, size:2, data:1, rssi:78
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00f20100'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 3, 'addr': '248a', 'attribute': 65533, 'data': 1}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:242, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f2248a01000400000018000100'
2019-02-18 19:22:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:242, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:242, addr:248a, endpoint:1, cluster:4, attribute:0, status:0, data_type:24, size:1, data:0, rssi:75
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f2248a010004fffd002100020001'
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0100 b'\x02$\x8a\x01\x01\x00\x05\x00\x00\x00\x00\x06\x00\x00\x00\x01\x00\x02\x00\x03\x00\x04\xff\xfd'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:242, addr:248a, endpoint:1, cluster:4, attribute:65533, status:0, data_type:33, size:2, data:1, rssi:75
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Msg to send b'01000018b002248a01010005000000000600000001000200030004fffd'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 4, 'addr': '248a', 'attribute': 0, 'data': 0}
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'0102110210021018b00212248a0211021102100215021002100210021002160210021002100211021002120210021302100214fffd03'
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 4, 'addr': '248a', 'attribute': 65533, 'data': 1}
2019-02-18 19:22:44 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0100
2019-02-18 19:22:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15w\x02\x10\xf3\x02\x11\x02\x10\x02\x10\x03'
2019-02-18 19:22:45 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x81\x02\x12\x02\x10\x02\x1e\xbb\xf3$\x8a\x02\x11\x02\x10\x02\x15\x02\x10\x02\x10\x02\x10 \x02\x10\x02\x11\x02\x10N\x03\x01\x81\x02\x12\x02\x10\x02\x1e\xba\xf3$\x8a\x02\x11\x02\x10\x02\x15\x02\x10\x02\x11\x02\x10 \x02\x10\x02\x11\x02\x10N\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xba\xf3$\x8a\x02\x11\x02\x10\x02\x15\x02\x10\x02\x12\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x10N\x03\x01\x81\x02\x12\x02\x10\x02\x1e\x89\xf3$\x8a\x02\x11\x02\x10\x02\x15\x02\x10\x02\x13\x02\x10\x10\x02\x10\x02\x11\x02\x11N\x03\x01\x81\x02\x12\x02\x10\x02\x1e\x87\xf3$\x8a\x02\x11\x02\x10\x02\x15\x02\x10\x02\x14\x02\x10\x18\x02\x10\x02\x11\x02\x10N\x03\x01\x81\x02\x12\x02\x10\x02\x1f\xbb\xf3$\x8a\x02\x11\x02\x10\x02\x15\xff\xfd\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x11N\x03'
2019-02-18 19:22:45 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00f30100'
2019-02-18 19:22:45 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:243, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f3248a01000500000020000100'
2019-02-18 19:22:45 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:243, addr:248a, endpoint:1, cluster:5, attribute:0, status:0, data_type:32, size:1, data:0, rssi:78
2019-02-18 19:22:45 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:243, packet_type:256, error:b'', rssi:0
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f3248a01000500010020000100'
2019-02-18 19:22:45 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:243, addr:248a, endpoint:1, cluster:5, attribute:1, status:0, data_type:32, size:1, data:0, rssi:78
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f3248a0100050002002100020000'
2019-02-18 19:22:45 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 5, 'addr': '248a', 'attribute': 0, 'data': 0}
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:243, addr:248a, endpoint:1, cluster:5, attribute:2, status:0, data_type:33, size:2, data:0, rssi:78
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f3248a01000500030010000101'
2019-02-18 19:22:45 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 5, 'addr': '248a', 'attribute': 1, 'data': 0}
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:243, addr:248a, endpoint:1, cluster:5, attribute:3, status:0, data_type:16, size:1, data:True, rssi:78
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f3248a01000500040018000100'
2019-02-18 19:22:45 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 5, 'addr': '248a', 'attribute': 2, 'data': 0}
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:243, addr:248a, endpoint:1, cluster:5, attribute:4, status:0, data_type:24, size:1, data:0, rssi:78
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'f3248a010005fffd002100020001'
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 5, 'addr': '248a', 'attribute': 3, 'data': True}
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:243, addr:248a, endpoint:1, cluster:5, attribute:65533, status:0, data_type:33, size:2, data:1, rssi:78
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 5, 'addr': '248a', 'attribute': 4, 'data': 0}
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device None Micromodule switch (248a) 00047400001d47a9 {'endpoint': 1, 'cluster': 5, 'addr': '248a', 'attribute': 65533, 'data': 1}
2019-02-18 19:22:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED

J'ai tenté le runner sur le device discover_services + reboot mais ça ne change rien, je suis toujours obligé de faire le retour de l'état manuellement :)

Issue with Xiaomi Aqara button single click

Hello,
I'm having trouble to use the Xiaomi Aqara buttun (ref:WXKG11LM) with your application. The double and tripe click works fine but the single click is ofter not seen. I’m wordering if it’s not due to a backend task of AppDaemon which is looking for states changes and as the single click is a quick double state change (off->on->off), it doesn’t not always see it.
On home assistant, the event is easelly seen.

Here my code, it is basic, just for testing :
import appdaemon.plugins.hass.hassapi as hass

class test(hass.Hass):

def initialize(self):
    self.log("Initialisation of class 'test'")
    self.handle_sensor_callback = self.listen_state(self.sensor_callback, "binary_sensor.zigate_00158d0002130dd6_onoff")

def sensor_callback(self, param1, param2, param3, param4, kwargs):
    self.log("DEBUG: sensor_callback single click")

Is there any way to correct this on Appdaemon or your lib please? let me know if you need any information.
Thanks for your help.
Max

No module named 'zigate'

Hello,,

I want to test your component with HomeAssistant.
I have copied the content of the repo to my custom_components folder.

Then, I have updated my configuration.json with

# Enable ZiGate (port will be auto-discovered)
zigate:
  
logger:
  default: error
  logs:
    zigate: debug
    custom_components.zigate: debug

But I got an exception at startup:

2019-01-23 22:23:06 ERROR (MainThread) [homeassistant.setup] Error during setup of component zigate
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/zigate/__init__.py", line 102, in setup
    import zigate
ModuleNotFoundError: No module named 'zigate'

Do you have any idea ?

Unable to install packages

Hello,

Firstly, i want to say I use Raspberry Pi 4 (4Go) with Raspbian buster + Pizigate freshly ordered

I'm not sure Pizigate works fine because test script is not developped yet for Rpi4, but control of blue led seems to work. (https://zigate.fr/documentation/parametrer-la-pizigate/)

I followed instruction about installation, but configuration.yaml doesn't accept this part :

homeassistant:
  packages: !include_dir_named packages

When I use configuration validator, here's the response :

Invalid config for [automation]: required key not provided @ data['action']. Got None
required key not provided @ data['trigger']. Got None. (See ?, line ?).
Please check the docs at https://home-assistant.io/components/automation/


Moreover I didn't succeed to use developer/services and call 'zigate.permit_join'.
I've got fail response too :

Échec d'appel du service "zigate/permit_join". 'NoneType' object has no attribute 'is_connected'

Do you have any idea to fix my problem ?
Thank you

Network map problem

Hi doudz,

Thank you very much for this feature !
But I have a problem , the png is never generated , because HA always retart before the end of the process.

I looks like an infinite loop on the same command.

Here are the full log and zigate.json files :
home-assistant.log
zigate.json

Install PiZigate for Hassio

Hi Doudz,
I have installed the PiZigate on Raspbian on a separate RPI and wanted to connect it to Hassio (using another RPI).

I have installed the Zigate platform in config file but Hassio return the following error Zigate platform is not set up.

Is it possible to use the PiZigate as I have done? Why Zigate platform does not load on Hassio?

Sorry about easy question but really little info with PiZigate and Hassio install.

Charles

New device not automatically added to list

When a successfully added a new device, I receive the appropriate notification in the home but the zigate panel don't show it in his list and the activity handle by this object will not visible in HA without restarting it

Reset everything on Home Assistant

Hi, after adding Ikea tradfi bulbs using zigate method (Zigate permit join / On-off 6 times the bulb). My lamp worked perfectly by using home assistant. I wanted to try by adding the Ikea dimmer to the zigate as well. No problems with that.

After that, i did the joining between the dimmer and the light by pressing the join button on the dimmer close to the light.
After several tries, it worked

I wanted to try if the light was still available with the dimmer even when the raspberry is switched off and now i have a problem as the Ikea light doesn’t update its status on Hass.

I’ve tried by doing discovery and refresh devices but it doesn’t seems to work. The Bulb can be controlled by the dimmer in Hass but doesn’t update the status on the toogle switch as well as when i try to switch on by the toggle switch, it passes on and 2 seconds later, it passes off and the light is switched on but always at low luminosity.

I want to reset everything on the zigate in order to do a fresh inclusion of all my devices (Aqara devices + lights).

I tried to do a zigate.reset on Hass but it doesn’t seem to work as all my xiaomi devices are still updated.

Is there a way in Hass or in Zigate config files to remove all the stored devices to add them again properly (BTW, where the devices are stored ? On the zigate or on the Zigate config files ?)

Last question but only for my knowledge, If i add the devices on hass and i want to switch the zigate to domoticz. Do i have to perform the permit_join again on domoticz or the devices will be added automatically

Thanks

cover support

I'm trying to use the Legrand mentioned in doudz/zigate#63 with this module.

my first issue was that the cover module is not listed in the supported platforms:

SUPPORTED_PLATFORMS = ('sensor',
'binary_sensor',
'switch',
'light')

this is pretty easy to fix, so I added it to the list.

Adding this line enables the cover module and a cover device gets created:

2019-04-25 09:38:29 DEBUG (SyncWorker_15) [custom_components.zigate] Add device Legrand Shutter switch with neutral (828f) 0004740000815460
2019-04-25 09:38:30 DEBUG (SyncWorker_7) [custom_components.zigate.cover] Creating cover for device Legrand Shutter switch with neutral (828f) 0004740000815460 1

I'm a bit confused with the fact 2 devices get created:
0004740000815460 and 0004740000815460_1.

0004740000815460_1 seems to be the one I'm interested in, however HA lists it as UNAVAILABLE which it is not. If I press one of the 2 buttons on the switch, I can see the zigate logs on HA debugs so I believe it is connected fine.

sample debugs

2019-04-25 09:42:30 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x81\x02\x12\x02\x10\x02\x1eQ\xca\x82\x8f\x02\x11\x02\x11\x02\x12\x02\x10\x02\x18\x02\x10 \x02\x10\x02\x11dT\x03'
2019-04-25 09:42:30 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-25 09:42:30 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'ca828f01010200080020000164'
2019-04-25 09:42:30 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:202, addr:828f, endpoint:1, cluster:258, attribute:8, status:0, data_type:32, size:1, data:100, lqi:84
2019-04-25 09:42:30 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-04-25 09:42:30 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device Legrand Shutter switch with neutral (828f) 0004740000815460 {'endpoint': 1, 'cluster': 258, 'addr': '828f', 'attribute': 8, 'data': 100, 'name': 'current_position_lift_percentage', 'value': 100}

I can see the 0004740000815460 device but no actions are available, and because 0004740000815460_1 remains unavailable, I can't really do anything with it.

I tried deleting the devices from HA, deleting the zigate.json and restarting. I'm not too sure how the availability state is computed ? Can you help ?

Note: I'm a new to HA, sorry if I missed something obvious?

first start of component error

I've just found that since 0.88 deps are located in python3.7 previously was 3.6.
So hass need to download the lib again and I had an error at the first run. Restarting hass solved the issue.
So now I've completely delete my deps directory and the error is happening again at first start:

2019-02-25 15:08:11 INFO (SyncWorker_5) [homeassistant.util.package] Attempting install of zigate==0.28.1
2019-02-25 15:08:12 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 0.8 seconds.
2019-02-25 15:08:16 INFO (MainThread) [homeassistant.setup] Setting up zigate
2019-02-25 15:08:16 INFO (MainThread) [homeassistant.setup] Setting up tts
2019-02-25 15:08:16 INFO (MainThread) [homeassistant.setup] Setting up cloud
2019-02-25 15:08:16 INFO (MainThread) [homeassistant.setup] Setup of domain cloud took 0.0 seconds.
2019-02-25 15:08:16 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.kodi
2019-02-25 15:08:16 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.kodi
2019-02-25 15:08:16 ERROR (MainThread) [homeassistant.setup] Error during setup of component zigate
Traceback (most recent call last):
File "/usr/src/app/homeassistant/setup.py", line 154, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/zigate/init.py", line 137, in setup
import zigate
ModuleNotFoundError: No module named 'zigate'

Just FYI because as before a restart of hass solve the issue.

zigate.climate error: SUPPORT_AWAY_MODE

Hello,

I have an error in the logs after HA boots:
2019-07-24 15:58:57 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform zigate.climate: Platform not found (cannot import name 'SUPPORT_AWAY_MODE' from 'homeassistant.components.climate.const' (/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/climate/const.py)).

I don't know if it's related to an HA upate or a zigate update
Begun with HA 0.95 and still present with HA 0.96

b0kar

Status not synced for IKEA bulb and outlet

Hi,

Yesterday I updated everything to hassos, updated zigate fw to latest version and paired all my devices.
I added a new device, a little E14 Tradfri bulb for my desk lamp.
But, it's not responding very well.
Turning it off from HA -> lamp turn off, but status in HA quickly turn to off, then on again.
I can set brightness and temperature, but cannot have its status synced.
It was very difficult to had it paired, because a lot of times it just stayed as a simple unrecognized element. Only after 5/6 try, it paired.

2019-04-24 00:22:15 DEBUG (SyncWorker_2) [zigate] REQUEST : 0x0092 b'\x02\xd6\xa8\x01\x01\x00'
2019-04-24 00:22:15 DEBUG (SyncWorker_2) [zigate] Msg to send b'00920006e802d6a8010100'
2019-04-24 00:22:15 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'0102109202100216e80212d6a802110211021003'
2019-04-24 00:22:15 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0092
2019-04-24 00:22:16 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15m\x02\x10z\x02\x10\x92\x02\x10\x03'
2019-04-24 00:22:16 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:16 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'007a0092'
2019-04-24 00:22:16 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:122, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:16 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:16 DEBUG (SyncWorker_2) [zigate] STATUS code to command 0x0092:RESPONSE 0x8000 - Status response : status:0, sequence:122, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:20 DEBUG (SyncWorker_7) [zigate] REQUEST : 0x0092 b'\x02\xd6\xa8\x01\x01\x00'
2019-04-24 00:22:20 DEBUG (SyncWorker_7) [zigate] Msg to send b'00920006e802d6a8010100'
2019-04-24 00:22:20 DEBUG (SyncWorker_7) [zigate] Encoded Msg to send b'0102109202100216e80212d6a802110211021003'
2019-04-24 00:22:20 DEBUG (SyncWorker_7) [zigate] Waiting for status message for command 0x0092
2019-04-24 00:22:20 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15l\x02\x10{\x02\x10\x92\x02\x10\x03'
2019-04-24 00:22:20 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:20 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'007b0092'
2019-04-24 00:22:20 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:123, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:20 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:20 DEBUG (SyncWorker_7) [zigate] STATUS code to command 0x0092:RESPONSE 0x8000 - Status response : status:0, sequence:123, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:23 DEBUG (SyncWorker_19) [zigate] REQUEST : 0x0092 b'\x02\xd6\xa8\x01\x01\x00'
2019-04-24 00:22:23 DEBUG (SyncWorker_19) [zigate] Msg to send b'00920006e802d6a8010100'
2019-04-24 00:22:23 DEBUG (SyncWorker_19) [zigate] Encoded Msg to send b'0102109202100216e80212d6a802110211021003'
2019-04-24 00:22:23 DEBUG (SyncWorker_19) [zigate] Waiting for status message for command 0x0092
2019-04-24 00:22:23 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15k\x02\x10|\x02\x10\x92\x02\x10\x03'
2019-04-24 00:22:23 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:23 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'007c0092'
2019-04-24 00:22:23 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:124, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:23 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:23 DEBUG (SyncWorker_19) [zigate] STATUS code to command 0x0092:RESPONSE 0x8000 - Status response : status:0, sequence:124, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:24 DEBUG (SyncWorker_10) [zigate] REQUEST : 0x0092 b'\x02\xd6\xa8\x01\x01\x01'
2019-04-24 00:22:24 DEBUG (SyncWorker_10) [zigate] Msg to send b'00920006e902d6a8010101'
2019-04-24 00:22:24 DEBUG (SyncWorker_10) [zigate] Encoded Msg to send b'0102109202100216e90212d6a802110211021103'
2019-04-24 00:22:24 DEBUG (SyncWorker_10) [zigate] Waiting for status message for command 0x0092
2019-04-24 00:22:24 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15j\x02\x10}\x02\x10\x92\x02\x10\x03'
2019-04-24 00:22:24 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:24 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'007d0092'
2019-04-24 00:22:24 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:125, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:24 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:24 DEBUG (SyncWorker_10) [zigate] STATUS code to command 0x0092:RESPONSE 0x8000 - Status response : status:0, sequence:125, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:27 DEBUG (SyncWorker_11) [zigate] REQUEST : 0x0081 b'\x02\xd6\xa8\x01\x01\x01N\x00\x00'
2019-04-24 00:22:27 DEBUG (SyncWorker_11) [zigate] Msg to send b'00810009bb02d6a80101014e0000'
2019-04-24 00:22:27 DEBUG (SyncWorker_11) [zigate] Encoded Msg to send b'0102108102100219bb0212d6a80211021102114e0210021003'
2019-04-24 00:22:27 DEBUG (SyncWorker_11) [zigate] Waiting for status message for command 0x0081
2019-04-24 00:22:27 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15z\x02\x10~\x02\x10\x81\x02\x10\x03'
2019-04-24 00:22:27 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:27 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'007e0081'
2019-04-24 00:22:27 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:126, packet_type:129, error:b'', lqi:0
2019-04-24 00:22:27 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:27 DEBUG (SyncWorker_11) [zigate] STATUS code to command 0x0081:RESPONSE 0x8000 - Status response : status:0, sequence:126, packet_type:129, error:b'', lqi:0
2019-04-24 00:22:28 DEBUG (SyncWorker_4) [zigate] REQUEST : 0x0081 b'\x02\xd6\xa8\x01\x01\x01\xa2\x00\x00'
2019-04-24 00:22:28 DEBUG (SyncWorker_4) [zigate] Msg to send b'008100095702d6a8010101a20000'
2019-04-24 00:22:28 DEBUG (SyncWorker_4) [zigate] Encoded Msg to send b'0102108102100219570212d6a8021102110211a20210021003'
2019-04-24 00:22:28 DEBUG (SyncWorker_4) [zigate] Waiting for status message for command 0x0081
2019-04-24 00:22:28 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15{\x02\x10\x7f\x02\x10\x81\x02\x10\x03'
2019-04-24 00:22:28 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:28 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'007f0081'
2019-04-24 00:22:28 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:127, packet_type:129, error:b'', lqi:0
2019-04-24 00:22:28 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:28 DEBUG (SyncWorker_4) [zigate] STATUS code to command 0x0081:RESPONSE 0x8000 - Status response : status:0, sequence:127, packet_type:129, error:b'', lqi:0
2019-04-24 00:22:30 DEBUG (SyncWorker_6) [zigate] REQUEST : 0x0081 b'\x02\xd6\xa8\x01\x01\x01\xf1\x00\x00'
2019-04-24 00:22:30 DEBUG (SyncWorker_6) [zigate] Msg to send b'008100090402d6a8010101f10000'
2019-04-24 00:22:30 DEBUG (SyncWorker_6) [zigate] Encoded Msg to send b'010210810210021902140212d6a8021102110211f10210021003'
2019-04-24 00:22:30 DEBUG (SyncWorker_6) [zigate] Waiting for status message for command 0x0081
2019-04-24 00:22:30 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x84\x02\x10\x80\x02\x10\x81\x02\x10\x03'
2019-04-24 00:22:30 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:30 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00800081'
2019-04-24 00:22:30 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:128, packet_type:129, error:b'', lqi:0
2019-04-24 00:22:30 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:30 DEBUG (SyncWorker_6) [zigate] STATUS code to command 0x0081:RESPONSE 0x8000 - Status response : status:0, sequence:128, packet_type:129, error:b'', lqi:0
2019-04-24 00:22:30 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0081 b'\x02\xd6\xa8\x01\x01\x01\xfe\x00\x00'
2019-04-24 00:22:30 DEBUG (SyncWorker_0) [zigate] Msg to send b'008100090b02d6a8010101fe0000'
2019-04-24 00:22:30 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'0102108102100219021b0212d6a8021102110211fe0210021003'
2019-04-24 00:22:30 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0081
2019-04-24 00:22:31 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x85\x02\x10\x81\x02\x10\x81\x02\x10\x03'
2019-04-24 00:22:31 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:31 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00810081'
2019-04-24 00:22:31 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:129, packet_type:129, error:b'', lqi:0
2019-04-24 00:22:31 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:31 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0081:RESPONSE 0x8000 - Status response : status:0, sequence:129, packet_type:129, error:b'', lqi:0
2019-04-24 00:22:32 DEBUG (SyncWorker_18) [zigate] REQUEST : 0x0092 b'\x02\xd6\xa8\x01\x01\x01'
2019-04-24 00:22:32 DEBUG (SyncWorker_18) [zigate] Msg to send b'00920006e902d6a8010101'
2019-04-24 00:22:32 DEBUG (SyncWorker_18) [zigate] Encoded Msg to send b'0102109202100216e90212d6a802110211021103'
2019-04-24 00:22:32 DEBUG (SyncWorker_18) [zigate] Waiting for status message for command 0x0092
2019-04-24 00:22:33 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x95\x02\x10\x82\x02\x10\x92\x02\x10\x03'
2019-04-24 00:22:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00820092'
2019-04-24 00:22:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:130, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:33 DEBUG (SyncWorker_18) [zigate] STATUS code to command 0x0092:RESPONSE 0x8000 - Status response : status:0, sequence:130, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:33 DEBUG (SyncWorker_18) [zigate] REQUEST : 0x00c0 b'\x02\xd6\xa8\x01\x01\x01\x0e\x00\x00'
2019-04-24 00:22:33 DEBUG (SyncWorker_18) [zigate] Msg to send b'00c00009ba02d6a80101010e0000'
2019-04-24 00:22:33 DEBUG (SyncWorker_18) [zigate] Encoded Msg to send b'010210c002100219ba0212d6a8021102110211021e0210021003'
2019-04-24 00:22:33 DEBUG (SyncWorker_18) [zigate] Waiting for status message for command 0x00c0
2019-04-24 00:22:33 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xc6\x02\x10\x83\x02\x10\xc0\x02\x10\x03'
2019-04-24 00:22:33 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:33 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'008300c0'
2019-04-24 00:22:33 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:131, packet_type:192, error:b'', lqi:0
2019-04-24 00:22:33 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:33 DEBUG (SyncWorker_18) [zigate] STATUS code to command 0x00c0:RESPONSE 0x8000 - Status response : status:0, sequence:131, packet_type:192, error:b'', lqi:0
2019-04-24 00:22:34 DEBUG (SyncWorker_15) [zigate] REQUEST : 0x0092 b'\x02\xd6\xa8\x01\x01\x01'
2019-04-24 00:22:34 DEBUG (SyncWorker_15) [zigate] Msg to send b'00920006e902d6a8010101'
2019-04-24 00:22:34 DEBUG (SyncWorker_15) [zigate] Encoded Msg to send b'0102109202100216e90212d6a802110211021103'
2019-04-24 00:22:34 DEBUG (SyncWorker_15) [zigate] Waiting for status message for command 0x0092
2019-04-24 00:22:34 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\x93\x02\x10\x84\x02\x10\x92\x02\x10\x03'
2019-04-24 00:22:34 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:34 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00840092'
2019-04-24 00:22:34 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:132, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:34 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:34 DEBUG (SyncWorker_15) [zigate] STATUS code to command 0x0092:RESPONSE 0x8000 - Status response : status:0, sequence:132, packet_type:146, error:b'', lqi:0
2019-04-24 00:22:34 DEBUG (SyncWorker_15) [zigate] REQUEST : 0x00c0 b'\x02\xd6\xa8\x01\x01\x01\x7f\x00\x00'
2019-04-24 00:22:34 DEBUG (SyncWorker_15) [zigate] Msg to send b'00c00009cb02d6a80101017f0000'
2019-04-24 00:22:34 DEBUG (SyncWorker_15) [zigate] Encoded Msg to send b'010210c002100219cb0212d6a80211021102117f0210021003'
2019-04-24 00:22:34 DEBUG (SyncWorker_15) [zigate] Waiting for status message for command 0x00c0
2019-04-24 00:22:34 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xc0\x02\x10\x85\x02\x10\xc0\x02\x10\x03'
2019-04-24 00:22:34 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-04-24 00:22:34 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'008500c0'
2019-04-24 00:22:34 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:133, packet_type:192, error:b'', lqi:0
2019-04-24 00:22:34 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-04-24 00:22:34 DEBUG (SyncWorker_15) [zigate] STATUS code to command 0x00c0:RESPONSE 0x8000 - Status response : status:0, sequence:133, packet_type:192, error:b'', lqi:0

Unable to install package zigate==0.29.1 using hassio

Hi doudz,

The last version does not work with hassio.
gcc is not available on hassio docker image, wiringpi could not be build :/

2019-03-15 14:44:35 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package zigate==0.29.1: Failed building wheel for wiringpi
Command "/usr/local/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-2mh7fmbw/wiringpi/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-k1bxssnv/install-record.txt --single-version-externally-managed --prefix --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-2mh7fmbw/wiringpi/

Is there a way to ignore this dependency ?

After restarting HA zigate sensors do not appear

It happens from time to time. On the log I see:
" File "/config/deps/lib/python3.6/site-packages/zigate/core.py", line 244, in autoStart
version = self.get_version()
File "/config/deps/lib/python3.6/site-packages/zigate/core.py", line 622, in get_version
self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'"
After another restart it usually goes away.

no information of ikea remote

Hello,

I upgraded the zigate to 3.0f.
so i tried to pair the remote on/off ( with the plug ).

After pairing it ( 4 click on the pair button), red light :

2019-02-16 18:38:52 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x02\x10M\x02\x10\x02\x1c\xb6\xbf\xac\x02\x10\x02\x1do\xff\xfe\x02\x1eFO\x80\x02\x10\x03'
2019-02-16 18:38:52 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-16 18:38:52 DEBUG (ZiGate-Decode data) [zigate] Received response 0x004d: b'bfac000d6ffffe0e464f80'
2019-02-16 18:38:52 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x004D - Device announce : addr:bfac, ieee:000d6ffffe0e464f, mac_capability:10000000, rssi:0
2019-02-16 18:38:52 DEBUG (ZiGate-Decode data) [zigate] Device Announce RESPONSE 0x004D - Device announce : addr:bfac, ieee:000d6ffffe0e464f, mac_capability:10000000, rssi:0
2019-02-16 18:38:52 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_DEVICE_UPDATED
2019-02-16 18:38:52 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update device Device  (bfac) 000d6ffffe0e464f
2019-02-16 18:38:52 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED

After hass restart :

2019-02-16 18:37:58 WARNING (Thread-2) [zigate] No response waiting for type
2019-02-16 18:37:58 WARNING (Thread-2) [zigate] No type (modelIdentifier) for device bfac
2019-02-16 18:37:58 DEBUG (Thread-2) [zigate] Need discovery : no type

2019-02-16 18:37:58 DEBUG (Thread-2) [zigate] Need discovery : no endpoints
2019-02-16 18:37:58 DEBUG (Thread-2) [zigate] Dispatch ZIGATE_DEVICE_NEED_DISCOVERY

After pairing no information ..., not be able to run refresh_device in order to get missing information.

After calling "refresh_device" there is nothing in the logs :/

an idea ?

Probleme avec prise Tradfri (IKEA)

Salut Doudz,
Je viens encore t'embeter avec mes problèmes :D
Je t'explique vite fait :
J'ai depuis 2 semaines 1 prise tradfri qui marche niquel avec ton module. Comme l'essaie fut super concluant j'en ai acheté plusieurs autres (12 au total :D ). Cependant je tombe sur un soucis avec les nouvelles prises (même ref bien sur) : elles apparaissent bien dans HA, mais impossible de les allumer/eteindre. Le plus marrant, c'est que la première, celle installée il a 2 semaines marche toujours impeccablement bien.

Voici les logs lors d'une tentative d'allumage :

2019-02-03 13:42:05 DEBUG (SyncWorker_19) [zigate] REQUEST : 0x0092 b'\x02H\xf1\x01\x01\x01'
2019-02-03 13:42:05 DEBUG (SyncWorker_19) [zigate] Msg to send b'009200062e0248f1010101'
2019-02-03 13:42:05 DEBUG (SyncWorker_19) [zigate] Encoded Msg to send b'01021092021002162e021248f102110211021103'
2019-02-03 13:42:05 DEBUG (SyncWorker_19) [zigate] Waiting for status message for command 0x0092
2019-02-03 13:42:05 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xd6\x02\x10\xc1\x02\x10\x92\x02\x10\x03'
2019-02-03 13:42:05 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-03 13:42:05 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'00c10092'
2019-02-03 13:42:05 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:193, packet_type:146, error:b'', rssi:0
2019-02-03 13:42:05 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-03 13:42:05 DEBUG (SyncWorker_19) [zigate] STATUS code to command 0x0092:RESPONSE 0x8000 - Status response : status:0, sequence:193, packet_type:146, error:b'', rssi:0`

Tu en penses quoi? C'est moi qui bug?

Merci à toi encore. Ton travail est tellement précieux pour moi!

Phillips Hue LWB010 pas de retour d'état (je crois)

Bonjour Doudz.
Je me permet d'écrire en français, c'est plus simple pour moi et pour toi ^^.
Déjà, merci pour ce plugin. J'ai fait le tour des solutions compatible avec le zigate (jeedom + plugin abeille, Jeedom + plugin zigate [dont tu t'occupes aussi je crois], et Home Assistant + plugin zigate). Et pour l'instant c'est celui ci qui me donne le plus de satisfaction. HA est tellement plus réactif que Jeedom, c'est fou.
Cependant j'ai un petit problème avec une seule ampoule chez moi (c'est la seule que j'ai de ce modèle donc je ne sais pas si le problème vient de moi, l'ampoule, le zigate (3.0f), ou le component). En effet mon ampoule Hue LWB010 répond bien aux commandes envoyé depuis HA, mais le retour d'état n'intervient que quand je fait un "zigate.refresh_device". Sans ça, quand je clique par exemple pour allumer l'ampoule éteinte, le curseur revient 1 seconde après en position éteint, malgré que l'ampoule se soit bien allumée. De plus la date d'update ne change pas. Le toggle du coup, ne marche pas non plus (une fois l'ampoule allumé, HA pense qu'elle est eteinte, donc ne fait plus rien).

Bref, est-ce un probleme connu? Penses tu que c'est lié à la version du firmware du zigate? Penses tu que je risque de tout devoir reconfigurer dans HA si je reviens à la 3.0e?
Merci à toi et bonne journée.

OSRAM smartplug not extending Zigbee network

Hi,

After pairing 3 smartplugs from OSRAM (near the coordinator) and moving them to their places only one is responding to command although the others are 3 meters from the working one. Tried forcing a network reconfiguration by disconnecting the ZiGate for 15 minutes but no success.

They are supposed to act as repeaters but does't seem to be extending the Zigbee signal.

Is there a way to see the role the plugs are having in the Zigbee topology?

Regards.

Logs from the operation of trying to turn on one of the smartplugs that doesn't work:

2018-12-20 21:56:57 DEBUG (SyncWorker_0) [zigate] REQUEST : 0x0092 b'\x02\xaep\x01\x03\x01'
2018-12-20 21:56:57 DEBUG (SyncWorker_0) [zigate] Msg to send b'009200064b02ae70010301'
2018-12-20 21:56:57 DEBUG (SyncWorker_0) [zigate] Encoded Msg to send b'01021092021002164b0212ae7002110213021103'
2018-12-20 21:56:57 DEBUG (SyncWorker_0) [zigate] Waiting for status message for command 0x0092
2018-12-20 21:56:57 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-20 21:56:57 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'001b0092'
2018-12-20 21:56:57 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:27, packet_type:146, error:b'', rssi:0
2018-12-20 21:56:57 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-20 21:56:57 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8702: b'd4010302ae7000000000000036'
2018-12-20 21:56:57 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8702 - APS Data Confirm Fail : status:212, source_endpoint:1, dst_endpoint:3, dst_address_mode:2, dst_address:12569546559991054336, sequence:54, rssi:43
2018-12-20 21:56:57 DEBUG (SyncWorker_0) [zigate] STATUS code to command 0x0092:0

Plus de statut "clic maintenu" sur les interrupteur Xiaomi Aqara.

Salut Doudz
Je viens d'installe la dernière version sur une installation HA neuve (pour essayer de solutionner mon probleme d'hier). J'ai remarqué que maintenant les switchs (double et simple) de Xiaomi ne retourne plus les statuts "wakeup" (pour Double click) "flip_90_81" (pour simple clic) & "shake" (pour clic maintenu) dans HA mais à la place 0, 1 et 2. C'est top, car plus clair.
Cependant, il ne passe plus rien en cas de clic maintenu.

Merci à toi.
(Désolé, je te fait beaucoup de retour)

Can't run OTA updates for TRADFRI devices

Hi,
I have been trying to update my TRADFRI devices with latest firmwares that can be found here: https://fw.ota.homesmart.ikea.net/feed/version_info.json but whenever I try to load a firmware I have a warning like so:

Header size(3684586090) and file size(174150) does not match
00:37 custom_components/zigate/__init__.py (ERROR)
Header size(1177025433) and file size(205190) does not match
00:31 custom_components/zigate/__init__.py (ERROR)

Am I the only one? Is there something I am missing ?
Thanks :)

OSRAM smartplug not pairing

Hi,

After pluging the OSRAM plug and calling permit join it will not pair to pair to ZiGate.

Is there any other step that I need to execute?

Thanks,
João

What to do once paired

Hi.

I just bought the Zigate and setup you program.
I instantly got the entities to appear thank you, but now I have no idea how to tell Hassio that this one is a switch, this one is a light, etc..., they all appear as entities with no attributes.
What should I write down once paired?

Tradfri: ampoule E27 (1000 lumen)

Bonjour, J'ai acheté des ampoules E27 Ikea, j'ai appairé une ampoule avec la zigate ( mis à jour en firmware 3.0 f) .
Je peux allumer et l’éteindre l'ampoule mais j'ai aucun retour d'état dans Home Assistant, j'ai fais un rafraîchissement de la zigate dans la partie service, mais aucun changement .
J'ai aussi la variation de lumière qui est inversé. (100 vers 0)
home-assistant.log

Binary sensor stuck on open

Hi,

Binary sensor status stop to work (door was stuck on open state). Log bellow is related to a reboot and pair of the same device to see if it would reset status.

Currently the door sensor is stuck on open.

After some more analysis the sensor gets updated but the binary_sensor doesn't. I need to manually change the state of the binary sensor to go back to door closed. Although next time I open the door it gets stuck again until I manually fix it.

Using Zigate WiFi.

Regards,
João

2018-12-01 15:35:22 DEBUG (SyncWorker_0) [zigate] Saving persistent file
2018-12-01 15:35:22 DEBUG (SyncWorker_0) [zigate] File already existing, make a backup before
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Try loading persistent file
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Load success
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] ZiGate found on port 9999
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] REQUEST : 0x0010
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Msg to send b'0010000010'
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Encoded Msg to send b'01021010021002101003'
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Waiting for status message for command 0x0010
2018-12-01 15:36:08 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-01 15:36:08 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000010'
2018-12-01 15:36:08 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:16, error:b'', rssi:0
2018-12-01 15:36:08 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-01 15:36:08 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8010: b'0001030d'
2018-12-01 15:36:08 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8010 - Version list : major:1, installer:30d, rssi:0, version:3.0d
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] STATUS code to command 0x0010:0
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Waiting for message 0x8010
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Stop waiting, got message 0x8010
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] REQUEST : 0x0021 b'\x03\x18\xc8\x00'
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Msg to send b'00210004f60318c800'
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Encoded Msg to send b'0102102102100214f6021318c8021003'
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Waiting for status message for command 0x0021
2018-12-01 15:36:08 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000021'
2018-12-01 15:36:08 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:33, error:b'', rssi:0
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] STATUS code to command 0x0021:0
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] REQUEST : 0x0023 b'\x00'
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Msg to send b'002300012200'
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Encoded Msg to send b'010210230210021122021003'
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Waiting for status message for command 0x0023
2018-12-01 15:36:08 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000023'
2018-12-01 15:36:08 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:35, error:b'', rssi:0
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] STATUS code to command 0x0023:0
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Check network state
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] REQUEST : 0x0024
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Msg to send b'0024000024'
2018-12-01 15:36:08 DEBUG (SyncWorker_1) [zigate] Encoded Msg to send b'01021024021002102403'
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Waiting for status message for command 0x0024
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000024'
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:36, error:b'', rssi:0
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] STATUS code to command 0x0024:0
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] REQUEST : 0x0009
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Msg to send b'0009000009'
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Encoded Msg to send b'010210021902100210021903'
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Waiting for status message for command 0x0009
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000009'
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:9, error:b'', rssi:0
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8009: b'000000158d0001edb71264f243a94141081980450b'
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] STATUS code to command 0x0009:0
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8009 - Network state response : addr:0000, ieee:00158d0001edb712, pan:25842, extend_pan:4875499819169841221, channel:11, rssi:0
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Waiting for message 0x8009
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Stop waiting, got message 0x8009
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] REQUEST : 0x0015
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Msg to send b'0015000015'
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Encoded Msg to send b'01021015021002101503'
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Waiting for status message for command 0x0015
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000015'
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:21, error:b'', rssi:0
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] STATUS code to command 0x0015:0
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8015: b'00c2ff00158d0002536f0b005701baf900158d00024e60620070'
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Waiting for message 0x8015
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8015 - Device list : devices:[OrderedDict([('id', 0), ('addr', 'c2ff'), ('ieee', '00158d0002536f0b'), ('power_type', 0), ('rssi', 87)]), OrderedDict([('id', 1), ('addr', 'baf9'), ('ieee', '00158d00024e6062'), ('power_type', 0), ('rssi', 112)])], rssi:0
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] Known devices in zigate : {'c2ff', 'baf9'}
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Stop waiting, got message 0x8015
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] Previous devices missing : set()
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Check Need refresh Device 00158d0002536f0b (c2ff) lumi.sensor_magnet.aq2
2018-12-01 15:36:09 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_DEVICE_UPDATED
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Check Need refresh Device 00158d00024e6062 (baf9) lumi.sensor_magnet.aq2
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Auto saving /config/zigate.json
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] Saving persistent file
2018-12-01 15:36:09 DEBUG (SyncWorker_1) [zigate] File already existing, make a backup before
2018-12-01 15:36:50 DEBUG (SyncWorker_3) [zigate] REQUEST : 0x0049 FFFC1E00
2018-12-01 15:36:50 DEBUG (SyncWorker_3) [zigate] Msg to send b'0049000450fffc1e00'
2018-12-01 15:36:50 DEBUG (SyncWorker_3) [zigate] Encoded Msg to send b'010210490210021450fffc1e021003'
2018-12-01 15:36:50 DEBUG (SyncWorker_3) [zigate] Waiting for status message for command 0x0049
2018-12-01 15:36:50 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-01 15:36:50 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00730049'
2018-12-01 15:36:50 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:115, packet_type:73, error:b'', rssi:0
2018-12-01 15:36:50 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-01 15:36:50 DEBUG (SyncWorker_3) [zigate] STATUS code to command 0x0049:0
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8048: b'00158d0002536f0b00'
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8048 - Leave indication : ieee:00158d0002536f0b, rejoin_status:0, rssi:111
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_DEVICE_REMOVED
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x004d: b'5cdd00158d0002536f0b80'
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x004D - Device announce : addr:5cdd, ieee:00158d0002536f0b, mac_capability:10000000, rssi:111
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] Device Announce
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_DEVICE_ADDED
2018-12-01 15:37:21 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 343, in _async_add_entity
raise HomeAssistantError(msg)
homeassistant.exceptions.HomeAssistantError: Entity id already exists: zigate.front_door. Platform zigate does not generate unique IDs
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] REQUEST : 0x0042 5cdd
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] Msg to send b'00420002c15cdd'
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] Encoded Msg to send b'0102104202100212c15cdd03'
2018-12-01 15:37:21 DEBUG (ZiGate-Event Loop) [zigate] Waiting for status message for command 0x0042
2018-12-01 15:37:24 WARNING (ZiGate-Event Loop) [zigate] No response after command 0x0042
2018-12-01 15:37:24 DEBUG (ZiGate-Event Loop) [zigate] REQUEST : 0x0045 5cdd
2018-12-01 15:37:24 DEBUG (ZiGate-Event Loop) [zigate] Msg to send b'00450002c65cdd'
2018-12-01 15:37:24 DEBUG (ZiGate-Event Loop) [zigate] Encoded Msg to send b'0102104502100212c65cdd03'
2018-12-01 15:37:24 DEBUG (ZiGate-Event Loop) [zigate] Waiting for status message for command 0x0045
2018-12-01 15:37:27 WARNING (ZiGate-Event Loop) [zigate] No response after command 0x0045
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x004d: b'5cdd00158d0002536f0b80'
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x004D - Device announce : addr:5cdd, ieee:00158d0002536f0b, mac_capability:10000000, rssi:123
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Device Announce
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_DEVICE_UPDATED
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8701: b'0000'
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8701 - Route Discovery Confirmation : status:0, network_status:0, rssi:123
2018-12-01 15:37:27 ERROR (ZiGate-Event Loop) [zigate] Bad length 35 != 32 : b'\x00\xdd\x01\x00\x00\x00\x05\x00B\x00\x16lumi.sens\x01\x80\x00\x00\x05\xb3\x00t\x00B'
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8042: b'74005cdd103700640064000000807f4002'
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8042 - Node descriptor : sequence:116, status:0, addr:5cdd, manufacturer:1037, max_rx:100, max_tx:100, server_mask:0, descriptor_capability:00000000, mac_capability:10000000, max_buffer:127, bit_field:0100000000000010, rssi:120
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00750045'
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:117, packet_type:69, error:b'', rssi:0
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8045: b'75005cdd0101'
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8045 - Active endpoints : endpoints:[OrderedDict([('endpoint', 1)])], sequence:117, status:0, addr:5cdd, endpoint_count:1, rssi:123
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] REQUEST : 0x0043 b'\xdd\x01'
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Msg to send b'00430003c05cdd01'
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Encoded Msg to send b'0102104302100213c05cdd021103'
2018-12-01 15:37:27 DEBUG (ZiGate-Event Loop) [zigate] Waiting for status message for command 0x0043
2018-12-01 15:37:30 WARNING (ZiGate-Event Loop) [zigate] No response after command 0x0043
2018-12-01 15:37:30 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-01 15:37:30 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00760043'
2018-12-01 15:37:30 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:118, packet_type:67, error:b'', rssi:0
2018-12-01 15:37:30 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-01 15:37:30 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8043: b'76005cdd160101045f01010400000003ffff00060300000004ffff'
2018-12-01 15:37:30 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8043 - Simple descriptor : sequence:118, status:0, addr:5cdd, length:22, endpoint:1, profile:260, device:24321, bit_field:00000001, inout_clusters:b'\x04\x00\x00\x00\x03\xff\xff\x00\x06\x03\x00\x00\x00\x04\xff\xff', rssi:120, in_clusters:(0, 3, 65535, 6), out_clusters:(0, 4, 65535)
2018-12-01 15:37:30 DEBUG (ZiGate-Event Loop) [zigate] REQUEST : 0x0100 b'\x02\xdd\x01\x01\x00\x00\x00\x00\x00\x00\n\x00\x00\x00\x01\x00\x02\x00\x03\x00\x04\x00\x05\x00\x06\x00\x07\x00\x10\xff\x01'
2018-12-01 15:37:30 DEBUG (ZiGate-Event Loop) [zigate] Msg to send b'0100002046025cdd01010000000000000a000000010002000300040005000600070010ff01'
2018-12-01 15:37:30 DEBUG (ZiGate-Event Loop) [zigate] Encoded Msg to send b'01021102100210204602125cdd02110211021002100210021002100210021a0210021002100211021002120210021302100214021002150210021602100217021010ff021103'
2018-12-01 15:37:30 DEBUG (ZiGate-Event Loop) [zigate] Waiting for status message for command 0x0100
2018-12-01 15:37:33 WARNING (ZiGate-Event Loop) [zigate] No response after command 0x0100
2018-12-01 15:37:33 DEBUG (ZiGate-Event Loop) [zigate] REQUEST : 0x0100 b'\x02\xdd\x01\x01\x00\x06\x00\x00\x00\x00\x02\x00\x00\x80\x00'
2018-12-01 15:37:33 DEBUG (ZiGate-Event Loop) [zigate] Msg to send b'0100001016025cdd01010006000000000200008000'
2018-12-01 15:37:33 DEBUG (ZiGate-Event Loop) [zigate] Encoded Msg to send b'01021102100210101602125cdd0211021102100216021002100210021002120210021080021003'
2018-12-01 15:37:33 DEBUG (ZiGate-Event Loop) [zigate] Waiting for status message for command 0x0100
2018-12-01 15:37:36 WARNING (ZiGate-Event Loop) [zigate] No response after command 0x0100
2018-12-01 15:37:36 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-01 15:37:36 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00000100'
2018-12-01 15:37:36 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:0, packet_type:256, error:b'', rssi:0
2018-12-01 15:37:36 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-01 15:37:36 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8000: b'00010100'
2018-12-01 15:37:36 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:1, packet_type:256, error:b'', rssi:0
2018-12-01 15:37:38 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2018-12-01 15:37:38 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'015cdd010006000086ff0000'
2018-12-01 15:37:38 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:1, addr:5cdd, endpoint:1, cluster:6, attribute:0, status:134, data_type:255, size:0, data:, rssi:123
2018-12-01 15:37:38 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2018-12-01 15:37:38 DEBUG (ZiGate-Event Loop) [zigate] Receive Bad status
2018-12-01 15:37:38 DEBUG (ZiGate-Event Loop) [zigate] Received response 0x8102: b'015cdd010006800086ff0000'
2018-12-01 15:37:38 DEBUG (ZiGate-Event Loop) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:1, addr:5cdd, endpoint:1, cluster:6, attribute:32768, status:134, data_type:255, size:0, data:, rssi:123

Fast event do not trigger automation

Currently the zigate lib is too fast and sometimes automation is not triggered
for example, the XIAOMI button change his state from on to off then on so fast HA doesn't trigger anything

Error while calling refresh_device on Ikea Tradfri outlet

Hi,

From a few days, i can't call refresh_device on my Ikea Tradfri outlets.
I think it started with python lib 0.27.0, but i'm not sure.

It's strange, it's working on another device like Philips hue bulb but none of my eight tradfri plug
If i toggle from home assistant or with hue remote, the status is reporting normaly.
Any idea ?

Here is the log :

2019-02-05 14:43:44 DEBUG (SyncWorker_5) [zigate] REQUEST : 0x0100 b'\x02c\x9f\x01\x01\x00\x08\x00\x00\x00\x00\x07\x00\x00\x00\x01\x00\x0f\x00\x10\x00\x11@\x00\xff\xfd'
2019-02-05 14:43:44 DEBUG (SyncWorker_5) [zigate] Msg to send b'0100001aa702639f01010008000000000700000001000f001000114000fffd'
2019-02-05 14:43:44 DEBUG (SyncWorker_5) [zigate] Encoded Msg to send b'010211021002101aa70212639f02110211021002180210021002100210021702100210021002110210021f021010021011400210fffd03'
2019-02-05 14:43:44 DEBUG (SyncWorker_5) [zigate] Waiting for status message for command 0x0100
2019-02-05 14:43:44 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xba\x02\x10>\x02\x11\x02\x10\x02\x10\x03\x01\x81\x02\x12\x02\x10\x02\x1e\xff>c\x9f\x02\x11\x02\x10\x02'
2019-02-05 14:43:44 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x18\x02\x10\x02\x10\x02\x10 \x02\x10\x02\x11\xfef\x03\x01\x81\x02\x12\x02\x10\x02\x1f\x02\x13>c\x9f\x02\x11\x02\x10\x02\x18\x02\x10\x02\x11\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x10f\x03\x01\x81\x02\x12\x02\x10\x02\x1e6>c\x9f\x02\x11\x02\x10\x02\x18\x02\x10\x02\x1f\x02\x10\x18\x02\x10\x02\x11\x02\x10f\x03\x01\x81\x02\x12\x02\x10\x02\x1f\x12>c\x9f\x02\x11\x02\x10\x02\x18\x02\x10\x10\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x10f\x03\x01\x81\x02\x12\x02\x10\x02\x1e\xee>c\x9f\x02\x11\x02\x10\x02\x18\x02\x10\x11\x02\x10 \x02\x10\x02\x11\xfef\x03\x01\x81\x02\x12\x02\x10\x02\x1e\xbe>c\x9f\x02\x11\x02\x10\x02\x18@\x02\x10\x02\x10 \x02\x10\x02\x11\xfff\x03\x01\x81\x02\x12\x02\x10\x02\x1f\x02\x11>c\x9f\x02\x11\x02\x10\x02\x18\xff\xfd\x02\x10!\x02\x10\x02\x12\x02\x10\x02\x11f\x03'
2019-02-05 14:43:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'003e0100'
2019-02-05 14:43:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:62, packet_type:256, error:b'', rssi:0
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'3e639f010008000000200001fe'
2019-02-05 14:43:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:62, addr:639f, endpoint:1, cluster:8, attribute:0, status:0, data_type:32, size:1, data:254, rssi:102
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'3e639f0100080001002100020000'
2019-02-05 14:43:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:62, addr:639f, endpoint:1, cluster:8, attribute:1, status:0, data_type:33, size:2, data:0, rssi:102
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'3e639f010008000f0018000100'
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device IKEA of Sweden TRADFRI control outlet (639f) 000d6ffffea8384b {'endpoint': 1, 'cluster': 8, 'addr': '639f', 'attribute': 0, 'data': 254, 'name': 'current_level', 'type': <class 'int'>, 'value': 100}
2019-02-05 14:43:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 14:43:44 DEBUG (SyncWorker_5) [zigate] STATUS code to command 0x0100:RESPONSE 0x8000 - Status response : status:0, sequence:62, packet_type:256, error:b'', rssi:0
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:62, addr:639f, endpoint:1, cluster:8, attribute:15, status:0, data_type:24, size:1, data:0, rssi:102
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-05 14:43:44 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.139912822584880] Error handling message: {'type': 'call_service', 'domain': 'zigate', 'service': 'refresh_device', 'service_data': {'entity_id': 'zigate.000d6ffffea8384b'}, 'id': 14}
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/decorators.py", line 17, in _handle_async_response
    await func(hass, connection, msg)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/websocket_api/commands.py", line 148, in handle_call_service
    connection.context(msg))
  File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1129, in async_call
    self._execute_service(handler, service_call))
  File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1153, in _execute_service
    await self._hass.async_add_executor_job(handler.func, service_call)
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/zigate/__init__.py", line 333, in refresh_device
    myzigate.refresh_device(addr)
  File "/config/deps/lib/python3.6/site-packages/zigate/core.py", line 1029, in refresh_device
    device.refresh_device()
  File "/config/deps/lib/python3.6/site-packages/zigate/core.py", line 2318, in refresh_device
    attributes)
  File "/config/deps/lib/python3.6/site-packages/zigate/core.py", line 1358, in read_attribute_request
    manufacturer_code, length, *sub_attribute)
struct.error: pack expected 22 items for packing (got 19)
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'3e639f0100080010002100020000'
2019-02-05 14:43:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device IKEA of Sweden TRADFRI control outlet (639f) 000d6ffffea8384b {'endpoint': 1, 'cluster': 8, 'addr': '639f', 'attribute': 1, 'data': 0}
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:62, addr:639f, endpoint:1, cluster:8, attribute:16, status:0, data_type:33, size:2, data:0, rssi:102
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'3e639f010008001100200001fe'
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device IKEA of Sweden TRADFRI control outlet (639f) 000d6ffffea8384b {'endpoint': 1, 'cluster': 8, 'addr': '639f', 'attribute': 15, 'data': 0}
2019-02-05 14:43:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:62, addr:639f, endpoint:1, cluster:8, attribute:17, status:0, data_type:32, size:1, data:254, rssi:102
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'3e639f010008400000200001ff'
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device IKEA of Sweden TRADFRI control outlet (639f) 000d6ffffea8384b {'endpoint': 1, 'cluster': 8, 'addr': '639f', 'attribute': 16, 'data': 0}
2019-02-05 14:43:44 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:62, addr:639f, endpoint:1, cluster:8, attribute:16384, status:0, data_type:32, size:1, data:255, rssi:102
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device IKEA of Sweden TRADFRI control outlet (639f) 000d6ffffea8384b {'endpoint': 1, 'cluster': 8, 'addr': '639f', 'attribute': 17, 'data': 254}
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'3e639f010008fffd002100020001'
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:62, addr:639f, endpoint:1, cluster:8, attribute:65533, status:0, data_type:33, size:2, data:1, rssi:102
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device IKEA of Sweden TRADFRI control outlet (639f) 000d6ffffea8384b {'endpoint': 1, 'cluster': 8, 'addr': '639f', 'attribute': 16384, 'data': 255}
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device IKEA of Sweden TRADFRI control outlet (639f) 000d6ffffea8384b {'endpoint': 1, 'cluster': 8, 'addr': '639f', 'attribute': 65533, 'data': 1}
2019-02-05 14:43:44 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED


Thanks for your hard work on this lib ;)

Install instructions clearer

Hi,

Firstly, thank you for your plug-in! I bought a zigate and I would like to use it to control all my philips hue without the philips hub.
I'm new in homeassistant. And I try to install your plug-in. But I didn't find the folder custom_component. Moreover which files are you talking when you said copy all the files. This is these folders ? (binary_sensor, doc, light, sensor, switch)

For a newbie like me this is not a bit confusing
Thank you very much

Error on startup

Hello @doudz,
i have some issues using the zigate in USB2 port ( many disconnect )
So i try to plug it in USB3 port.

The module seems to found and load the zigate, update zigate informations but do not create zigate devices :(

2019-02-05 17:23:09 DEBUG (SyncWorker_22) [zigate] Try loading persistent file
2019-02-05 17:23:09 DEBUG (SyncWorker_22) [zigate] Load success
2019-02-05 17:23:09 INFO (SyncWorker_22) [zigate] Searching ZiGate port
2019-02-05 17:23:09 ERROR (SyncWorker_26) [homeassistant.components.sensor.cert_expiry] Cannot connect to maxime-wantiez.ddns.net
2019-02-05 17:23:09 ERROR (SyncWorker_27) [homeassistant.components.feedreader] Error parsing feed https://vvvvvv.annuaire-telechargement.com/films-bluray-hd/rss.xml: <unknown>:65:65: undefined entity
2019-02-05 17:23:09 INFO (SyncWorker_22) [zigate] ZiGate found at /dev/ttyUSB0
2019-02-05 17:23:09 DEBUG (SyncWorker_22) [zigate] REQUEST : 0x0010
2019-02-05 17:23:09 DEBUG (SyncWorker_22) [zigate] Msg to send b'0010000010'
2019-02-05 17:23:09 DEBUG (SyncWorker_22) [zigate] Encoded Msg to send b'01021010021002101003'
2019-02-05 17:23:09 DEBUG (SyncWorker_22) [zigate] Waiting for status message for command 0x0010
2019-02-05 17:23:09 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x80\x02\x10\x02\x10\x02\x15\x95\x02\x10\x02\x10\x02\x10\x10\x02\x10\x03\x01\x80\x10\x02\x10\x02\x15\x9b\x02\x10\x02\x12\x02\x13\x02\x1f\x02\x10\x03'
2019-02-05 17:23:09 ERROR (ZiGate-Listen) [zigate] Malformed packet received, ignore it
2019-02-05 17:23:09 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 17:23:09 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8010: b'0002030f'
2019-02-05 17:23:09 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8010 - Version list : major:2, installer:30f, rssi:0, version:3.0f
2019-02-05 17:23:09 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-05 17:23:10 ERROR (SyncWorker_19) [custom_components.media_player.androidtv] Can't reach adb server, is it running ?
2019-02-05 17:23:10 WARNING (MainThread) [homeassistant.components.media_player] Platform androidtv not ready yet. Retrying in 60 seconds.
2019-02-05 17:23:12 WARNING (SyncWorker_22) [zigate] No response after command 0x0010 (1)
2019-02-05 17:23:12 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/zigate/__init__.py", line 279, in start_zigate
    myzigate.autoStart(channel)
  File "/config/deps/lib/python3.6/site-packages/zigate/core.py", line 323, in autoStart
    version = self.get_version()
  File "/config/deps/lib/python3.6/site-packages/zigate/core.py", line 739, in get_version
    self._version = self.send_data(0x0010, wait_response=0x8010).data
AttributeError: 'NoneType' object has no attribute 'data'
2019-02-05 17:23:13 WARNING (MainThread) [homeassistant.components.media_player] Platform cast not ready yet. Retrying in 60 seconds.
2019-02-05 17:23:36 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x81\x02\x12\x02\x10*\xd3\xe9PX\x02\x11\x02\x10\x02\x10\xff\x02\x11\x02\x10B\x02\x10\x1d\x02\x11!\xc7\x02\x1b\x02\x13(\x1b\x02\x14!\xa8\x13\x02\x15!\x89\x02\x10\x02\x16$\x02\x11\x02\x10\x02\x10\x02\x10\x02\x10\x02\x1a!\x02\x10\x02\x10d\x10\x02\x10\xa8\x03'
2019-02-05 17:23:36 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 17:23:36 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'e95058010000ff010042001d0121c70b03281b0421a81305218900062401000000000a210000641000'
2019-02-05 17:23:36 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:233, addr:5058, endpoint:1, cluster:0, attribute:65281, status:0, data_type:66, size:29, data:0121c70b03281b0421a81305218900062401000000000a210000641000, rssi:168

test

Trafri plug pair process issue

Hi,

I'm able to pair with success two Tradfri plugs but there are two more than it is discovered but the plug itself doesn't get out of the pair process (led continues to blink slowly). Process followed: 1. Reset plug by pressing reset pin for 10 seconds, 2. call pair in zigate, 3. Can see the switch in HA but will not respond to commands and led in plug continues to blink.

Log:

019-02-04 18:20:45 DEBUG (SyncWorker_2) [zigate] REQUEST : 0x0049 FFFC1E00
2019-02-04 18:20:45 DEBUG (SyncWorker_2) [zigate] Msg to send b'0049000450fffc1e00'
2019-02-04 18:20:45 DEBUG (SyncWorker_2) [zigate] Encoded Msg to send b'010210490210021450fffc1e021003'
2019-02-04 18:20:45 DEBUG (SyncWorker_2) [zigate] Waiting for status message for command 0x0049
2019-02-04 18:20:45 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xf7\x02\x10;\x02\x10I\x02\x10\x03'
2019-02-04 18:20:45 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-04 18:20:45 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'003b0049'
2019-02-04 18:20:45 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:59, packet_type:73, error:b'', rssi:0
2019-02-04 18:20:45 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-04 18:20:45 DEBUG (SyncWorker_2) [zigate] STATUS code to command 0x0049:RESPONSE 0x8000 - Status response : status:0, sequence:59, packet_type:73, error:b'', rssi:0
2019-02-04 18:20:55 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x02\x10M\x02\x10\x02\x1cw\x87\xef\x02\x10\x02\x1do\xff\xfe\xc9$^\x8e\x02\x10\x03'
2019-02-04 18:20:56 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-04 18:20:56 DEBUG (ZiGate-Decode data) [zigate] Received response 0x004d: b'87ef000d6ffffec9245e8e'
2019-02-04 18:20:56 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x004D - Device announce : addr:87ef, ieee:000d6ffffec9245e, mac_capability:10001110, rssi:0
2019-02-04 18:20:56 DEBUG (ZiGate-Decode data) [zigate] Device Announce RESPONSE 0x004D - Device announce : addr:87ef, ieee:000d6ffffec9245e, mac_capability:10001110, rssi:0
2019-02-04 18:20:56 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_DEVICE_UPDATED
2019-02-04 18:20:56 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-04 18:20:59 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x02\x10M\x02\x10\x02\x1cw\x87\xef\x02\x10\x02\x1do\xff\xfe\xc9$^\x8e\x02\x10\x03'
2019-02-04 18:20:59 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x02\x10M\x02\x10\x02\x1c#\x87\xef\x02\x10\x02\x1do\xff\xfe\xc9$^\x8eT\x03\x01'
2019-02-04 18:20:59 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-04 18:20:59 DEBUG (ZiGate-Decode data) [zigate] Received response 0x004d: b'87ef000d6ffffec9245e8e'
2019-02-04 18:20:59 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x004D - Device announce : addr:87ef, ieee:000d6ffffec9245e, mac_capability:10001110, rssi:0
2019-02-04 18:20:59 DEBUG (ZiGate-Decode data) [zigate] Device Announce RESPONSE 0x004D - Device announce : addr:87ef, ieee:000d6ffffec9245e, mac_capability:10001110, rssi:0
2019-02-04 18:20:59 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_DEVICE_UPDATED
2019-02-04 18:20:59 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x004D - Device announce : addr:87ef, ieee:000d6ffffec9245e, mac_capability:10001110, rssi:84
2019-02-04 18:20:59 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-04 18:20:59 DEBUG (ZiGate-Decode data) [zigate] Device Announce RESPONSE 0x004D - Device announce : addr:87ef, ieee:000d6ffffec9245e, mac_capability:10001110, rssi:84
2019-02-04 18:20:59 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x87\x02\x11\x02\x10\x02\x13\x85\x02\x10\x02\x10\x02\x10\x03'
2019-02-04 18:20:59 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8701: b'0000'
2019-02-04 18:20:59 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8701 - Route Discovery Confirmation : status:0, network_status:0, rssi:0

door sensor stops reporting

Hi,

Have a xiaomi aqara door sensor that from time to time stops reporting back state.

Did a call to discovery service but nothing changed.

Log:

2019-02-05 19:40:53 DEBUG (SyncWorker_3) [zigate] Start automagic bind and report process for device LUMI lumi.sensor_magnet.aq2 (5bf6) 00158d0002536f0b
2019-02-05 19:40:53 DEBUG (SyncWorker_3) [zigate] Bind and report endpoint 1 for device LUMI lumi.sensor_magnet.aq2 (5bf6) 00158d0002536f0b
2019-02-05 19:40:53 DEBUG (SyncWorker_3) [zigate] bind and report for cluster 0x0006
2019-02-05 19:40:53 DEBUG (SyncWorker_3) [zigate] REQUEST : 0x0030 b'\x00\x15\x8d\x00\x02So\x0b\x01\x00\x06\x03\x00\x15\x8d\x00\x01\xed\xb7\x12\x01'
2019-02-05 19:40:53 DEBUG (SyncWorker_3) [zigate] Msg to send b'003000155c00158d0002536f0b0100060300158d0001edb71201'
2019-02-05 19:40:53 DEBUG (SyncWorker_3) [zigate] Encoded Msg to send b'010210300210155c0210158d02100212536f021b02110210021602130210158d02100211edb712021103'
2019-02-05 19:40:53 DEBUG (SyncWorker_3) [zigate] Waiting for status message for command 0x0030
2019-02-05 19:40:53 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x155\x80\x02\x10\x02\x100\x02\x10\x03'
2019-02-05 19:40:54 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 19:40:54 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'80000030'
2019-02-05 19:40:54 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:128, sequence:0, packet_type:48, error:b'', rssi:0
2019-02-05 19:40:54 ERROR (ZiGate-Decode data) [zigate] Command 0x0030 failed Failed (ZigBee event codes) 128 : b''
2019-02-05 19:40:54 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-05 19:40:54 DEBUG (SyncWorker_3) [zigate] STATUS code to command 0x0030:RESPONSE 0x8000 - Status response : status:128, sequence:0, packet_type:48, error:b'', rssi:0
2019-02-05 19:40:54 DEBUG (SyncWorker_3) [zigate] Waiting for message 0x8030
2019-02-05 19:40:57 WARNING (SyncWorker_3) [zigate] No response waiting command 0x8030
2019-02-05 19:40:57 DEBUG (SyncWorker_3) [zigate] REQUEST : 0x0120 b'\x02[\xf6\x01\x01\x00\x06\x00\x00\x00\x00\x01\x00\x10\x00\x00\x00\x01\x0e\x10\x00\x00\x00'
2019-02-05 19:40:57 DEBUG (SyncWorker_3) [zigate] Msg to send b'0120001791025bf60101000600000000010010000000010e10000000'
2019-02-05 19:40:57 DEBUG (SyncWorker_3) [zigate] Encoded Msg to send b'010211200210179102125bf60211021102100216021002100210021002110210100210021002100211021e1002100210021003'
2019-02-05 19:40:57 DEBUG (SyncWorker_3) [zigate] Waiting for status message for command 0x0120
2019-02-05 19:40:57 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x80\x02\x10\x02\x10\x02\x15\xea\x02\x10N\x02\x11 \x02\x10\x03'
2019-02-05 19:40:57 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED
2019-02-05 19:40:57 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8000: b'004e0120'
2019-02-05 19:40:57 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8000 - Status response : status:0, sequence:78, packet_type:288, error:b'', rssi:0
2019-02-05 19:40:57 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
2019-02-05 19:40:57 DEBUG (SyncWorker_3) [zigate] STATUS code to command 0x0120:RESPONSE 0x8000 - Status response : status:0, sequence:78, packet_type:288, error:b'', rssi:0
2019-02-05 19:40:57 DEBUG (SyncWorker_3) [zigate] Waiting for message 0x8120
2019-02-05 19:41:00 WARNING (SyncWorker_3) [zigate] No response waiting command 0x8120
2019-02-05 19:41:00 DEBUG (SyncWorker_3) [zigate] Dispatch ZIGATE_DEVICE_UPDATED

Unable to load zigate.json

Hi @doudz,

For a few days, I lost my devices every time i restart hass. I think it started when i add group to my ikea outlets.
Here is the log when loading zigate.json :
2019-01-24 10:35:21 DEBUG (SyncWorker_0) [zigate] Try loading persistent file
2019-01-24 10:35:21 ERROR (SyncWorker_0) [zigate] Failed to load persistent file /config/zigate.json
2019-01-24 10:35:21 ERROR (SyncWorker_0) [zigate] Traceback (most recent call last):
File "/config/deps/lib/python3.6/site-packages/zigate/core.py", line 267, in load_state
for k, v in groups:
ValueError: too many values to unpack (expected 2)

And here is my zigate.json
zigate.json.txt

It is working if I stop hass, restore zigate.json, remove groups in zigate.json and restart hass.

Thank you for your help!

Philips bulb synced but not functional

Hello,

First, thank you for your incredible plugin !! I've already tested it some months ago !

I synced my philips bulb to hass with zigate and it appears on my GUI

Capture

The problem is this light is always set to Off (even the light is shining)
When I try to toggle to On, nothing happens. I refresh the page and it return to Off
When I click to the entity to have move details, it says it is off from the pairing

Capture

The only positive thing is when I vary the intensity, the bulb reacts and also varies (in white).

I don't really understand what I did badly.
All my Raspbian (v9.9) / Docker (v18.09) / Zigate firmware (v30f) / bulb firmware (v146) are the latest update

Could you help me please ?
Thank you very much

IAS Zone produce unusable sensor

Hi, you still don't have documentation for supporting new devices.
I binded a smoke sensor from Heiman/generic, this one:

http://www.heimantech.com/product/89.html
I bough this from Aliexpress, it doesn't have the Heiman logo on, but it's the same sold from at least:

-Heiman (http://www.heimantech.com/product/89.html)
-Trust (https://www.trust.com/it/product/71197-zigbee-smoke-detector-zsdr-850)

This is for you, I hope it can help:

image

image

Text:

zigate_3a38_zone_status 59 secondi fa {'trouble': False, 'alarm2': False, 'ac_fault': False, 'battery_defect': False, 'tamper': False, 'supervision': False, 'low_battery': False, 'restore': True, 'alarm1': False, 'test_mode': False} cluster 1280 alarm2 false tamper false low battery false addr 3a38 alarm1 false test mode false trouble false ac fault false endpoint 1 supervision false battery defect false restore true attribute 0

And:

3a38 1 minuto fa
2018-07-14 18:18:44
missing
false
type
SMOK_V16
receiver on when idle
true
max tx
0
battery level
100
max buffer
64
addr
3a38
manufacturer
bbaa
ieee
005043c903351f6a
bit field
0100000000000010
last seen
2018-07-14 18:18:44
rssi percent
13
server mask
0
max rx
0
descriptor capability
00000011
mac capability
10000100
battery
-
rssi
33

from homeassistant.log:

2018-07-14 18:23:44 DEBUG (Thread-88) [zigate] RESPONSE 0x8401 - IAS Zone Status Change : sequence:0, endpoint:1, cluster:1280, address_mode:2, addr:3a38, zone_status:0000000000100001, status:0, zone_id:0, delay:0, rssi:33 2018-07-14 18:23:44 DEBUG (Thread-88) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2018-07-14 18:23:44 DEBUG (Thread-88) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED 2018-07-14 18:23:44 DEBUG (Thread-88) [custom_components.zigate] Update attribute for device Device 3a38 SMOK_V16 {'cluster': 1280, 'name': 'zone_status', 'zone_status': '0000000000100001', 'value': {'trouble': False, 'alarm2': False, 'ac_fault': False, 'battery_defect': False, 'tamper': False, 'supervision': False, 'low_battery': False, 'restore': True, 'alarm1': True, 'test_mode': False}, 'addr': '3a38', 'data': '0000000000100001', 'zone_id': 0, 'endpoint': 1, 'attribute': 0} 2018-07-14 18:23:45 DEBUG (Thread-89) [zigate] RESPONSE 0x8401 - IAS Zone Status Change : sequence:0, endpoint:1, cluster:1280, address_mode:2, addr:3a38, zone_status:0000000000100000, status:0, zone_id:0, delay:0, rssi:18 2018-07-14 18:23:45 DEBUG (Thread-89) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2018-07-14 18:23:45 DEBUG (Thread-89) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED 2018-07-14 18:23:45 DEBUG (Thread-89) [custom_components.zigate] Update attribute for device Device 3a38 SMOK_V16 {'cluster': 1280, 'name': 'zone_status', 'zone_status': '0000000000100000', 'value': {'trouble': False, 'alarm2': False, 'ac_fault': False, 'battery_defect': False, 'tamper': False, 'supervision': False, 'low_battery': False, 'restore': True, 'alarm1': False, 'test_mode': False}, 'addr': '3a38', 'data': '0000000000100000', 'zone_id': 0, 'endpoint': 1, 'attribute': 0}

[Suggestion] New behaviour for Xiaomi Smart Button (Mijia)

Brainstorming: in the last days I tried some zigbee implementation, I even flashed a CC2531 to a firmware usable with https://github.com/Koenkk/zigbee2mqtt.
The implementation of MQTT sensor is very good, just the pairing phase is very troublesome, sensors looks like "stubborn" and I spent 10 minutes trying to pair my Mijia button (Aqara devices were added more easily).
Fact is, after the terrible pairing process, the plugin is quite good, and it provides wonderfu informations about the smart button.
I can be a little wrong, I will update this after work when I come back home.

  • push and releasing --> send a push
  • pushing and keeping pushed --> send a push, then send again the time the button is kept pushed when it is released
  • double, triple, quadruple pushing --> send the times the button are quickly pushed and released
  • multiple pushing --> send a 128 value, that means nothing but can still be used for automation

Ability to use templates

The current model seems to be very labour intensive on yourself, however if a template folder & structure could be developed this could remove some of the overhead and give the ability for others to create templates for new devices and upload.
I see on the python version of zigate there is a template structure, so hopefully it is straightforward, maybe not easy, to replicate in the home assistant version...
Happy to discuss and support if I can

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.