Bonjour,
Je débute avec Ha et docker-compose et une clef Sonoff E sur un Pc Ubuntu (ça je connais).
J’ai plus ou moins suivi le tuto.
Avec « configuration.yaml » suivant:
homeassistant: true
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: mqtt://127.0.0.1:1883
user: ***
password: ***
serial:
port: /dev/ttyACM0
adapter: ezsp
frontend:
port: 8080
advanced:
homeassistant_legacy_entity_attributes: false
legacy_api: false
legacy_availability_payload: false
device_options:
legacy: false
Voilà le log de Zigbee2MQTT
Zigbee2MQTT:info 2024-01-20 21:03:11: Logging to console and directory: '/app/data/log/2024-01-20.21-03-11' filename: log.txt
Zigbee2MQTT:info 2024-01-20 21:03:11: Starting Zigbee2MQTT version 1.35.1 (commit #9eaaa0f)
Zigbee2MQTT:info 2024-01-20 21:03:11: Starting zigbee-herdsman (0.30.0)
Assertion failed: Command (setConfigurationValue) returned unexpected state: [object Object]
Zigbee2MQTT:info 2024-01-20 21:03:14: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2024-01-20 21:03:14: Coordinator firmware version: '{"meta":{"maintrel":"1 ","majorrel":"7","minorrel":"3","product":12,"revision":"7.3.1.0 build 176"},"type":"EZSP v12"}'
Zigbee2MQTT:info 2024-01-20 21:03:14: Currently 0 devices are joined:
Zigbee2MQTT:warn 2024-01-20 21:03:14: `permit_join` set to `true` in configuration.yaml.
Zigbee2MQTT:warn 2024-01-20 21:03:14: Allowing new devices to join.
Zigbee2MQTT:warn 2024-01-20 21:03:14: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info 2024-01-20 21:03:14: Zigbee: allowing new devices to join.
Zigbee2MQTT:info 2024-01-20 21:03:14: Connecting to MQTT server at mqtt://127.0.0.1:1883
Zigbee2MQTT:error 2024-01-20 21:03:14: MQTT error: connect ECONNREFUSED 127.0.0.1:1883
Zigbee2MQTT:error 2024-01-20 21:03:14: MQTT failed to connect, exiting...
Sachant que MQTT Explorer se connecte bien avec mqtt://127.0.0.1:1883 et les mêmes identifiants.
Pour l'instant le Pc est en Wifi mais à terme il sera relié à ma box en filaire, donc je n'ai pas son adresse définitive.
Dans Portainer homeassistant et mqtt ont leurs ports ouverts. zigbee2mqtt est dans les choux.
Contenu de "mosquitto.conf"
persistence true
persistence_location /mosquitto/data/
log_dest file /mosquitto/log/mosquitto.log
log_type all
listener 1883
allow_anonymous true
Merci par avance pour vos conseils,
## Ma configuration
___
System Information
| version | core-2024.1.3 |
|---|---|
| installation_type | Home Assistant Container |
| dev | false |
| hassio | false |
| docker | true |
| user | root |
| virtualenv | false |
| python_version | 3.11.6 |
| os_name | Linux |
| os_version | 6.5.0-14-generic |
| arch | x86_64 |
| 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 |
Dashboards
| dashboards | 1 |
|---|---|
| resources | 0 |
| mode | auto-gen |
Recorder
| oldest_recorder_run | 19 janvier 2024 à 08:46 |
|---|---|
| current_recorder_run | 20 janvier 2024 à 19:34 |
| estimated_db_size | 0.58 MiB |
| database_engine | sqlite |
| database_version | 3.41.2 |