[RESOLU] Clé Zigate Wifi non reconnue

Mon problème

Bonjour,
J’ai la dernière version de HA (2022.12.0) qui tourne sur une VM sur un synology 918+.
J’ai installé la dernière version des pilotes USB et fait tourner le script trouvés sur le github de robertklep.
J’ai rebranché ma clé Zigate+ Wifi (qui est configurée sur mon réseau local, je peux me connecter sur sa page de configuration et qui est en « ZiGate-WiFi v2.00 with esp-link v3.2.50-gfe4f565-dirty »).
J’ai coché la case « enable MQTT client ».
Mais lorsque je passe à l’intégration de Zigbee2MQTT, impossible d’avoir le port « ttyUSB0 » affiché.
En filtrant sur USB dans Matériel, je démarre à USB1.
Donc je ne peux pas poursuivre l’intégration (mon but étant de récupérer les informations d’un Lixee ZLinky_TIC)

Ma configuration


System Information

version core-2022.12.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.7
os_name Linux
os_version 5.15.74
arch x86_64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4992
Installed Version 1.28.4
Stage running
Available Repositories 1157
Downloaded Repositories 1
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 9.3
update_channel stable
supervisor_version supervisor-2022.11.2
agent_version 1.4.1
docker_version 20.10.18
disk_total 30.8 GB
disk_used 6.8 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons File editor (5.4.2), Samba Backup (5.2.0), Log Viewer (0.14.0), Grafana (8.1.0), Studio Code Server (5.4.1), InfluxDB (4.5.0), SQLite Web (3.6.1), Mosquitto broker (6.1.3), Zigbee2MQTT (1.28.4-1), Terminal & SSH (9.6.1)
Dashboards
dashboards 1
resources 0
mode auto-gen
Recorder
oldest_recorder_run 30 novembre 2022 à 17:33
current_recorder_run 8 décembre 2022 à 16:51
estimated_db_size 36.54 MiB
database_engine sqlite
database_version 3.38.5

J’espère avoir été clair car c’est ma première demande sur ce forum.
Merci d’avance des réponses que vous pourrez m’apporter.

Hello

tu dois avoir d’autre clés de connecté

dans le dossier /config/zigbee2mqtt
dedans tu as un fichier
configuration.yaml

cherche cette ligne

serial:
port: /dev/ttyACM1

change la en conséquence par

serial:
  port: /dev/ttyUSB1

reboot HA

Comment as tu procède pour l’installe , quel tuto ??
quel script as tu installé ou lance pour les drivers , de mémoire tu as 3 drivers
mais un seul dois s’installé , si les trois je crois que ca Bugue mais a confirmé par d’autres membre.

Ensuite il nous manque tes journaux , sans cela on peux pas cerné ton souci et la cause

Merci pour ta réponse.
Je n’avais pas de ligne serial dans le fichier configuration dans le répertoire zigbee2mqtt.
Je l’ai créée avec la réf à ttyUSB1, mais je ne suis pas sûr que la clé soit réellement identifiée par le syno ; j’ai redémarré HA suite à l’écriture de la ligne dans le fichier, mais ce n’est pas mieux.
Le tuto suivi est celui-ci :

Le script est celui-ci :
/sbin/modprobe usbserial
/sbin/modprobe ftdi_sio
/sbin/modprobe cdc-acm
chmod 777 /dev/ttyUSB0
chmod 777 /dev/ttyACM0
lancé dans le planificateur de taches 1 fois/jour.
Les pilotes sont récupérés ici et installés comme demandés :

Concernant les journaux, je n’en vois aucun qui fasse référence aux ports série, donc je ne sais pas lequel afficher.






Rapide dis-donc !
Pour Zigbee2mqtt, l’appli ne démarre pas car comme je ne suis pas capable d’indiquer le bon port série, je ne finalise pas l’intégration.
Voici le journal :

[23:51:30] INFO: Preparing to start...
[23:51:30] INFO: Socat not enabled
[23:51:31] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info  2022-12-08 23:51:37: Logging to console and directory: '/config/zigbee2mqtt/log/2022-12-08.23-51-37' filename: log.txt
Zigbee2MQTT:info  2022-12-08 23:51:37: Starting Zigbee2MQTT version 1.28.4 (commit #unknown)
Zigbee2MQTT:info  2022-12-08 23:51:37: Starting zigbee-herdsman (0.14.76)
Zigbee2MQTT:error 2022-12-08 23:51:37: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2022-12-08 23:51:37: Failed to start zigbee
Zigbee2MQTT:error 2022-12-08 23:51:37: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2022-12-08 23:51:37: Exiting...
Zigbee2MQTT:error 2022-12-08 23:51:37: Error: spawn udevadm ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:283:19)
    at onErrorNT (node:internal/child_process:478:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)`

Cela me semble normal car je n’ai pas modifié le fichier de configuration par défaut, toujours pour la même raison de problème de port série/USB.
Le journal complet ne me semble mentionner que des erreurs sur les périphériques HT-A9 et imprimante Canon ce qui est normal car ils ne sont pas en ligne :

`<2022-12-10 17:10:33.430 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-10 17:10:55.193 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2022-12-10 17:11:11.239 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:11:11.675 WARNING (MainThread) [homeassistant.components.media_player] Platform songpal not ready yet: Unable to do POST request: Cannot connect to host 10.0.0.15:10000 ssl:default [Connect call failed ('10.0.0.15', 10000)]: None; Retrying in background in 30 seconds
2022-12-10 17:11:15.969 WARNING (MainThread) [homeassistant.setup] Setup of evohome is taking over 10 seconds.
2022-12-10 17:11:16.840 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform songpal is taking over 10 seconds.
2022-12-10 17:11:17.144 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform dlna_dmr is taking over 10 seconds.
2022-12-10 17:11:19.187 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.25:10000/sony)] Unable to connect
2022-12-10 17:11:19.239 WARNING (MainThread) [homeassistant.components.media_player] Platform songpal not ready yet; Retrying in background in 30 seconds
2022-12-10 17:11:19.251 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Canon MF633C/635C' for ipp integration not ready yet: Invalid response from API: Error occurred while communicating with IPP server.; Retrying in background
2022-12-10 17:11:33.098 WARNING (MainThread) [homeassistant.components.netatmo] Webhook not registered - https and port 443 is required to register the webhook
2022-12-10 17:11:47.051 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform songpal is taking over 10 seconds.
2022-12-10 17:11:47.056 WARNING (MainThread) [homeassistant.components.media_player] Setup of media_player platform songpal is taking over 10 seconds.
2022-12-10 17:11:47.097 ERROR (MainThread) [homeassistant.components.homeassistant_alerts] Timeout fetching homeassistant_alerts data
2022-12-10 17:11:47.230 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:11:47.234 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.25:10000/sony)] Unable to connect
2022-12-10 17:11:52.556 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Salle de loisirs' for apple_tv integration not ready yet: Not found at 10.0.0.22, waiting for discovery; Retrying in background
2022-12-10 17:12:50.336 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:14:23.456 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:16:26.529 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:18:59.616 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:22:02.721 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:25:05.824 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:28:08.928 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:28:42.575 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 81, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/hassio/http.py", line 75, in _handle
    return await self._command_proxy(path, request)
  File "/usr/src/homeassistant/homeassistant/components/hassio/http.py", line 111, in _command_proxy
    await response.prepare(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_response.py", line 421, in prepare
    return await self._start(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_response.py", line 429, in _start
    await self._write_headers()
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_response.py", line 502, in _write_headers
    await writer.write_headers(status_line, self._headers)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/http_writer.py", line 131, in write_headers
    self._write(buf)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/http_writer.py", line 76, in _write
    raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
2022-12-10 17:28:42.635 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
    resp = await request_handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
    resp = await handler(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 81, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/hassio/http.py", line 75, in _handle
    return await self._command_proxy(path, request)
  File "/usr/src/homeassistant/homeassistant/components/hassio/http.py", line 111, in _command_proxy
    await response.prepare(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_response.py", line 421, in prepare
    return await self._start(request)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_response.py", line 429, in _start
    await self._write_headers()
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_response.py", line 502, in _write_headers
    await writer.write_headers(status_line, self._headers)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/http_writer.py", line 131, in write_headers
    self._write(buf)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/http_writer.py", line 76, in _write
    raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
2022-12-10 17:31:12.032 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:34:15.136 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:37:18.240 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:40:21.344 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:43:24.448 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:46:27.552 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:49:30.657 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:52:33.761 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:55:36.864 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 17:58:39.968 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 18:01:43.072 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect
2022-12-10 18:04:46.179 WARNING (MainThread) [homeassistant.components.songpal.media_player] [HT-A9(http://10.0.0.15:10000/sony)] Unable to connect

J’ai essayé de joindre le fichier, mais l’extension .log n’est pas autorisée.

Dans l’atente de ton retour :smile:

bien de posté les journaux mais un enfer pour lire :grin:
sert toi des balises pour posté

1 « J'aime »

J’ai essayé les balises, mais soit je clique sur le symbole et ça affiche Texte préformaté mais rien de plus, en entrée comme en sortie, soit je tape < ou /> mais c’est pareil.
Donc je sèche ; je peux aussi formater en markdown avant de copier, mais je ne sais pas si ce forum accepte.

Salut,

désolé mais j’ai un peu de mal à comprendre, la zigate est en USB ou en WIFI ?

En USB sur le port arrière du NAS, mais avec le module Wifi (et reconnue sur mon réseau local vu que je lui ai collé un IP fixe en DHCP et que j’accède à sa page de configuration).
Et pas moyen de choper quoi que ce soit en reconnaissance sous HA ou Zigbee2mqtt.
J’ai pris aussi le module Wifi pour augmenter les possibilités mais pour le moment queud…

J’avance : la clé est reconnue sur le NAS, mais Zigbee2mqtt ne réussit pas à se connecter.
Je créé un autre sujet pour ne pas mélanger.
Pour les curieux : suite à l’installation, je n’étais pas retourné dans la VM pour définir le nouveau port USB.
Erreur de débutant ; je maîtrise Esxi mais pas les VM de Syno que je découvre…

ça marche avec 3 quotes inversés avant/après le texte à formater
image

1 « J'aime »