Je viens de remettre en fonction mon Raspberry PI3 B+ pour y installer une Pi Zigate dans le but de récupérer les informations du ZLinky_TIC Lixee connectait a mon Linky.
L’intégration dans Zigbee Home Automation fonctionne, je vois la Pi Zigate, le ZLinky_TIC et les informations remontent.
Je n’arrive pas a configurer Zigbee2MQTT, a chaque démarrage ce module complémentaire, il plante.
Voici la configuration que j’utilise:
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
username: user_mosquitto
password: Mosqu!tt0
server: mqtt://core-mosquitto:1883
serial:
port: /dev/ttyAMA0
/dev.ttyAMA0 est le port sur lequel ZHA a détecté ma Pi Zigate, existe t il en ligne de commande une possibilité pour vérifier cela?
Voilà le journal de Zigbee2MQTT:
[16:12:12] INFO: Preparing to start...
[16:12:15] INFO: Socat not enabled
[16:12:24] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2023-02-18 16:12:47: Logging to console and directory: '/config/zigbee2mqtt/log/2023-02-18.16-12-46' filename: log.txt
Zigbee2MQTT:info 2023-02-18 16:12:47: Starting Zigbee2MQTT version 1.30.1 (commit #unknown)
Zigbee2MQTT:info 2023-02-18 16:12:47: Starting zigbee-herdsman (0.14.89)
Zigbee2MQTT:error 2023-02-18 16:13:09: Error while starting zigbee-herdsman
Zigbee2MQTT:error 2023-02-18 16:13:09: Failed to start zigbee
Zigbee2MQTT:error 2023-02-18 16:13:09: Check https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html for possible solutions
Zigbee2MQTT:error 2023-02-18 16:13:09: Exiting...
Zigbee2MQTT:error 2023-02-18 16:13:10: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)
at ZStackAdapter.start (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:103:27)
at Controller.start (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:132:29)
at Zigbee.start (/app/lib/zigbee.ts:58:27)
at Controller.start (/app/lib/controller.ts:101:27)
at start (/app/index.js:107:5)
Je ne comprends ce qu’il faut faire pour que cela fonctionne.
La configuration du Mosquitto Broker:
logins:
- username: user_mosquitto
password: Mosqu!tt0
require_certificate: false
certfile: fullchain.pem
keyfile: privkey.pem
customize:
active: false
folder: mosquitto
Je pense qu’il fonctionne j’arrive a m’y connecter depuis Windows en utilisant MQTT Explorer.
Ma configuration
System Information
version | core-2023.2.5 |
---|---|
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.84-v8 |
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.30.1 |
Stage | running |
Available Repositories | 1203 |
Downloaded Repositories | 2 |
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.5 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2023.01.1 |
agent_version | 1.4.1 |
docker_version | 20.10.22 |
disk_total | 28.0 GB |
disk_used | 3.4 GB |
healthy | true |
supported | true |
board | rpi3-64 |
supervisor_api | ok |
version_api | ok |
installed_addons | File editor (5.5.0), Terminal & SSH (9.6.1), Samba share (10.0.0), Mosquitto broker (6.1.3), Zigbee2MQTT (1.30.1-1) |
Dashboards
dashboards | 1 |
---|---|
resources | 0 |
views | 2 |
mode | storage |
Recorder
oldest_recorder_run | 12 février 2023 à 18:10 |
---|---|
current_recorder_run | 17 février 2023 à 18:44 |
estimated_db_size | 37.38 MiB |
database_engine | sqlite |
database_version | 3.38.5 |