Bonjour,
J’ai installé Zigbee2mqtt et Mqtt broker en suivant un tuto .
Zigbee2mqtt marche correctement et affiche bien les 2 devices que j’ai appairé.
Mais je ne les vois pas apparaître dans l’intégration MQTT, ni dans les entités.
J’ai essayé de créer un login et un mot de passe pour mqtt mais sans succès.
J’ai recherché plein d’infos mais je n’ai pas trouvé la solution.
J’ai une clé sonoff P qui ne nécessite aucun téléchargement de firmware.
Ma configuration
[center]## System Information
version | core-2024.1.6 |
---|---|
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 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 | 1387 |
Downloaded Repositories | 6 |
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.4 |
---|---|
update_channel | stable |
supervisor_version | supervisor-2024.01.1 |
agent_version | 1.6.0 |
docker_version | 24.0.7 |
disk_total | 916.2 GB |
disk_used | 14.2 GB |
healthy | true |
supported | true |
board | rpi4-64 |
supervisor_api | ok |
version_api | ok |
installed_addons | Samba share (12.2.0), File editor (5.7.0), Terminal & SSH (9.8.1), MariaDB (2.6.1), Duck DNS (1.15.0), NGINX Home Assistant SSL proxy (3.7.0), Studio Code Server (5.15.0), ESPHome (2023.12.9), AppDaemon (0.16.4), Home Assistant Google Drive Backup (0.112.1), Mosquitto broker (6.4.0), Zigbee2MQTT (1.35.2-1) |
Dashboards
dashboards | 6 |
---|---|
resources | 3 |
views | 11 |
mode | storage |
Recorder
oldest_recorder_run | 28 janvier 2024 à 13:01 |
---|---|
current_recorder_run | 7 février 2024 à 12:07 |
estimated_db_size | 88.05 MiB |
database_engine | sqlite |
database_version | 3.41.2 |
Je nesais plus ou chercher car les logs paraissent corrects.
Log MQTT:
Log zigbee2mqtt
[14:44:09] INFO: Preparing to start...
[14:44:10] INFO: Socat not enabled
[14:44:12] INFO: Starting Zigbee2MQTT...
Zigbee2MQTT:info 2024-02-07 14:44:19: Logging to console and directory: '/config/zigbee2mqtt/log/2024-02-07.14-44-19' filename: log.txt
Zigbee2MQTT:info 2024-02-07 14:44:19: Starting Zigbee2MQTT version 1.35.2 (commit #unknown)
Zigbee2MQTT:info 2024-02-07 14:44:19: Starting zigbee-herdsman (0.33.5)
Zigbee2MQTT:info 2024-02-07 14:44:20: zigbee-herdsman started (resumed)
Zigbee2MQTT:info 2024-02-07 14:44:20: Coordinator firmware version: '{"meta":{"maintrel":1,"majorrel":2,"minorrel":7,"product":1,"revision":20210708,"transportrev":2},"type":"zStack3x0"}'
Zigbee2MQTT:info 2024-02-07 14:44:20: Currently 2 devices are joined:
Zigbee2MQTT:info 2024-02-07 14:44:20: plug_orange (0xa4c138b97e218071): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
Zigbee2MQTT:info 2024-02-07 14:44:20: plug_orange2 (0xa4c138eb750305e7): TS011F_plug_1 - TuYa Smart plug (with power monitoring) (Router)
Zigbee2MQTT:warn 2024-02-07 14:44:20: `permit_join` set to `true` in configuration.yaml.
Zigbee2MQTT:warn 2024-02-07 14:44:20: Allowing new devices to join.
Zigbee2MQTT:warn 2024-02-07 14:44:20: Set `permit_join` to `false` once you joined all devices.
Zigbee2MQTT:info 2024-02-07 14:44:20: Zigbee: allowing new devices to join.
Zigbee2MQTT:info 2024-02-07 14:44:20: Connecting to MQTT server at mqtt://core-mosquitto:1883
Zigbee2MQTT:info 2024-02-07 14:44:21: Connected to MQTT server
Zigbee2MQTT:info 2024-02-07 14:44:21: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload '{"state":"online"}'
Zigbee2MQTT:info 2024-02-07 14:44:21: Started frontend on port 8099
Zigbee2MQTT:info 2024-02-07 14:44:21: MQTT publish: topic 'homeassistant/binary_sensor/1221051039810110150109113116116_0x00124b002b482f2e/connection_state/config', payload '{"device":{"hw_version":"zStack3x0 20210708","identifiers":["zigbee2mqtt_bridge_0x00124b002b482f2e"],"manufacturer":"Zigbee2MQTT","model":"Bridge","name":"Zigbee2MQTT Bridge","sw_version":"1.35.2"},"device_class":"connectivity","entity_category":"diagnostic","name":"Connection state","object_id":"zigbee2mqtt_bridge_connection_state","origin":{"name":"Zigbee2MQTT","sw":"1.35.2","url":"https://www.zigbee2mqtt.io"},"payload_off":"offline","payload_on":"online","state_topic":"zigbee2mqtt/bridge/state","unique_id":"bridge_0x00124b002b482f2e_connection_state_zigbee2mqtt","value_template":"{{ value_json.state }}"}'