Erreurs dans le schéma de zigbee2mqtt

Fichier Log qui se rempli

22-04-08 11:10:01 WARNING (MainThread) [supervisor.addons.options] Option 'permit_join' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (MainThread) [supervisor.addons.options] Option 'advanced' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (MainThread) [supervisor.addons.options] Option 'device_options' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (MainThread) [supervisor.addons.options] Option 'blocklist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (MainThread) [supervisor.addons.options] Option 'passlist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (MainThread) [supervisor.addons.options] Option 'queue' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (MainThread) [supervisor.addons.options] Option 'frontend' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (MainThread) [supervisor.addons.options] Option 'experimental' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (MainThread) [supervisor.addons.options] Option 'availability' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'external_converters' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'devices' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'groups' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'homeassistant' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'permit_join' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'advanced' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'device_options' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'blocklist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'passlist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'queue' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'frontend' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'experimental' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:01 WARNING (SyncWorker_7) [supervisor.addons.options] Option 'availability' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:02 INFO (SyncWorker_7) [supervisor.docker.addon] Starting Docker add-on zigbee2mqtt/zigbee2mqtt-aarch64 with version 1.25.0-1
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'external_converters' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'devices' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'groups' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'homeassistant' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'permit_join' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'advanced' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'device_options' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'blocklist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'passlist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'queue' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'frontend' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'experimental' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:03 WARNING (MainThread) [supervisor.addons.options] Option 'availability' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:04 INFO (SyncWorker_5) [supervisor.docker.addon] Starting Docker add-on sabeechen/hassio-google-drive-backup-aarch64 with version 0.106.2
22-04-08 11:10:04 INFO (SyncWorker_7) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/node-red/aarch64 with version 11.1.1
22-04-08 11:10:06 INFO (SyncWorker_6) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/log-viewer/aarch64 with version 0.13.0
22-04-08 11:10:08 INFO (SyncWorker_5) [supervisor.docker.addon] Starting Docker add-on f4f71350/aarch64-addon-ewelink_smart_home_slug with version 1.2.4
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups/e1c44666/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups/b4389c6d/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups/0f74fc0a/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups/7f1563a6/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups/b43a5c11/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups/91268796/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups/ef775eb5/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups/f1b90899/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups/da065cf2/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:11 INFO (MainThread) [supervisor.api.middleware.security] /backups/74639262/info access from cebe7a76_hassio_google_drive_backup
22-04-08 11:10:13 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
22-04-08 11:10:13 INFO (MainThread) [supervisor.core] Supervisor is up and running
22-04-08 11:10:13 INFO (MainThread) [supervisor.host.info] Updating local host information
22-04-08 11:10:13 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-04-08 11:10:13 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-04-08 11:10:13 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Unknown option 'base_topic' for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'external_converters' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'devices' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'groups' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'homeassistant' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'permit_join' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'advanced' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'device_options' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'blocklist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'passlist' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'queue' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'frontend' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'experimental' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 WARNING (MainThread) [supervisor.addons.options] Option 'availability' does not exist in the schema for Zigbee2mqtt (45df7312_zigbee2mqtt)
22-04-08 11:10:14 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN
22-04-08 11:10:14 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE
22-04-08 11:10:14 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-04-08 11:10:14 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-04-08 11:10:14 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-04-08 11:10:14 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-04-08 11:10:14 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-04-08 11:10:15 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-04-08 11:10:15 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-04-08 11:10:15 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
22-04-08 11:10:16 INFO (MainThread) [supervisor.host.services] Updating service information
22-04-08 11:10:16 INFO (MainThread) [supervisor.host.network] Updating local network information
22-04-08 11:10:16 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-04-08 11:10:17 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-04-08 11:10:17 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
22-04-08 11:10:17 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
22-04-08 11:10:17 INFO (MainThread) [supervisor.api.proxy] WebSocket access from f4f71350_ewelink_smart_home_slug
22-04-08 11:10:18 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
22-04-08 11:10:19 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
22-04-08 11:10:19 INFO (MainThread) [supervisor.api.proxy] WebSocket access from f4f71350_ewelink_smart_home_slug
22-04-08 11:10:19 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
22-04-08 11:10:44 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
22-04-08 11:10:44 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
22-04-08 11:10:44 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running

ces messages warning arrivent toutes les 5 minutes.
z2m fonctionne bien, tout marche correctement…
ces warnings… on dirait que ca reprend mot par mot le fichier configuration.yaml

external_converters: []
devices:
  - devices.yaml
groups:
  - groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://192.168.xx.25:1883
  user: mqtt-user
  password: xxxxxxxxx
serial:
  port: /dev/ttyUSB0
advanced:
  log_level: warn
  pan_id: xxxx
  channel: xx
  network_key:
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental: {}
availability: false

Ma configuration


System Health

version core-2022.4.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.9
os_name Linux
os_version 5.10.103-v8
arch aarch64
timezone Europe/Paris
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4977
Installed Version 1.24.3
Stage running
Available Repositories 1080
Downloaded Repositories 3
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 7.6
update_channel stable
supervisor_version supervisor-2022.03.5
docker_version 20.10.9
disk_total 237.7 GB
disk_used 9.9 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.0.1), Samba share (9.5.1), Zigbee2mqtt (1.25.0-1), Home Assistant Google Drive Backup (0.106.2), Terminal & SSH (9.3.0), Node-RED (11.1.1), Studio Code Server (4.2.0), Log Viewer (0.13.0), eWeLink Smart Home (1.2.4)
Dashboards
dashboards 2
resources 1
views 7
mode storage
Home Assistant Supervisor
host_os Home Assistant OS 7.6
update_channel stable
supervisor_version supervisor-2022.03.5
docker_version 20.10.9
disk_total 237.7 GB
disk_used 9.8 GB
healthy true
supported true
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.0.1), Samba share (9.5.1), Zigbee2mqtt (1.25.0-1), Home Assistant Google Drive Backup (0.106.2), Terminal & SSH (9.3.0), Node-RED (11.1.1), Studio Code Server (4.2.0), Log Viewer (0.13.0), eWeLink Smart Home (1.2.4)
Dashboards
dashboards 2
resources 1
views 7
mode storage
___

Bonjour,

Il faut supprimer de la configuration les options listés dans les logs, elles sont maintenant incluses dans le frontend.

J’ai pas du faire ce qu’il fallait,
j’ai retiré les lignes qui étaient mentionnées par les messages d’erreurs.
a un moment, je me suis retrouvé avec les devices.yaml concaténés à la fin de mon \homeassistant\config\zigbee2mqtt\configuration.yaml mais avec les devices_id à la place des friendly_name…

j’ai rechargé la conf, j’avais plus rien… et z2m ne démarrait plus.

une restore de backup plus tard, j’ai repris tout ca et j’ai modifié la configuration dans http://homeassistant:8123/hassio/addon/45df7312_zigbee2mqtt/config et je n’ai pas touché au fichier \homeassistant\config\zigbee2mqtt\configuration.yaml
et là, ca a marché.

le fichier \homeassistant\config\zigbee2mqtt\configuration.yaml est resté tel quel, avec toutes les entrées qui ne sont plus dans le fichier de configuration dans http://homeassistant:8123/hassio/addon/45df7312_zigbee2mqtt/config

et c’est tout.

c’est un peu zarbi d’avoir deux fichiers, dont un qui ne sert pas…
Bon, je sauvegarde !!!

Je ne sais pas ce que tu as dans le fichier configuration.yaml, mais normalement y’a rien dedans lié à Zigbee2MQTT.
Le changement qui faisait partie des breaking changes de la dernière version de HA disait qu’on pouvait supprimer quasiment toute le config de l’add-on Z2M car tout était maintenant configuré en priorité directement depuis la page de Z2M.
Tout ce qui reste dans la config de l’add-on c’est le server MQTT si tu en as un spécifique, car Z2M ne démarre pas sans.

J’avais exactement toute la config:

external_converters: []
devices:
  - devices.yaml
groups:
  - groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://192.168.xx.xx:1883
  user: mqtt-user
  password: xxxxxx
serial:
  port: /dev/ttyUSB0
advanced:
  log_level: warn
  pan_id: xxxx
  channel: xx
  network_key:
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
    - xx
  availability_blocklist: []
  availability_passlist: []
device_options: {}
blocklist: []
passlist: []
queue: {}
frontend:
  port: 8099
experimental: {}
availability: false

et donc toutes les lignes en trop me faisaient des erreurs depuis le changement de version.

Ah dsl en fait j’avais compris à la base que tu parlais du fichier configuration.yaml principal :slight_smile:

Ca semble être une transition… et le fichier \homeassistant\config\zigbee2mqtt\configuration.yaml ne sera pas a changer à la main, mais sera la sauvegarde de ce que tu changes dans l’UI.

Je vais mettre un #------------- Warning !!! dans le fichier :smile: