Mon problème
Bonjour,
J’ai une installation toute fraiche d’un home assistant OS sur un Raspberry pi 4.
Je veux faire fonctionner mon réseau zigbee avec Zigbee21MQTT et un dongle sonoff.
Le problème est que lorsque je démarre Zigbee2MQTT j’ai le message d’erreur suivant dans les logs
[12:25:02] INFO: Preparing to start...
[12:25:02] INFO: Socat not enabled
[12:25:04] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:debug 2024-02-22 12:25:10: Loaded state from file /config/zigbee2mqtt/state.json
Zigbee2MQTT:info 2024-02-22 12:25:10: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-22.12-25-10' filename: log.txt
Zigbee2MQTT:debug 2024-02-22 12:25:10: Removing old log directory '/config/zigbee2mqtt/log/2024-02-22.12-11-42'
Zigbee2MQTT:info 2024-02-22 12:25:10: Starting Zigbee2MQTT version 1.35.3 (commit #unknown)
Zigbee2MQTT:info 2024-02-22 12:25:10: Starting zigbee-herdsman (0.33.8)
Zigbee2MQTT:debug 2024-02-22 12:25:10: Using zigbee-herdsman with settings: '{"adapter":{"concurrent":null,"delay":null,"disableLED":false},"backupPath":"/config/zigbee2mqtt/coordinator_backup.json","databaseBackupPath":"/config/zigbee2mqtt/database.db.backup","databasePath":"/config/zigbee2mqtt/database.db","network":{"channelList":[11],"extendedPanID":[101,241,72,168,116,128,67,143],"networkKey":"HIDDEN","panID":43850},"serialPort":{"adapter":"ezsp","path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_507b9da8bc8ded11aa1c02f6b86ce6f8-if00-port0"}}'
Zigbee2MQTT:error 2024-02-22 12:26:21: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2024-02-22 12:26:21: Failed to start zigbee
Zigbee2MQTT:error 2024-02-22 12:26:21: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2024-02-22 12:26:21: Exiting...
Zigbee2MQTT:error 2024-02-22 12:26:21: Error: Failure to connect
at Ezsp.connect (/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/ezsp.ts:364:19)
at Driver.startup
(/app/node_modules/zigbee-herdsman/src/adapter/ezsp/driver/driver.ts:158:13)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:60:27)
at Controller.start (/app/lib/controller.ts:109:27)
at start (/app/index.js:107:5)
J’ai commencé par suivre le tutoriel suivant : Comment installer MQTT et Zigbee2MQTT sur Home Assistant 2024 ?
Puis celui-ci : [TUTO] Installation de Zigbee2mqtt et Broker Mosquitto
Sans succès
Sauriez-vous m’aider ?
Je vous remercie par avance
Ma configuration
Ma config générale
System Information
version |
core-2024.2.2 |
installation_type |
Home Assistant OS |
dev |
false |
hassio |
true |
docker |
true |
user |
root |
virtualenv |
false |
python_version |
3.12.1 |
os_name |
Linux |
os_version |
6.1.63-haos-raspi |
arch |
aarch64 |
timezone |
Europe/Paris |
config_dir |
/config |
Home Assistant Community Store
GitHub API |
ok |
GitHub Content |
ok |
GitHub Web |
ok |
GitHub API Calls Remaining |
5000 |
Installed Version |
1.34.0 |
Stage |
running |
Available Repositories |
1401 |
Downloaded Repositories |
1 |
HACS Data |
ok |
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 11.5 |
update_channel |
stable |
supervisor_version |
supervisor-2024.02.0 |
agent_version |
1.6.0 |
docker_version |
24.0.7 |
disk_total |
28.5 GB |
disk_used |
5.0 GB |
healthy |
true |
supported |
true |
board |
rpi4-64 |
supervisor_api |
ok |
version_api |
ok |
installed_addons |
Advanced SSH & Web Terminal (17.1.0), File editor (5.8.0), Mosquitto broker (6.4.0), Zigbee2MQTT (1.35.3-1) |
Dashboards
dashboards |
1 |
resources |
0 |
mode |
auto-gen |
Recorder
oldest_recorder_run |
20 février 2024 à 21:31 |
current_recorder_run |
22 février 2024 à 09:38 |
estimated_db_size |
1.18 MiB |
database_engine |
sqlite |
database_version |
3.44.2 |
___
Configuration de Zigbee2MQTT
data_path: /config/zigbee2mqtt
socat:
enabled: false
master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
options: "-d -d"
log: false
homeassistant: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://core-mosquitto:1883
user: ###MON_USER###
password: ###MON_MDP###
serial:
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_507b9da8bc8ded11aa1c02f6b86ce6f8-if00-port0
Configuration de Mosquitto broker
logins:
- username: ###MON_USER###
password: ###MON_MDP###
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: false
folder: mosquitto
Le port USB de mon dongle
Sous-système:
tty
Chemin d’accès au périphérique:
/dev/ttyUSB0
ID:
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_507b9da8bc8ded11aa1c02f6b86ce6f8-if00-port0
Attributs:
DEVLINKS: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_507b9da8bc8ded11aa1c02f6b86ce6f8-if00-port0
/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0-port0
DEVNAME: /dev/ttyUSB0
DEVPATH: >-
/devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.3/1-1.3:1.0/ttyUSB0/tty/ttyUSB0
ID_BUS: usb
ID_MODEL: Sonoff_Zigbee_3.0_USB_Dongle_Plus
ID_MODEL_ENC: Sonoff\x20Zigbee\x203.0\x20USB\x20Dongle\x20Plus
ID_MODEL_ID: ea60
ID_PATH: platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0
ID_PATH_TAG: platform-fd500000_pcie-pci-0000_01_00_0-usb-0_1_3_1_0
ID_REVISION: '0100'
ID_SERIAL: ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_507b9da8bc8ded11aa1c02f6b86ce6f8
ID_SERIAL_SHORT: 507b9da8bc8ded11aa1c02f6b86ce6f8
ID_TYPE: generic
ID_USB_DRIVER: cp210x
ID_USB_INTERFACES: ':ff0000:'
ID_USB_INTERFACE_NUM: '00'
ID_USB_MODEL: Sonoff_Zigbee_3.0_USB_Dongle_Plus
ID_USB_MODEL_ENC: Sonoff\x20Zigbee\x203.0\x20USB\x20Dongle\x20Plus
ID_USB_MODEL_ID: ea60
ID_USB_REVISION: '0100'
ID_USB_SERIAL: ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_507b9da8bc8ded11aa1c02f6b86ce6f8
ID_USB_SERIAL_SHORT: 507b9da8bc8ded11aa1c02f6b86ce6f8
ID_USB_TYPE: generic
ID_USB_VENDOR: ITead
ID_USB_VENDOR_ENC: ITead
ID_USB_VENDOR_ID: 10c4
ID_VENDOR: ITead
ID_VENDOR_ENC: ITead
ID_VENDOR_ID: 10c4
MAJOR: '188'
MINOR: '0'
SUBSYSTEM: tty
TAGS: ':systemd:'
USEC_INITIALIZED: '6218528'