Bonjour,
Débutant sur HA, je tente de configurer Zigbee2MQTT sur un Raspberry PI 5 dans le but d’ajouter une clé Lixee Zlinky.
Pour celà j’utilise une clé Sonoff_Zigbee_3.0_USB_Dongle_Plus
Bien sur, je rencontre un bug sur le paramétrage Zigbee2MQTT /MQTT, au lancement du module Zigbee2MQTT, j’ai le message suivant dans les logs :
[21:44:39] INFO: Preparing to start...
[21:44:40] INFO: Socat not enabled
[21:44:40] INFO: Starting Zigbee2MQTT...
Starting Zigbee2MQTT without watchdog.
[2024-10-10 21:44:42] info: z2m: Logging to console, file (filename: log.log)
[2024-10-10 21:44:42] info: z2m: Starting Zigbee2MQTT version 1.40.2 (commit #unknown)
[2024-10-10 21:44:42] info: z2m: Starting zigbee-herdsman (2.1.3)
[2024-10-10 21:44:43] error: zh:zstack:znp: Failed to determine if path is valid: 'Error: spawn udevadm ENOENT'
[2024-10-10 21:44:43] info: zh:zstack:znp: Opening SerialPort with {"path":"/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_260acbd502e7ed11ab89cf770b2af5ab-if00-port0","baudRate":115200,"rtscts":false,"autoOpen":false}
[2024-10-10 21:44:43] info: zh:zstack:znp: Serialport opened
[2024-10-10 21:44:43] info: z2m: zigbee-herdsman started (resumed)
[2024-10-10 21:44:43] info: z2m: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210708,"transportrev":2},"type":"zStack3x0"}'
[2024-10-10 21:44:43] info: z2m: Currently 0 devices are joined.
[2024-10-10 21:44:43] info: z2m: Zigbee: disabling joining new devices.
[2024-10-10 21:44:43] info: z2m: Connecting to MQTT server at mqtt://core-mosquitto:1883
[2024-10-10 21:44:43] info: z2m: Connected to MQTT server
[2024-10-10 21:44:43] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
[2024-10-10 21:44:43] error: z2m: Failed to call 'Bridge' 'start' (TypeError: Cannot read properties of undefined (reading 'getDevice')
at Bridge.publishInfo (/app/lib/extension/bridge.ts:746:69)
at Bridge.start (/app/lib/extension/bridge.ts:174:20)
at Controller.callExtensions (/app/lib/controller.ts:399:17)
at Controller.start (/app/lib/controller.ts:218:9)
at start (/app/index.js:154:5))
[2024-10-10 21:44:43] info: z2m: Started frontend on port 8099
[2024-10-10 21:44:43] info: z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"unknown","coordinator":{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210708,"transportrev":2},"type":"zStack3x0"},"log_level":"info","network":{"channel":11,"extendedPanID":"0x58fe883029693868","panID":31293},"permit_join":false,"version":"1.40.2"}'
[2024-10-10 21:44:43] [color=#]error[/color]: z2m: Failed to call 'HomeAssistant' 'start' (TypeError: Cannot read properties of undefined (reading 'deviceIeeeAddress')
at HomeAssistant.getBridgeEntity (/app/lib/extension/homeassistant.ts:2016:78)
at HomeAssistant.start (/app/lib/extension/homeassistant.ts:476:28)
at Controller.callExtensions (/app/lib/controller.ts:399:17)
at Controller.start (/app/lib/controller.ts:218:9)
at start (/app/index.js:154:5))
[2024-10-10 21:44:43] info: z2m: Zigbee2MQTT started!
Je cherche désespérément une solution depuis une semaine mais je ne trouve rien pour résoudre mon, problème.
J’ai essayé et vérifier plein de paramètres différents :
- Clé sur Sonoff sur port usb 2.0
- ZHA désactivé
- etc…
Pour info voici une visu de mes modules :
MQTT :
Login :
- username : Mqtt_adm
password : admin
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
base_topic: zigbee2mqtt
server: mqtt://core-mosquitto:1883
user: mqtt_adm
password: admin
port: >-
/dev/serial/by-id/usb-ITead_Sonoff_Zigbee_3.0_USB_Dongle_Plus_260acbd502e7ed11ab89cf770b2af5ab-if00-port0
Merci par avance pour votre aide.
Ma configuration
System Information
version |
core-2024.10.1 |
installation_type |
Home Assistant OS |
dev |
false |
hassio |
true |
docker |
true |
user |
root |
virtualenv |
false |
python_version |
3.12.4 |
os_name |
Linux |
os_version |
6.6.31-haos-raspi |
arch |
aarch64 |
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 |
1434 |
Downloaded Repositories |
54 |
Home Assistant Cloud
logged_in |
true |
subscription_expiration |
13 octobre 2024 à 02:00 |
relayer_connected |
true |
relayer_region |
eu-central-1 |
remote_enabled |
true |
remote_connected |
true |
alexa_enabled |
true |
google_enabled |
true |
remote_server |
eu-central-1-19.ui.nabu.casa |
certificate_status |
ready |
instance_id |
7ce70a18708b4104a738024ca1d4155b |
can_reach_cert_server |
ok |
can_reach_cloud_auth |
ok |
can_reach_cloud |
ok |
Home Assistant Supervisor
host_os |
Home Assistant OS 13.2.rc1 |
update_channel |
beta |
supervisor_version |
supervisor-2024.10.1 |
agent_version |
1.6.0 |
docker_version |
27.2.0 |
disk_total |
57.8 GB |
disk_used |
11.0 GB |
healthy |
true |
supported |
true |
host_connectivity |
true |
supervisor_connectivity |
true |
ntp_synchronized |
true |
virtualization |
|
board |
rpi5-64 |
supervisor_api |
ok |
version_api |
ok |
installed_addons |
Matter Server (6.6.0), Terminal & SSH (9.15.0), Fusion (2024.7.1), eufy-security-ws (1.9.1), Linky (1.5.0), go2rtc (1.9.4), File editor (5.8.0), Mosquitto broker (6.4.1), Zigbee2MQTT (1.40.2-1), Silicon Labs Flasher (0.3.0) |
Dashboards
dashboards |
1 |
resources |
35 |
views |
11 |
mode |
storage |
Recorder
oldest_recorder_run |
29 septembre 2024 à 20:53 |
current_recorder_run |
10 octobre 2024 à 17:53 |
estimated_db_size |
110.95 MiB |
database_engine |
sqlite |
database_version |
3.45.3 |
Spotify
api_endpoint_reachable |
ok |
___