doudz / homeassistant-zigate

zigate component for Home Assistant
MIT License
48 stars 13 forks source link

[zigate] No response after command 0x0010 #133

Open jns-fr opened 4 years ago

jns-fr commented 4 years ago

Bonjour

Tout d'abord merci pour ton intégration qui me permet de profiter de la zigate.

Cependant depuis quelques temps je perds la communication entre home-assistant et la zigate (en moins d'une heure). Obliger de redémarrer la zigate et hass.

2020-08-26 19:18:39 WARNING (SyncWorker_8) [zigate] No response after command 0x0010 (12)
2020-08-26 19:18:39 WARNING (SyncWorker_8) [zigate] Failed to retrieve zigate firmware version
2020-08-26 19:18:39 ERROR (MainThread) [homeassistant] Error doing job: Future exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/zigate/__init__.py", line 396, in start_zigate
    if version < '3.1a':
TypeError: '<' not supported between instances of 'NoneType' and 'str'
2020-08-26 19:19:07 DEBUG (Thread-6) [zigate] REQUEST : 0x0010
2020-08-26 19:19:07 DEBUG (Thread-6) [zigate] Msg to send b'0010000010'
2020-08-26 19:19:07 DEBUG (Thread-6) [zigate] Encoded Msg to send b'01021010021002101003'
2020-08-26 19:19:07 DEBUG (Thread-6) [zigate] Waiting for status message for command 0x0010
2020-08-26 19:19:12 WARNING (Thread-6) [zigate] No response after command 0x0010 (13)
2020-08-26 19:19:12 WARNING (Thread-6) [zigate] Failed to retrieve zigate firmware version
2020-08-26 19:19:22 DEBUG (MainThread) [zigate] REQUEST : 0x0010
2020-08-26 19:19:22 DEBUG (MainThread) [zigate] Msg to send b'0010000010'
2020-08-26 19:19:22 DEBUG (MainThread) [zigate] Encoded Msg to send b'01021010021002101003'
2020-08-26 19:19:22 DEBUG (MainThread) [zigate] Waiting for status message for command 0x0010
2020-08-26 19:19:27 WARNING (MainThread) [zigate] No response after command 0x0010 (14)
2020-08-26 19:19:27 WARNING (MainThread) [zigate] Failed to retrieve zigate firmware version
2020-08-26 19:21:22 DEBUG (MainThread) [zigate] REQUEST : 0x0010
2020-08-26 19:21:22 DEBUG (MainThread) [zigate] Msg to send b'0010000010'
2020-08-26 19:21:22 DEBUG (MainThread) [zigate] Encoded Msg to send b'01021010021002101003'
2020-08-26 19:21:22 DEBUG (MainThread) [zigate] Waiting for status message for command 0x0010
2020-08-26 19:21:27 WARNING (MainThread) [zigate] No response after command 0x0010 (15)
2020-08-26 19:21:27 WARNING (MainThread) [zigate] Failed to retrieve zigate firmware version

Voici les informations de la zigate:

Attribute Value
Lib version 0.40.6
Port zigate.lan:9999
Connected True
Firmware version 3.1c
Model WiFi

Voici les informations de home-asssitant:

arch armv7l
dev true
docker true
hassio false
installation_type Home Assistant Container
os_name Linux
os_version 4.19.97-v7l+
python_version 3.8.3
timezone Europe/Paris
version 0.115.0.dev20200825
virtualenv false

Et voici le configuration qui me semble pertinente:

homeassistant:
  external_url: https://hass.domain.com

zigate:
  host: zigate.lan:9999
  admin_panel: true

Pourtant j'arrive bien a accéder à la page web de la zigate et la led m'indique qu'elle reçois bien la commande de mes interrupteurs et home-assistant me dit bien que la zigate est connectée.

Je sèche un peu, merci par avance pour tes lumières