Closed biscuit-316 closed 3 years ago
From which version were you updating?
I updated from version: 1.17.0
Maybe you have some bad character there (hidden) like a new line or something.
the secrets.yml file reads one line per reference. so there will be no new line characters in it.
The plugin's documentation does not tell you what the string should look like. after much experimentation this turned out to work with the previous version:
network_key: [198, 217, 35, 2, 147, 217, 60, 55, 78, 3, 84, 0, 184, 23, 235, 129]
When the plugin works I will create a new string.
For your secret you need to provide it as a string, so in your case (in the secrets.yaml):
network_key: '198,217,35,2,147,217,60,55,78,3,84,0,184,23,235,129'
It works.
Thank you.
zigbee2mqtt add-on version (if edge, please report commit hash):
Operating environment (HassOS, Virtual Machine, Device/platform running Home Assistant):
running a vm in proxmox HassOs: version 5.10 Supervisor: version 2020.12.7 zigbee2mqtt addon: version 1.17.0.1
Description of problem: after the update the add-on doesn't start.
I get the following error:
Failed to start addon - configuration validation failed!
Unknown secret network_key.
!secret network_key referce probebly to the line: network_key_string: '!secret network_key'
Your entire configuration from the frontend (with sensitive fields redacted):
Your logs from Home Assistant empty, the addon does not start. the error appears as a pop up.