# ZHA - Zigpy Zigate Wifi - Fermeture de connection vers ZHA

**URL:** <https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119>\
**Category:** Entraide Home Assistant\
**Created:** [Mai 16, 2021, 6:06 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119 "2021-05-16T18:06:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@Benjamin](https://forum.hacf.fr/u/Benjamin)\
**Post date:** [Mai 16, 2021, 6:06 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/1 "2021-05-16T18:06:07Z")

</div>

Bonjour à tous,

Home Assistant : 2021.5.4  
ZHA : Last version in HASS  
ZiGate-WiFi v2.00 with esp-link v3.2.50-gfe4f565-dirty

J’utilise une passerelle Zigate WIFI avec l’intégration ZHA dans HASS, après un temps aléatoire de 30 min à 4h, home assistant m’envoie ce message d’erreur :

```auto
Logger: zigpy_zigate.api
Source: /usr/local/lib/python3.8/site-packages/zigpy_zigate/api.py:138
First occurred: 19:46:24 (20 occurrences)
Last logged: 19:47:26

No response to command 0x0530

----

Logger: asyncio
Source: /usr/local/lib/python3.8/asyncio/selector_events.py:903
First occurred: 19:46:54 (16 occurrences)
Last logged: 19:47:25

socket.send() raised exception.

```

Après ce message, tous mes sensors et mes lumières ne fonctionnent plus jusqu’à que je relance ZHA, ou mon home assistant.

Home Assistant n’envoie plus aucune requête vers ma Zigate Wifi.

Tcpdump :  
192.168.4.252 si my HASS  
192.168.4.227 Zigate Wifi

```auto
19:22:09.071920 ARP, Request who-has 192.168.4.227 tell 192.168.4.252, length 46
19:22:09.073167 ARP, Reply 192.168.4.227 is-at 3c:61:05:d1:1f:d6, length 46
19:25:59.740061 IP 192.168.4.227.9999 > 192.168.4.252.54258: Flags [P.], seq 2250:2330, ack 860, win 1824, length 80
19:25:59.740679 IP 192.168.4.252.54258 > 192.168.4.227.9999: Flags [.], ack 2330, win 64068, length 0
19:25:59.741956 IP 192.168.4.227.9999 > 192.168.4.252.54258: Flags [P.], seq 2330:2340, ack 860, win 1824, length 10
19:25:59.743470 IP 192.168.4.252.54258 > 192.168.4.227.9999: Flags [.], ack 2340, win 64068, length 0
19:26:04.848226 ARP, Request who-has 192.168.4.227 tell 192.168.4.252, length 46
19:26:04.850873 ARP, Reply 192.168.4.227 is-at 3c:61:05:d1:1f:d6, length 46
19:30:59.877528 IP 192.168.4.227.9999 > 192.168.4.252.54258: Flags [F.], seq 2340, ack 860, win 1824, length 0
19:30:59.879422 IP 192.168.4.252.54258 > 192.168.4.227.9999: Flags [F.], seq 860, ack 2341, win 64068, length 0
19:30:59.880991 IP 192.168.4.227.9999 > 192.168.4.252.54258: Flags [.], ack 861, win 1823, length 0
19:31:05.139535 ARP, Request who-has 192.168.4.227 tell 192.168.4.252, length 46
19:31:05.141093 ARP, Reply 192.168.4.227 is-at 3c:61:05:d1:1f:d6, length 46
19:37:21.514434 ARP, Request who-has 192.168.4.227 tell 192.168.4.1, length 46

```

J’ai deux questions à qui pourra répondre :

Pourquoi ma Zigate wifi ferme la connexion ?  
Est il possible que ZHA la relance éventuellement ?

Thank you

---

<div class="post-metadata">

**Author:** ![Benjamin](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@Benjamin](https://forum.hacf.fr/u/Benjamin)\
**Post date:** [Mai 25, 2021, 11:08 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/2 "2021-05-25T11:08:06Z")

</div>

> <https://github.com/zigpy/zigpy-zigate/issues/89>
>
> Dear,
> 
> Home Assistant : 2021.5.4
> ZHA : Last version in HASS
> ZiGate-WiFi v2.0…0 with esp-link v3.2.50-gfe4f565-dirty
> 
> I use Zigate wifi with ZHA in Home Assistant, after random time (30 min to 4hours), Home Assistant show that : 
> 
> \`\`\`
> Logger: zigpy\_zigate.api
> Source: /usr/local/lib/python3.8/site-packages/zigpy\_zigate/api.py:138
> First occurred: 19:46:24 (20 occurrences)
> Last logged: 19:47:26
> 
> No response to command 0x0530
> \----
> Logger: asyncio
> Source: /usr/local/lib/python3.8/asyncio/selector\_events.py:903
> First occurred: 19:46:54 (16 occurrences)
> Last logged: 19:47:25
> 
> socket.send() raised exception.
> \`\`\`
> 
> After this message, all my sensor light etc. not work with the device.
> 
> Home assistant don't send any request to my zigate wifi.
> 
> Tcpdump :
> 192.168.4.252 si my HASS
> 192.168.4.227 Zigate Wifi
> \`\`\`
> 19:22:09.071920 ARP, Request who-has 192.168.4.227 tell 192.168.4.252, length 46
> 19:22:09.073167 ARP, Reply 192.168.4.227 is-at 3c:61:05:d1:1f:d6, length 46
> 19:25:59.740061 IP 192.168.4.227.9999 \> 192.168.4.252.54258: Flags \[P.\], seq 2250:2330, ack 860, win 1824, length 80
> 19:25:59.740679 IP 192.168.4.252.54258 \> 192.168.4.227.9999: Flags \[.\], ack 2330, win 64068, length 0
> 19:25:59.741956 IP 192.168.4.227.9999 \> 192.168.4.252.54258: Flags \[P.\], seq 2330:2340, ack 860, win 1824, length 10
> 19:25:59.743470 IP 192.168.4.252.54258 \> 192.168.4.227.9999: Flags \[.\], ack 2340, win 64068, length 0
> 19:26:04.848226 ARP, Request who-has 192.168.4.227 tell 192.168.4.252, length 46
> 19:26:04.850873 ARP, Reply 192.168.4.227 is-at 3c:61:05:d1:1f:d6, length 46
> 19:30:59.877528 IP 192.168.4.227.9999 \> 192.168.4.252.54258: Flags \[F.\], seq 2340, ack 860, win 1824, length 0
> 19:30:59.879422 IP 192.168.4.252.54258 \> 192.168.4.227.9999: Flags \[F.\], seq 860, ack 2341, win 64068, length 0
> 19:30:59.880991 IP 192.168.4.227.9999 \> 192.168.4.252.54258: Flags \[.\], ack 861, win 1823, length 0
> 19:31:05.139535 ARP, Request who-has 192.168.4.227 tell 192.168.4.252, length 46
> 19:31:05.141093 ARP, Reply 192.168.4.227 is-at 3c:61:05:d1:1f:d6, length 46
> 19:37:21.514434 ARP, Request who-has 192.168.4.227 tell 192.168.4.1, length 46
> \`\`\`
> 
> So two questions : 
> 
> \- Why zigate Wifi close the connection ? 
> \- Is it possible to make ZHA restart the connection ?
> 
> Thank you

> <https://github.com/home-assistant/core/issues/43962>
>
> \<!-- READ THIS FIRST:
> - If you need additional help with this template, pleas…e refer to https://www.home-assistant.io/help/reporting\_issues/
> - Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/core/releases
> - Do not report issues for integrations if you are using custom components or integrations.
> - Provide as many details as possible. Paste logs, configuration samples and code into the backticks.
> DO NOT DELETE ANY TEXT from this template! Otherwise, your issue may be closed without comment.
> \--\>
> \## The problem
> I recently switched from the zigate custom component (thanks @doudz for the work) to the ZHA integration for zigate. It seems to be okay for a while (a few hours each time) but then stops working, to make it work again, I have to restart home assistant. 
> I have also noticed that OTA update with IKEA device are not working but will open another issue for this once this is one is closed.
> 
> \## Environment
> \<!--
> Provide details about the versions you are using, which helps us to reproduce
> and find the issue quicker. Version information is found in the
> Home Assistant frontend: Configuration -\> Info.
> \--\>
> 
> \- Home Assistant Core release with the issue: Home assistant 0.118.4
> \- Last working Home Assistant Core release (if known): was working okay before with zigate plugin
> \- Operating environment (OS/Container/Supervised/Core): Docker
> \- Integration causing this issue: ZHA
> \- Link to integration documentation on our website: https://www.home-assistant.io/integrations/zha/
> 
> Zigbee signature
> \`\`\`json
> {
> "node\_descriptor": "NodeDescriptor()",
> "endpoints": {},
> "manufacturer": "ZiGate",
> "model": "ZiGate WiFi 3.1d",
> "class": "zigpy\_zigate.zigbee.application.ZiGateDevice"
> }
> \`\`\`
> 
> I have 2 TRADFRI bulbs, 2 TRADFRI control outlets, 7 Aqara LUMI weather sensors, and 3 Aqara LUMI motion sensors connected
> 
> 
> \## Problem-relevant \`configuration.yaml\`
> \<!--
> An example configuration that caused the problem for you. Fill this out even
> if it seems unimportant to you. Please be sure to remove personal information
> like passwords, private URLs and other credentials.
> \--\>
> 
> Configured via GUI but I disabled updates for IKEA devices as it's not working
> 
> \`\`\`yaml
> zha:
> zigpy\_config:
> ota:
> ikea\_provider: false
> \`\`\`
> 
> \## Traceback/Error logs
> \<!--
> If you come across any trace or error logs, please provide them.
> \--\>
> 
> \`\`\`txt
> 2020-12-05 03:42:42 DEBUG (MainThread) \[zigpy.device\] \[0x0167\] Delivery error for seq # 0x49, on endpoint id 1 cluster 0x0300: ZiGate doesn't answer to command
> 2020-12-05 03:42:42 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:42:40 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x1d\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x13\\x02\\x10\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10I\\x02\\x10\\x02\\x17\\x02\\x10'
> 2020-12-05 03:42:40 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\r\\x02\\x01g\\x01\\x01\\x03\\x00\\x01\\x04\\x00\\x00\\x05\\x00I\\x00\\x07\\x00'
> 2020-12-05 03:42:40 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101030001040000050049000700'
> 2020-12-05 03:42:40 WARNING (MainThread) \[zigpy\_zigate.api\] Retry command 0x0530
> 2020-12-05 03:42:40 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:42:39 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x1d\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x13\\x02\\x10\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10I\\x02\\x10\\x02\\x17\\x02\\x10'
> 2020-12-05 03:42:39 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\r\\x02\\x01g\\x01\\x01\\x03\\x00\\x01\\x04\\x00\\x00\\x05\\x00I\\x00\\x07\\x00'
> 2020-12-05 03:42:39 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101030001040000050049000700'
> 2020-12-05 03:42:39 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] request (0x0167, 260, 768, 1, 1, 73, b'\\x00I\\x00\\x07\\x00', True, False)
> 2020-12-05 03:42:39 DEBUG (MainThread) \[zigpy.device\] \[0x0167\] Delivery error for seq # 0x48, on endpoint id 1 cluster 0x0008: ZiGate doesn't answer to command
> 2020-12-05 03:42:39 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:42:37 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x10\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x18\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10H\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 03:42:37 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\x00\\x02\\x01g\\x01\\x01\\x00\\x08\\x01\\x04\\x00\\x00\\x05\\x00H\\x00\\x00\\x00'
> 2020-12-05 03:42:37 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101000801040000050048000000'
> 2020-12-05 03:42:37 WARNING (MainThread) \[zigpy\_zigate.api\] Retry command 0x0530
> 2020-12-05 03:42:37 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:42:36 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x10\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x18\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10H\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 03:42:36 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\x00\\x02\\x01g\\x01\\x01\\x00\\x08\\x01\\x04\\x00\\x00\\x05\\x00H\\x00\\x00\\x00'
> 2020-12-05 03:42:36 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101000801040000050048000000'
> 2020-12-05 03:42:36 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] request (0x0167, 260, 8, 1, 1, 72, b'\\x00H\\x00\\x00\\x00', True, False)
> 2020-12-05 03:42:36 DEBUG (MainThread) \[zigpy.device\] \[0x0167\] Delivery error for seq # 0x47, on endpoint id 1 cluster 0x0006: ZiGate doesn't answer to command
> 2020-12-05 03:42:36 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:42:34 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x11\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x16\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10G\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 03:42:34 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\x01\\x02\\x01g\\x01\\x01\\x00\\x06\\x01\\x04\\x00\\x00\\x05\\x00G\\x00\\x00\\x00'
> 2020-12-05 03:42:34 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101000601040000050047000000'
> 2020-12-05 03:42:34 WARNING (MainThread) \[zigpy\_zigate.api\] Retry command 0x0530
> 2020-12-05 03:42:34 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:42:33 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x11\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x16\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10G\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 03:42:33 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\x01\\x02\\x01g\\x01\\x01\\x00\\x06\\x01\\x04\\x00\\x00\\x05\\x00G\\x00\\x00\\x00'
> 2020-12-05 03:42:33 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101000601040000050047000000'
> 2020-12-05 03:42:33 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] request (0x0167, 260, 6, 1, 1, 71, b'\\x00G\\x00\\x00\\x00', True, False)
> 2020-12-05 03:18:14 DEBUG (MainThread) \[zigpy.device\] \[0x3e9b\] Delivery error for seq # 0x46, on endpoint id 1 cluster 0x0300: ZiGate doesn't answer to command
> 2020-12-05 03:18:14 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:18:12 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x13\\xc1\\x02\\x12\>\\x9b\\x02\\x11\\x02\\x11\\x02\\x13\\x02\\x10\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x17\\x02\\x10F\\x02\\x10\\x02\\x13\\x02\\x10\\x02\\x14\\x02\\x10'
> 2020-12-05 03:18:12 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x13\\xc1\\x02\>\\x9b\\x01\\x01\\x03\\x00\\x01\\x04\\x00\\x00\\x07\\x00F\\x00\\x03\\x00\\x04\\x00'
> 2020-12-05 03:18:12 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'023e9b01010300010400000700460003000400'
> 2020-12-05 03:18:12 WARNING (MainThread) \[zigpy\_zigate.api\] Retry command 0x0530
> 2020-12-05 03:18:12 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:18:11 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x13\\xc1\\x02\\x12\>\\x9b\\x02\\x11\\x02\\x11\\x02\\x13\\x02\\x10\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x17\\x02\\x10F\\x02\\x10\\x02\\x13\\x02\\x10\\x02\\x14\\x02\\x10'
> 2020-12-05 03:18:11 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x13\\xc1\\x02\>\\x9b\\x01\\x01\\x03\\x00\\x01\\x04\\x00\\x00\\x07\\x00F\\x00\\x03\\x00\\x04\\x00'
> 2020-12-05 03:18:11 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'023e9b01010300010400000700460003000400'
> 2020-12-05 03:18:11 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] request (0x3E9B, 260, 768, 1, 1, 70, b'\\x00F\\x00\\x03\\x00\\x04\\x00', True, False)
> 2020-12-05 03:18:11 DEBUG (MainThread) \[zigpy.device\] \[0x3e9b\] Delivery error for seq # 0x45, on endpoint id 1 cluster 0x0008: ZiGate doesn't answer to command
> 2020-12-05 03:18:11 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:18:09 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\xce\\x02\\x12\>\\x9b\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x18\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10E\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 03:18:09 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\xce\\x02\>\\x9b\\x01\\x01\\x00\\x08\\x01\\x04\\x00\\x00\\x05\\x00E\\x00\\x00\\x00'
> 2020-12-05 03:18:09 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'023e9b0101000801040000050045000000'
> 2020-12-05 03:18:09 WARNING (MainThread) \[zigpy\_zigate.api\] Retry command 0x0530
> 2020-12-05 03:18:09 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:18:08 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\xce\\x02\\x12\>\\x9b\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x18\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10E\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 03:18:08 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\xce\\x02\>\\x9b\\x01\\x01\\x00\\x08\\x01\\x04\\x00\\x00\\x05\\x00E\\x00\\x00\\x00'
> 2020-12-05 03:18:08 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'023e9b0101000801040000050045000000'
> 2020-12-05 03:18:08 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] request (0x3E9B, 260, 8, 1, 1, 69, b'\\x00E\\x00\\x00\\x00', True, False)
> 2020-12-05 03:18:08 DEBUG (MainThread) \[zigpy.device\] \[0x3e9b\] Delivery error for seq # 0x44, on endpoint id 1 cluster 0x0006: ZiGate doesn't answer to command
> 2020-12-05 03:18:08 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:18:06 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\xc1\\x02\\x12\>\\x9b\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x16\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10D\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 03:18:06 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\xc1\\x02\>\\x9b\\x01\\x01\\x00\\x06\\x01\\x04\\x00\\x00\\x05\\x00D\\x00\\x00\\x00'
> 2020-12-05 03:18:06 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'023e9b0101000601040000050044000000'
> 2020-12-05 03:18:06 WARNING (MainThread) \[zigpy\_zigate.api\] Retry command 0x0530
> 2020-12-05 03:18:06 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 03:18:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\xc1\\x02\\x12\>\\x9b\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x16\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10D\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 03:18:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\xc1\\x02\>\\x9b\\x01\\x01\\x00\\x06\\x01\\x04\\x00\\x00\\x05\\x00D\\x00\\x00\\x00'
> 2020-12-05 03:18:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'023e9b0101000601040000050044000000'
> 2020-12-05 03:18:04 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] request (0x3E9B, 260, 6, 1, 1, 68, b'\\x00D\\x00\\x00\\x00', True, False)
> 2020-12-05 02:55:31 DEBUG (MainThread) \[zigpy.device\] \[0x0167\] Delivery error for seq # 0x43, on endpoint id 1 cluster 0x0300: ZiGate doesn't answer to command
> 2020-12-05 02:55:31 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 02:55:29 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x17\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x13\\x02\\x10\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10C\\x02\\x10\\x02\\x17\\x02\\x10'
> 2020-12-05 02:55:29 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\x07\\x02\\x01g\\x01\\x01\\x03\\x00\\x01\\x04\\x00\\x00\\x05\\x00C\\x00\\x07\\x00'
> 2020-12-05 02:55:29 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101030001040000050043000700'
> 2020-12-05 02:55:29 WARNING (MainThread) \[zigpy\_zigate.api\] Retry command 0x0530
> 2020-12-05 02:55:29 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 02:55:28 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x17\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x13\\x02\\x10\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10C\\x02\\x10\\x02\\x17\\x02\\x10'
> 2020-12-05 02:55:28 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\x07\\x02\\x01g\\x01\\x01\\x03\\x00\\x01\\x04\\x00\\x00\\x05\\x00C\\x00\\x07\\x00'
> 2020-12-05 02:55:28 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101030001040000050043000700'
> 2020-12-05 02:55:28 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] request (0x0167, 260, 768, 1, 1, 67, b'\\x00C\\x00\\x07\\x00', True, False)
> 2020-12-05 02:55:28 DEBUG (MainThread) \[zigpy.device\] \[0x0167\] Delivery error for seq # 0x42, on endpoint id 1 cluster 0x0008: ZiGate doesn't answer to command
> 2020-12-05 02:55:28 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 02:55:26 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x1a\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x18\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10B\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 02:55:26 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\n\\x02\\x01g\\x01\\x01\\x00\\x08\\x01\\x04\\x00\\x00\\x05\\x00B\\x00\\x00\\x00'
> 2020-12-05 02:55:26 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101000801040000050042000000'
> 2020-12-05 02:55:26 WARNING (MainThread) \[zigpy\_zigate.api\] Retry command 0x0530
> 2020-12-05 02:55:26 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 02:55:25 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x1a\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x18\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10B\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 02:55:25 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\n\\x02\\x01g\\x01\\x01\\x00\\x08\\x01\\x04\\x00\\x00\\x05\\x00B\\x00\\x00\\x00'
> 2020-12-05 02:55:25 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101000801040000050042000000'
> 2020-12-05 02:55:25 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] request (0x0167, 260, 8, 1, 1, 66, b'\\x00B\\x00\\x00\\x00', True, False)
> 2020-12-05 02:55:25 DEBUG (MainThread) \[zigpy.device\] \[0x0167\] Delivery error for seq # 0x41, on endpoint id 1 cluster 0x0006: ZiGate doesn't answer to command
> 2020-12-05 02:55:25 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 02:55:23 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x17\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x16\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10A\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 02:55:23 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\x07\\x02\\x01g\\x01\\x01\\x00\\x06\\x01\\x04\\x00\\x00\\x05\\x00A\\x00\\x00\\x00'
> 2020-12-05 02:55:23 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101000601040000050041000000'
> 2020-12-05 02:55:23 WARNING (MainThread) \[zigpy\_zigate.api\] Retry command 0x0530
> 2020-12-05 02:55:23 WARNING (MainThread) \[zigpy\_zigate.api\] No response to command 0x0530
> 2020-12-05 02:55:22 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\x02\\x17\\x02\\x12\\x02\\x11g\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x16\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x02\\x10A\\x02\\x10\\x02\\x10\\x02\\x10'
> 2020-12-05 02:55:22 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\x07\\x02\\x01g\\x01\\x01\\x00\\x06\\x01\\x04\\x00\\x00\\x05\\x00A\\x00\\x00\\x00'
> 2020-12-05 02:55:22 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'0201670101000601040000050041000000'
> 2020-12-05 02:55:22 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] request (0x0167, 260, 6, 1, 1, 65, b'\\x00A\\x00\\x00\\x00', True, False)
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy.zcl\] \[0x55ee:1:0x0000\] Attribute report received: 65281=!ï¿½!ï¿½!+t$
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy.zcl\] \[0x55ee:1:0x0000\] ZCL request 0x000a: \[\[Attribute(attrid=65281, value=\<TypeValue type=CharacterString, value=!ï¿½!ï¿½!+t$\>)\]\]
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy.zcl\] \[0x55ee:1:0x0000\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=72 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 0, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x55ee\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18H\\n\\x01\\xffB%\\x01!\\xbd\\x0b\\x04!\\xa8\\x13\\x05!+t\\x06$\\x01\\x00\\x00\\x00\\x00d)\\x18\\x07e!\\xb9\\x16f+v\\x80\\x01\\x00\\n!\\x00\\x00'\]
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'000104000001010255ee02000018480a01ff42250121bd0b0421a81305212b7406240100000000642918076521b916662b768001000a210000' LQI:90
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002003ae7000104000001010255ee02000018480a01ff42250121bd0b0421a81305212b7406240100000000642918076521b916662b768001000a2100005a
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy.zcl\] \[0x55ee:1:0x0000\] Attribute report received: 65281=!ï¿½!ï¿½!+t$
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy.zcl\] \[0x55ee:1:0x0000\] ZCL request 0x000a: \[\[Attribute(attrid=65281, value=\<TypeValue type=CharacterString, value=!ï¿½!ï¿½!+t$\>)\]\]
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy.zcl\] \[0x55ee:1:0x0000\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=72 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 0, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x55ee\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18H\\n\\x01\\xffB%\\x01!\\xbd\\x0b\\x04!\\xa8\\x13\\x05!+t\\x06$\\x01\\x00\\x00\\x00\\x00d)\\x18\\x07e!\\xb9\\x16f+v\\x80\\x01\\x00\\n!\\x00\\x00'\]
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'000104000001010255ee02000018480a01ff42250121bd0b0421a81305212b7406240100000000642918076521b916662b768001000a210000' LQI:90
> 2020-12-05 02:48:35 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002003ae7000104000001010255ee02000018480a01ff42250121bd0b0421a81305212b7406240100000000642918076521b916662b768001000a2100005a
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy.zcl\] \[0x58e5:1:0x0000\] Attribute report received: 65281=!ï¿½(!ï¿½!
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy.zcl\] \[0x58e5:1:0x0000\] ZCL request 0x000a: \[\[Attribute(attrid=65281, value=\<TypeValue type=CharacterString, value=!ï¿½(!ï¿½!\>)\]\]
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy.zcl\] \[0x58e5:1:0x0000\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=True is\_reply=False disable\_default\_response=True\> manufacturer=4447 tsn=173 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 0, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x58e5\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x1c\_\\x11\\xad\\n\\x01\\xffB!\\x01!\\xb3\\x0b\\x03(\\x19\\x04!\\xa8\\x13\\x05!\\x0f\\x00\\x06$\\x02\\x00\\x00\\x00\\x00\\n!\\x00\\x00d\\x10\\x00\\x0b!\\x00\\x00'\]
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'000104000001010258e50200001c5f11ad0a01ff42210121b30b0328190421a81305210f00062402000000000a2100006410000b210000' LQI:117
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002003855000104000001010258e50200001c5f11ad0a01ff42210121b30b0328190421a81305210f00062402000000000a2100006410000b21000075
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy.zcl\] \[0x58e5:1:0x0000\] Attribute report received: 65281=!ï¿½(!ï¿½!
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy.zcl\] \[0x58e5:1:0x0000\] ZCL request 0x000a: \[\[Attribute(attrid=65281, value=\<TypeValue type=CharacterString, value=!ï¿½(!ï¿½!\>)\]\]
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy.zcl\] \[0x58e5:1:0x0000\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=True is\_reply=False disable\_default\_response=True\> manufacturer=4447 tsn=173 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 0, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x58e5\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x1c\_\\x11\\xad\\n\\x01\\xffB!\\x01!\\xb3\\x0b\\x03(\\x19\\x04!\\xa8\\x13\\x05!\\x0f\\x00\\x06$\\x02\\x00\\x00\\x00\\x00\\n!\\x00\\x00d\\x10\\x00\\x0b!\\x00\\x00'\]
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'000104000001010258e50200001c5f11ad0a01ff42210121b30b0328190421a81305210f00062402000000000a2100006410000b210000' LQI:117
> 2020-12-05 02:47:39 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002003855000104000001010258e50200001c5f11ad0a01ff42210121b30b0328190421a81305210f00062402000000000a2100006410000b21000075
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] ACK Data received 93 0
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 0xf932, 1, 6, 93\]
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8011 b'00f9320100065d' LQI:0
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 801100080800f9320100065d00
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 94, 1328, b'\\x00\\x00'\]
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8000 b'005e05300000' LQI:0
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80000007ec005e0530000000
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy.util\] Duplicate 4 TSN
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy.zcl\] \[0xf932:1:0x0006\] Attribute report received: on\_off=1
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy.zcl\] \[0xf932:1:0x0006\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=Bool, value=Bool.true\>)\]\]
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy.zcl\] \[0xf932:1:0x0006\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=False\> manufacturer=None tsn=4 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 6, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0xf932\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x08\\x04\\n\\x00\\x00\\x10\\x01'\]
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040006010102f93202000008040a00001001' LQI:75
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80020015030001040006010102f93202000008040a000010014b
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame escaped: b'\\x02\\x150\\x02\\x10\\x11\\xf6\\x02\\x12\\xf92\\x02\\x11\\x02\\x11\\x02\\x10\\x02\\x16\\x02\\x11\\x02\\x14\\x02\\x10\\x02\\x10\\x02\\x15\\x18\\x02\\x14\\x02\\x1b\\x02\\x1a\\x02\\x10'
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame to send: b'\\x050\\x00\\x11\\xf6\\x02\\xf92\\x01\\x01\\x00\\x06\\x01\\x04\\x00\\x00\\x05\\x18\\x04\\x0b\\n\\x00'
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.uart\] Send: 0x0530 b'02f93201010006010400000518040b0a00'
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] request (0xF932, 260, 6, 1, 1, 4, b'\\x18\\x04\\x0b\\n\\x00', False, False)
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy.zcl\] \[0xf932:1:0x0006\] Attribute report received: on\_off=1
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy.zcl\] \[0xf932:1:0x0006\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=Bool, value=Bool.true\>)\]\]
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy.zcl\] \[0xf932:1:0x0006\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=False\> manufacturer=None tsn=4 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 6, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0xf932\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x08\\x04\\n\\x00\\x00\\x10\\x01'\]
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040006010102f93202000008040a00001001' LQI:75
> 2020-12-05 02:46:14 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80020015030001040006010102f93202000008040a000010014b
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] Attribute report received: measured\_value=983, 20=-1, 16=9832
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=983\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9832\>)\]\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=242 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x086d\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\xf2\\n\\x00\\x00)\\xd7\\x03\\x14\\x00(\\xff\\x10\\x00)h&'\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040403010102086d02000018f20a000029d703140028ff1000296826' LQI:123
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001f280001040403010102086d02000018f20a000029d703140028ff10002968267b
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] Attribute report received: measured\_value=983, 20=-1, 16=9832
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=983\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9832\>)\]\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=242 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x086d\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\xf2\\n\\x00\\x00)\\xd7\\x03\\x14\\x00(\\xff\\x10\\x00)h&'\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040403010102086d02000018f20a000029d703140028ff1000296826' LQI:123
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001f280001040403010102086d02000018f20a000029d703140028ff10002968267b
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] Attribute report received: measured\_value=983, 20=-1, 16=9832
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=983\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9832\>)\]\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=242 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x086d\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\xf2\\n\\x00\\x00)\\xd7\\x03\\x14\\x00(\\xff\\x10\\x00)h&'\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040403010102086d02000018f20a000029d703140028ff1000296826' LQI:123
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001f280001040403010102086d02000018f20a000029d703140028ff10002968267b
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] Attribute report received: measured\_value=983, 20=-1, 16=9832
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=983\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9832\>)\]\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=242 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x086d\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\xf2\\n\\x00\\x00)\\xd7\\x03\\x14\\x00(\\xff\\x10\\x00)h&'\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040403010102086d02000018f20a000029d703140028ff1000296826' LQI:123
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001f280001040403010102086d02000018f20a000029d703140028ff10002968267b
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0405\] Attribute report received: measured\_value=8644
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0405\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=uint16\_t, value=8644\>)\]\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0405\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=241 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1029, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x086d\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\xf1\\n\\x00\\x00!\\xc4!'\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040405010102086d02000018f10a000021c421' LQI:120
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80020016aa0001040405010102086d02000018f10a000021c42178
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0405\] Attribute report received: measured\_value=8644
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0405\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=uint16\_t, value=8644\>)\]\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0405\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=241 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1029, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x086d\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\xf1\\n\\x00\\x00!\\xc4!'\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040405010102086d02000018f10a000021c421' LQI:120
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80020016aa0001040405010102086d02000018f10a000021c42178
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0402\] Attribute report received: measured\_value=454
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0402\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=454\>)\]\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0402\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=240 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1026, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x086d\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\xf0\\n\\x00\\x00)\\xc6\\x01'\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040402010102086d02000018f00a000029c601' LQI:123
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80020016850001040402010102086d02000018f00a000029c6017b
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0402\] Attribute report received: measured\_value=454
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0402\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=454\>)\]\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy.zcl\] \[0x086d:1:0x0402\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=240 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1026, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x086d\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\xf0\\n\\x00\\x00)\\xc6\\x01'\]
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040402010102086d02000018f00a000029c601' LQI:123
> 2020-12-05 02:46:04 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80020016850001040402010102086d02000018f00a000029c6017b
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] Attribute report received: measured\_value=983, 20=-1, 16=9834
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=983\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9834\>)\]\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=92 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0xcfd6\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\\\\\n\\x00\\x00)\\xd7\\x03\\x14\\x00(\\xff\\x10\\x00)j&'\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040403010102cfd6020000185c0a000029d703140028ff1000296a26' LQI:105
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001fea0001040403010102cfd6020000185c0a000029d703140028ff1000296a2669
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] Attribute report received: measured\_value=983, 20=-1, 16=9834
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=983\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9834\>)\]\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=92 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0xcfd6\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\\\\\n\\x00\\x00)\\xd7\\x03\\x14\\x00(\\xff\\x10\\x00)j&'\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040403010102cfd6020000185c0a000029d703140028ff1000296a26' LQI:105
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001fea0001040403010102cfd6020000185c0a000029d703140028ff1000296a2669
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] Attribute report received: measured\_value=983, 20=-1, 16=9834
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=983\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9834\>)\]\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=92 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0xcfd6\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\\\\\n\\x00\\x00)\\xd7\\x03\\x14\\x00(\\xff\\x10\\x00)j&'\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040403010102cfd6020000185c0a000029d703140028ff1000296a26' LQI:105
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001fea0001040403010102cfd6020000185c0a000029d703140028ff1000296a2669
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] Attribute report received: measured\_value=983, 20=-1, 16=9834
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=983\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9834\>)\]\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=92 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0xcfd6\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\\\\\n\\x00\\x00)\\xd7\\x03\\x14\\x00(\\xff\\x10\\x00)j&'\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040403010102cfd6020000185c0a000029d703140028ff1000296a26' LQI:105
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001fea0001040403010102cfd6020000185c0a000029d703140028ff1000296a2669
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0405\] Attribute report received: measured\_value=5417
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0405\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=uint16\_t, value=5417\>)\]\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0405\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=91 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1029, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0xcfd6\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\[\\n\\x00\\x00!)\\x15'\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040405010102cfd6020000185b0a0000212915' LQI:108
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80020016b10001040405010102cfd6020000185b0a00002129156c
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0405\] Attribute report received: measured\_value=5417
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0405\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=uint16\_t, value=5417\>)\]\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0405\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=91 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1029, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0xcfd6\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\[\\n\\x00\\x00!)\\x15'\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040405010102cfd6020000185b0a0000212915' LQI:108
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80020016b10001040405010102cfd6020000185b0a00002129156c
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0402\] Attribute report received: measured\_value=1760
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0402\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=1760\>)\]\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0402\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=90 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1026, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0xcfd6\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18Z\\n\\x00\\x00)\\xe0\\x06'\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040402010102cfd6020000185a0a000029e006' LQI:111
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80020016660001040402010102cfd6020000185a0a000029e0066f
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0402\] Attribute report received: measured\_value=1760
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0402\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=1760\>)\]\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy.zcl\] \[0xcfd6:1:0x0402\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=90 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1026, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0xcfd6\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18Z\\n\\x00\\x00)\\xe0\\x06'\]
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'0001040402010102cfd6020000185a0a000029e006' LQI:111
> 2020-12-05 02:45:58 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 80020016660001040402010102cfd6020000185a0a000029e0066f
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] Attribute report received: measured\_value=982, 20=-1, 16=9824
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=982\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9824\>)\]\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=30 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x1339\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\x1e\\n\\x00\\x00)\\xd6\\x03\\x14\\x00(\\xff\\x10\\x00)\`&'\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'00010404030101021339020000181e0a000029d603140028ff1000296026' LQI:132
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001f7d00010404030101021339020000181e0a000029d603140028ff100029602684
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] Attribute report received: measured\_value=982, 20=-1, 16=9824
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=982\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9824\>)\]\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=30 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x1339\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\x1e\\n\\x00\\x00)\\xd6\\x03\\x14\\x00(\\xff\\x10\\x00)\`&'\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'00010404030101021339020000181e0a000029d603140028ff1000296026' LQI:132
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001f7d00010404030101021339020000181e0a000029d603140028ff100029602684
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] Attribute report received: measured\_value=982, 20=-1, 16=9824
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=982\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9824\>)\]\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=30 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x1339\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\x1e\\n\\x00\\x00)\\xd6\\x03\\x14\\x00(\\xff\\x10\\x00)\`&'\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'00010404030101021339020000181e0a000029d603140028ff1000296026' LQI:132
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001f7d00010404030101021339020000181e0a000029d603140028ff100029602684
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] Attribute report received: measured\_value=982, 20=-1, 16=9824
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=982\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9824\>)\]\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=30 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x1339\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\x1e\\n\\x00\\x00)\\xd6\\x03\\x14\\x00(\\xff\\x10\\x00)\`&'\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'00010404030101021339020000181e0a000029d603140028ff1000296026' LQI:132
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001f7d00010404030101021339020000181e0a000029d603140028ff100029602684
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0405\] Attribute report received: measured\_value=4922
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0405\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=uint16\_t, value=4922\>)\]\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0405\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=29 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1029, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x1339\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\x1d\\n\\x00\\x00!:\\x13'\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'00010404050101021339020000181d0a0000213a13' LQI:132
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 800200163900010404050101021339020000181d0a0000213a1384
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0405\] Attribute report received: measured\_value=4922
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0405\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=uint16\_t, value=4922\>)\]\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0405\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=29 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1029, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x1339\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\x1d\\n\\x00\\x00!:\\x13'\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'00010404050101021339020000181d0a0000213a13' LQI:132
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 800200163900010404050101021339020000181d0a0000213a1384
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0402\] Attribute report received: measured\_value=2108
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0402\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=2108\>)\]\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0402\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=28 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1026, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x1339\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\x1c\\n\\x00\\x00)\<\\x08'\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'00010404020101021339020000181c0a0000293c08' LQI:132
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 800200162a00010404020101021339020000181c0a0000293c0884
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0402\] Attribute report received: measured\_value=2108
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0402\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=2108\>)\]\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy.zcl\] \[0x1339:1:0x0402\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=28 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1026, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x1339\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18\\x1c\\n\\x00\\x00)\<\\x08'\]
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'00010404020101021339020000181c0a0000293c08' LQI:132
> 2020-12-05 02:42:48 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 800200162a00010404020101021339020000181c0a0000293c0884
> 2020-12-05 02:40:30 DEBUG (MainThread) \[zigpy.zcl\] \[0x55ee:1:0x0403\] Attribute report received: measured\_value=984, 20=-1, 16=9841
> 2020-12-05 02:40:30 DEBUG (MainThread) \[zigpy.zcl\] \[0x55ee:1:0x0403\] ZCL request 0x000a: \[\[Attribute(attrid=0, value=\<TypeValue type=int16s, value=984\>), Attribute(attrid=20, value=\<TypeValue type=int8s, value=-1\>), Attribute(attrid=16, value=\<TypeValue type=int16s, value=9841\>)\]\]
> 2020-12-05 02:40:30 DEBUG (MainThread) \[zigpy.zcl\] \[0x55ee:1:0x0403\] ZCL deserialize: \<ZCLHeader frame\_control=\<FrameControl frame\_type=GLOBAL\_COMMAND manufacturer\_specific=False is\_reply=False disable\_default\_response=True\> manufacturer=None tsn=71 command\_id=Command.Report\_Attributes\>
> 2020-12-05 02:40:30 DEBUG (MainThread) \[zigpy\_zigate.zigbee.application\] zigate\_callback\_handler \[0, 260, 1027, 1, 1, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x55ee\>, \<Address address\_mode=ADDRESS\_MODE.NWK address=0x0000\>, b'\\x18G\\n\\x00\\x00)\\xd8\\x03\\x14\\x00(\\xff\\x10\\x00)q&'\]
> 2020-12-05 02:40:30 DEBUG (MainThread) \[zigpy\_zigate.api\] data received 0x8002 b'000104040301010255ee02000018470a000029d803140028ff1000297126' LQI:90
> 2020-12-05 02:40:30 DEBUG (MainThread) \[zigpy\_zigate.uart\] Frame received: 8002001f74000104040301010255ee02000018470a000029d803140028ff10002971265a
> \`\`\`
> 
> \## Additional information
> Here on the logs, it seems to stop working at 2020-12-05 02:55:22, last sensor update seems to have been received at 02:45:58.
> 
> Thanks for your help!

---

<div class="post-metadata">

**Author:** ![Alindil](https://forum.hacf.fr/user_avatar/forum.hacf.fr/alindil/32/17225_2.png) [@Alindil](https://forum.hacf.fr/u/Alindil)\
**Post date:** [Juin 9, 2021, 9:29 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/3 "2021-06-09T21:29:52Z")

</div>

Salut, il semblerait que j’ai le même problème.  
As-tu trouvé une solution fonctionnelle ? As tu flashé la zigate en 3.1e ?

---

<div class="post-metadata">

**Author:** ![Benjamin](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@Benjamin](https://forum.hacf.fr/u/Benjamin)\
**Post date:** [Juin 10, 2021, 8:40 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/4 "2021-06-10T08:40:18Z")

</div>

Bonjour, oui j’ai flashé en 3.1e, par contre tout le monde semble s’en foutre de seproblème … voir mes tickets sur github …

La solution fonctionnelle que j’ai trouvé, c’est de faire des scripts bash dans un cron, qui quand il détecte l’erreur vont redémarrer HASS …

---

<div class="post-metadata">

**Author:** ![Alindil](https://forum.hacf.fr/user_avatar/forum.hacf.fr/alindil/32/17225_2.png) [@Alindil](https://forum.hacf.fr/u/Alindil)\
**Post date:** [Juin 11, 2021, 8:07 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/5 "2021-06-11T08:07:07Z")

</div>

Salut, ah oué. le problème c’est que chez moi les capteurs ne tiennent pas plus de 30min et après plus de mise à jour, sauf recharger le plugin ou redémarrer home assistant. ça m’embête beaucoup de redémarrer ha toute les 30min. J’ai déjà mise à jour le firemware wifi mais toujours le problème.  
J’ai vu qu’il y a une version 3.1f de sortie. Je vais tenter ça en réinitialisant bien ma zigate mais je suis très septique.

---

<div class="post-metadata">

**Author:** ![Benjamin](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@Benjamin](https://forum.hacf.fr/u/Benjamin)\
**Post date:** [Juin 11, 2021, 8:20 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/6 "2021-06-11T08:20:50Z")

</div>

Pardon, je n’ai pas été assez précis, je ne redémarre pas HASS, je redémarre uniquement l’intégration. Mais sinon oui je suis d’accord c’est lourd, je suis prenneur de ton retour sur 3.1f

---

<div class="post-metadata">

**Author:** ![Alindil](https://forum.hacf.fr/user_avatar/forum.hacf.fr/alindil/32/17225_2.png) [@Alindil](https://forum.hacf.fr/u/Alindil)\
**Post date:** [Juin 11, 2021, 3:43 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/7 "2021-06-11T15:43:17Z")

</div>

bon toujours même problème.

je vais me la tenter par le code avec la bibliothèque [doudz/zigate](https://github.com/doudz/zigate)

je vais voir comme ça si c’est matériel ou si c’est vraiment le plugin.  
si ça déconne pas, j’alimenterais mes devices en template en attendant une éventuelle correction

---

<div class="post-metadata">

**Author:** ![Benjamin](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@Benjamin](https://forum.hacf.fr/u/Benjamin)\
**Post date:** [Juin 14, 2021, 9:29 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/8 "2021-06-14T09:29:09Z")

</div>

Penses à aller commenter les «&nbsp;issues&nbsp;» github que j’ai ouvert pour faire réagir les devs !

---

<div class="post-metadata">

**Author:** ![zeguigui\_1](https://forum.hacf.fr/user_avatar/forum.hacf.fr/zeguigui_1/32/16828_2.png) [@zeguigui\_1](https://forum.hacf.fr/u/zeguigui_1)\
**Post date:** [Juin 14, 2021, 12:34 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/9 "2021-06-14T12:34:19Z")

</div>

Comme je l’ai écrit sur le github, même problème.  
Pour les courageux on peut mettre à jour la librairie zigpy-zigate avec la version non releasee par Doudz qui est supposée implémenter le reconnect. Les essais que j’ai fait à l’époque où il a modifié la lib n’avaient pas été concluants mais comme le code de homeassistant évolue rapidement peut-être que ça corrige, je n’ai pas refait de test récent.  
Si je trouve du temps, je tente de mon côté, voir j’ajoute du code pour logger la détection de disconnect / reconnect (j’ai peur que le code ajouté par doudz ne soit pas suffisant et qu’il faille ajouter des choses côté zha, mais mon niveau en python est loin d’être aussi bon que dans d’autres langages de programmation)

---

<div class="post-metadata">

**Author:** ![Benjamin](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@Benjamin](https://forum.hacf.fr/u/Benjamin)\
**Post date:** [Juin 14, 2021, 12:53 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/10 "2021-06-14T12:53:10Z")

</div>

> [@\[Network UPS Tools (NUT)\] problème de connexion](https://forum.hacf.fr/t/network-ups-tools-nut-probleme-de-connexion/1135/9):
>
> Pour les courageux on peut mettre à jour la librairie zigpy-zigate avec la version non releasee par Doudz qui est supposée implémenter le reconnect.

Merci de ce message, par contre l’implémentation aurait du être faite à qu’elle niveau ? dans hass core ?

---

<div class="post-metadata">

**Author:** ![zeguigui\_1](https://forum.hacf.fr/user_avatar/forum.hacf.fr/zeguigui_1/32/16828_2.png) [@zeguigui\_1](https://forum.hacf.fr/u/zeguigui_1)\
**Post date:** [Juin 14, 2021, 1:08 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/11 "2021-06-14T13:08:54Z")

</div>

il faut attendre que doudz release une nouvelle version de zigpy-zigate (cf. [zigpy-zigate 0.8.0 or newer 0.8.x release with later fixes already added? · Issue #93 · zigpy/zigpy-zigate · GitHub](https://github.com/zigpy/zigpy-zigate/issues/93)). Une fois qu’il l’aura fait, la nouvelle version sera disponible via pypi puis les développeurs de HA pourront mettre à jour les dépendances de HA pour qu’elle soit inclue dans le core…

si on veut tester en avance faut aller bidouiller la lib à la main pour écraser les fichiers standards par ceux que doudz a commité dans sa branche dev (à ma demande pour le reconnect)

**edit** : je vois qu’on a travaillé dessus en décembre 2020… ça vaudrait vraiment le coup de tester à nouveau ([add reconnect feature · zigpy/zigpy-zigate@e9b8bf1 · GitHub](https://github.com/zigpy/zigpy-zigate/commit/e9b8bf1334cc10c36292735f4213109aab97ea41))

---

<div class="post-metadata">

**Author:** ![zeguigui\_1](https://forum.hacf.fr/user_avatar/forum.hacf.fr/zeguigui_1/32/16828_2.png) [@zeguigui\_1](https://forum.hacf.fr/u/zeguigui_1)\
**Post date:** [Juin 14, 2021, 1:21 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/12 "2021-06-14T13:21:29Z")

</div>

allez, je viens de forcer le nouveau code sur mon HA et j’ai désactiver mon cron qui force le rechargement de Zigbee, on va bien voir !

---

<div class="post-metadata">

**Author:** ![Benjamin](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@Benjamin](https://forum.hacf.fr/u/Benjamin)\
**Post date:** [Juin 14, 2021, 1:29 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/13 "2021-06-14T13:29:27Z")

</div>

Je viens d’aller voir effectivement le code semble inclure la déconnexion, dommage que ça n’ait pas été encore poussé depuis !

---

<div class="post-metadata">

**Author:** ![zeguigui\_1](https://forum.hacf.fr/user_avatar/forum.hacf.fr/zeguigui_1/32/16828_2.png) [@zeguigui\_1](https://forum.hacf.fr/u/zeguigui_1)\
**Post date:** [Juin 14, 2021, 1:53 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/14 "2021-06-14T13:53:40Z")

</div>

n’ai pas de regrets, ça ne fonctionne pas ☹

```
2021-06-14 14:51:37 DEBUG (MainThread) [zigpy_zigate.uart] Closed serial connection

```

et pas de reconnection derrière, sans trop savoir si ça vient de zigpy ou de zigpy-zigate

---

<div class="post-metadata">

**Author:** ![Benjamin](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@Benjamin](https://forum.hacf.fr/u/Benjamin)\
**Post date:** [Juin 14, 2021, 2:08 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/15 "2021-06-14T14:08:16Z")

</div>

Dès que je trouve du temps, je vais aller voir le code directement et me mettre en mode dev ☹

---

<div class="post-metadata">

**Author:** ![tygerlord](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/t/b77776/32.png) [@tygerlord](https://forum.hacf.fr/u/tygerlord)\
**Post date:** [Juin 17, 2021, 3:24 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/16 "2021-06-17T15:24:06Z")

</div>

J’essaye de comprendre comment ça marche et je vous suis pour trouver une solution.

---

<div class="post-metadata">

**Author:** ![Benjamin](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/b/3d9bf3/32.png) [@Benjamin](https://forum.hacf.fr/u/Benjamin)\
**Post date:** [Juin 17, 2021, 3:40 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/17 "2021-06-17T15:40:18Z")

</div>

Souhaitez vous que nous nous m’étions en visio pour essayer de faire une session de travail commune ?

J’ai des compétences en réseau python et je suis sous docker swarm.

---

<div class="post-metadata">

**Author:** ![tygerlord](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/t/b77776/32.png) [@tygerlord](https://forum.hacf.fr/u/tygerlord)\
**Post date:** [Juin 18, 2021, 7:12 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/18 "2021-06-18T07:12:05Z")

</div>

Pas nécessairement dans l’immédiat. Je regarde un peu comment ça fonctionne et après je vais tester 2/3 choses. Sinon on peut se retrouver aussi sur [Discord](https://discord.gg/R8Bq8TgaGB)

---

<div class="post-metadata">

**Author:** ![tygerlord](https://forum.hacf.fr/letter_avatar_proxy/v4/letter/t/b77776/32.png) [@tygerlord](https://forum.hacf.fr/u/tygerlord)\
**Post date:** [Juin 19, 2021, 12:12 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/19 "2021-06-19T12:12:57Z")

</div>

J’ai tenté des choses ultra simpliste du genre:

```
   async def command(self, cmd, data=b'', wait_response=None, wait_status=True):
        tries = 200
        while tries > 0:
           tries -= 1
           try:
             return await self.command2(cmd=cmd, data=data, wait_response=wait_response, wait_status=wait_status)
           except NoResponseError as nre:
             if tries > 0:
                 LOGGER.warning("Reconnect")
                 self.close()
                 await asyncio.sleep(1)
                 await self.connect()
             else:
                 raise nre

    async def command2(self, cmd, data=b'', wait_response=None, wait_status=True):

```

La reconnexion fonctionne très bien, malheureusement je me retrouve avec d’autres erreurs:

```
2021-06-19 13:36:22 DEBUG (MainThread) [zigpy_zigate.zigbee.application] zigate_callback_handler [233, 1, 8, <Address address_mode=ADDRESS_MODE.NWK a│
│2021-06-19 13:36:22 DEBUG (MainThread) [zigpy_zigate.zigbee.application] APS Data confirm Fail 67 233 │
│2021-06-19 13:36:22 WARNING (MainThread) [zigpy_zigate.zigbee.application] Unexpected message send failure │
│2021-06-19 13:36:22 DEBUG (MainThread) [zigpy_zigate.uart] Frame received: 8012000a320001080202e444000300 │
│2021-06-19 13:36:22 DEBUG (MainThread) [zigpy_zigate.api] data received 0x8012 b'0001080202e4440003' LQI:0       

```

Certains modules n’apparaissent plus dans la carte réseau…

On va pas pouvoir couper court à se plonger dans le protocol pour résoudre le problème, or c’est pas forcément ma priorité, je me pose la question de balancer la zigate et passer sur une Phoscon conbeeII 🤔

---

<div class="post-metadata">

**Author:** ![Alindil](https://forum.hacf.fr/user_avatar/forum.hacf.fr/alindil/32/17225_2.png) [@Alindil](https://forum.hacf.fr/u/Alindil)\
**Post date:** [Juin 23, 2021, 2:33 UTC](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119/20 "2021-06-23T14:33:23Z")

</div>

Phoscon conbeeII est en usb ?  
Car pour ma part ma zigate en usb marche bien mais pas en wifi.  
Mon intérêt est que Home Assistnat tourne sur synology est que la prochaine version ne prend plus en charge les dongles.

[Page suivante](https://forum.hacf.fr/t/zha-zigpy-zigate-wifi-fermeture-de-connection-vers-zha/14119.md?page=2)
