Mon problème
Bonjour,
Comme beaucoup je n’arrive pas à lancer zigbee2mqtt. J’ai réussis à le lancer 2 fois mais au bout d’une heure il a crash et impossible de le relancer même si j’ai enlever mes appareils appairés.
Je suis sur Raspberry pi4 avec 4Gb de RAM et une ZigateV2+. Soyer indulgent svp je débute.
Aujourd’hui je repars d’une configuration vierges car j’ai essayer beaucoup de chose. Une fois Home assistant lancer j’ignore ZHA.
- Je crée un nouvel utilisateur (mqtt)
- J’installe mosquitto broker et je renseigne mon user mqtt dans login.
- j’installe Zigbee2MQTT je renseigne ma clef dans serial. et dans la partie mqtt je renseigne: base_topic: zigbee2mqtt
4.Je démarre mosquitto broker et je démarre mqqtt dans appareil et service - je démarre Z2M et la erreur.
Voici ma config Z2M:
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
mqtt:
base_topic: zigbee2mqtt
serial:
port: /dev/ttyUSB0
adapter: zigate
le log de Z2M:
info 2024-01-05 16:47:51: Logging to console and directory: '/config/zigbee2mqtt/log/2024-01-05.16-47-51' filename: log.txt
info 2024-01-05 16:47:51: Starting Zigbee2MQTT version 1.35.0 (commit #unknown)
info 2024-01-05 16:47:51: Starting zigbee-herdsman (0.30.0)
error 2024-01-05 16:47:57: Error while starting zigbee-herdsman
error 2024-01-05 16:47:57: Failed to start zigbee
error 2024-01-05 16:47:57: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
error 2024-01-05 16:47:57: Exiting...
error 2024-01-05 16:47:57: Error: failed to connect to zigate adapter [object Object] after 5000ms
at ZiGateAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/zigate/adapter/zigateAdapter.ts:101:19)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:538:9)
at processTimers (node:internal/timers:512:7)
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:101:27)
at start (/app/index.js:107:5)
ma config mosquitto:
logins:
- username: mqtt
password: mqtt
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: false
folder: mosquitto
Ma configuration
System Information
version | core-2024.1.0 |
---|---|
installation_type | Home Assistant OS |
dev | false |
hassio | true |
docker | true |
user | root |
virtualenv | false |
python_version | 3.11.6 |
os_name | Linux |
os_version | 6.1.63-haos-raspi |
arch | aarch64 |
timezone | Europe/Paris |
config_dir | /config |
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.3 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2023.12.0 |
agent_version | 1.6.0 |
docker_version | 24.0.7 |
disk_total | 228.5 GB |
disk_used | 4.2 GB |
healthy | true |
supported | true |
board | rpi4-64 |
supervisor_api | ok |
version_api | ok |
installed_addons |
Dashboards
dashboards | 1 |
---|---|
resources | 0 |
mode | auto-gen |
Recorder
oldest_recorder_run | 5 janvier 2024 à 12:21 |
---|---|
current_recorder_run | 5 janvier 2024 à 16:26 |
estimated_db_size | 0.20 MiB |
database_engine | sqlite |
database_version | 3.41.2 |