Bonjour,
Mon problème
J’ai installé HA sous docker/Debian12 avec Frigate/Mosquitto/Zwavejs2mqtt, pas de soucis. L’intégration RFX est également en place et fonctionnelle.
je viens de réceptionner un dongle SONOFF zigbee, ai installer le docker zigbee2mqtt puis démarrer zigbee2mqtt et redémarrer homeassistant. C’est ici que cela se gâte:
. dans les logs homeassistant j’ai plein d’erreurs
homeassistant | Traceback (most recent call last):
homeassistant | File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
homeassistant | self._context.run(self._callback, *self._args)
homeassistant | File "/usr/local/lib/python3.12/site-packages/serial_asyncio_fast/__init__.py", line 146, in _read_ready
homeassistant | self._protocol.data_received(data)
homeassistant | File "/usr/local/lib/python3.12/site-packages/zigpy_zigate/uart.py", line 71, in data_received
homeassistant | cmd, length, checksum, f_data, lqi = struct.unpack(
homeassistant | ^^^^^^^^^^^^^^
homeassistant | struct.error: bad char in struct format
Dans les logs de zigbee2mqtt, pas d’erreur. Lorsque je me connecte à l’UI de HA, j’ai la notification SONOFF Zigbee 3.0 USB Dongle Plus V2 Zigbee Home Automation
est à configurer, ce que je valide. Après un certain temps, j’ai le message Échec de l'analyse du périphérique USB
et dans les logs de zigbee2mqtt je trouve alors
zigbee2mqtt | [2024-09-26 17:34:18] warning: zh:ember:uart:ash: Frame(s) in progress cancelled in [13131313131313131313131313131313131313131313131313131313
13131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313
1313131313131313131313131313131313131313131ac102029b7b7e]
zigbee2mqtt | [2024-09-26 17:34:18] error: zh:ember:uart:ash: Received unexpected reset from adapter, with reason=RESET_POWERON.
zigbee2mqtt | [2024-09-26 17:34:18] error: zh:ember:uart:ash: ASH disconnected: ASH_ERROR_NCP_RESET | Adapter status: ASH_NCP_FATAL_ERROR
zigbee2mqtt | [2024-09-26 17:34:18] error: zh:ember:uart:ash: Error while parsing received frame, status=HOST_FATAL_ERROR.
zigbee2mqtt | [2024-09-26 17:34:18] error: zh:ember: Adapter fatal error: HOST_FATAL_ERROR
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: ASH COUNTERS since last clear:
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Total frames: RX=53, TX=100
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Cancelled : RX=1, TX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: DATA frames : RX=49, TX=44
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: DATA bytes : RX=520, TX=498
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Retry frames: RX=1, TX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: ACK frames : RX=0, TX=50
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: NAK frames : RX=1, TX=1
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: nRdy frames : RX=0, TX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: CRC errors : RX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Comm errors : RX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Length < minimum: RX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Length > maximum: RX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Bad controls : RX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Bad lengths : RX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Bad ACK numbers : RX=2
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Out of buffers : RX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Retry dupes : RX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Out of sequence : RX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: ACK timeouts : RX=0
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: Port closed.
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:uart:ash: ======== ASH stopped ========
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember:ezsp: ======== EZSP stopped ========
zigbee2mqtt | [2024-09-26 17:34:18] info: zh:ember: ======== Ember Adapter Stopped ========
zigbee2mqtt | [2024-09-26 17:34:18] error: z2m: Adapter disconnected, stopping
zigbee2mqtt | [2024-09-26 17:34:18] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"offline"}'
zigbee2mqtt | [2024-09-26 17:34:18] info: z2m: Disconnecting from MQTT server
zigbee2mqtt | [2024-09-26 17:34:18] info: z2m: Stopping zigbee-herdsman...
zigbee2mqtt | [2024-09-26 17:34:18] info: z2m: Stopped zigbee-herdsman
zigbee2mqtt | [2024-09-26 17:34:18] info: z2m: Stopped Zigbee2MQTT
suivi d’une erreur
zigbee2mqtt | [2024-09-26 17:34:27] error: zh:ember:ezsp: The adapter has run out of buffers, causing general malfunction. Remediate network congestion,
if present. Last Frame: [FRAME: ID=0:"VERSION" Seq=0 Len=7].
zigbee2mqtt | [2024-09-26 17:34:36] error: zh:ember:uart:ash: Received frame with CRC error
zigbee2mqtt | [2024-09-26 17:34:40] error: zh:ember:ezsp: ERROR Transaction failure; status=ASH_ERROR_TIMEOUTS. Last Frame: [FRAME: ID=0:"VERSION" Seq=0
Len=7].
zigbee2mqtt | [2024-09-26 17:34:40] error: zh:ember: Adapter fatal error: ASH_ERROR_TIMEOUTS
zigbee2mqtt | [2024-09-26 17:34:40] error: z2m: Error while starting zigbee-herdsman
zigbee2mqtt | [2024-09-26 17:34:40] error: z2m: Failed to start zigbee
zigbee2mqtt | [2024-09-26 17:34:40] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solut
ions
zigbee2mqtt | [2024-09-26 17:34:40] error: z2m: Exiting...
zigbee2mqtt | [2024-09-26 17:34:40] error: z2m: Error: ASH_ERROR_TIMEOUTS
zigbee2mqtt | at Ezsp.ezspVersion (/app/node_modules/zigbee-herdsman/src/adapter/ember/ezsp/ezsp.ts:1361:19)
zigbee2mqtt | at EmberAdapter.emberVersion (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1424:63)
zigbee2mqtt | at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:705:9)
zigbee2mqtt | at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1708:24)
zigbee2mqtt | at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:138:29)
zigbee2mqtt | at Zigbee.start (/app/lib/zigbee.ts:64:27)
zigbee2mqtt | at Controller.start (/app/lib/controller.ts:140:27)
zigbee2mqtt | at start (/app/index.js:154:5)
suivi du message d’erreur répété
zigbee2mqtt | [2024-09-26 17:25:14] error: zh:ember:uart:ash: Received ERROR from adapter, with code=ERROR_EXCEEDED_MAXIMUM_ACK_TIMEOUT_COUNT.
zigbee2mqtt | [2024-09-26 17:25:14] error: zh:ember:uart:ash: ASH disconnected | Adapter status: ASH_NCP_FATAL_ERROR
zigbee2mqtt | [2024-09-26 17:25:14] error: zh:ember:uart:ash: Error while parsing received frame, status=ASH_NCP_FATAL_ERROR.
zigbee2mqtt | [2024-09-26 17:25:14] error: zh:ember: Adapter fatal error: HOST_FATAL_ERROR
zigbee2mqtt | [2024-09-26 17:25:18] error: zh:ember:ezsp: ERROR Transaction failure; status=ASH_ERROR_TIMEOUTS. Last Frame: [FRAME: ID=21:"SET_MANUFACTUR
ER_CODE" Seq=10 Len=5].
zigbee2mqtt | [2024-09-26 17:25:18] error: z2m: Error while starting zigbee-herdsman
zigbee2mqtt | [2024-09-26 17:25:18] error: z2m: Failed to start zigbee
zigbee2mqtt | [2024-09-26 17:25:18] error: z2m: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solut
ions
zigbee2mqtt | [2024-09-26 17:25:18] error: z2m: Exiting...
zigbee2mqtt | [2024-09-26 17:25:18] error: z2m: Error: ASH_ERROR_TIMEOUTS
zigbee2mqtt | at Ezsp.ezspSetConfigurationValue (/app/node_modules/zigbee-herdsman/src/adapter/ember/ezsp/ezsp.ts:1419:19)
zigbee2mqtt | at EmberAdapter.emberSetEzspConfigValue (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1465:24)
zigbee2mqtt | at EmberAdapter.initEzsp (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:724:9)
zigbee2mqtt | at EmberAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/ember/adapter/emberAdapter.ts:1708:24)
zigbee2mqtt | at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:138:29)
zigbee2mqtt | at Zigbee.start (/app/lib/zigbee.ts:64:27)
zigbee2mqtt | at Controller.start (/app/lib/controller.ts:140:27)
zigbee2mqtt | at start (/app/index.js:154:5)
Ma configuration
[center]## System Information
version | core-2024.9.2 |
---|---|
installation_type | Home Assistant Container |
dev | false |
hassio | false |
docker | true |
user | root |
virtualenv | false |
python_version | 3.12.4 |
os_name | Linux |
os_version | 6.1.0-25-amd64 |
arch | x86_64 |
timezone | Europe/Paris |
config_dir | /config |
Home Assistant Community Store
GitHub API | ok |
---|---|
GitHub Content | ok |
GitHub Web | ok |
HACS Data | ok |
GitHub API Calls Remaining | 5000 |
Installed Version | 2.0.1 |
Stage | running |
Available Repositories | 1487 |
Downloaded Repositories | 6 |
Home Assistant Cloud
logged_in | false |
---|---|
can_reach_cert_server | ok |
can_reach_cloud_auth | ok |
can_reach_cloud | ok |
Dashboards
dashboards | 4 |
---|---|
resources | 4 |
views | 2 |
mode | storage |
Recorder
oldest_recorder_run | 16 septembre 2024 à 10:58 |
---|---|
current_recorder_run | 26 septembre 2024 à 17:31 |
estimated_db_size | 101.10 MiB |
database_engine | sqlite |
database_version | 3.45.3 |
La clé SONOFF a été flashée avec silabs-firmware-builder/firmware_builds/zbdonglee/ncp-uart-hw-v7.4.4.0-zbdonglee-115200.gbl at main · darkxst/silabs-firmware-builder · GitHub
Si une bonne âme avait la solution je lui en serai reconnaissant