danielwelch / hassio-zigbee2mqtt

Hass.io add-on for zigbee2mqtt
Apache License 2.0
565 stars 190 forks source link

Secret network_key does not work #472

Closed litris closed 3 years ago

litris commented 3 years ago

zigbee2mqtt add-on version (if edge, please report commit hash): Current version: 1.16.1 Operating environment (HassOS, Virtual Machine, Device/platform running Home Assistant):

Description of problem: The problem still persists User and Password work correctly with secrets.yalm but network_key: '! Secret network_key' does not work when clicking on "Save" gives an error.

Any solution? Your entire configuration from the frontend (with sensitive fields redacted):

// replace this line with your pasted configuration

Your logs from Home Assistant

litris commented 3 years ago

Addon configuration:

advanced:
  network_key: []
  network_key_string: '!secret addon_zigbee2mqtt_network_key'

secrets.yaml:

addon_zigbee2mqtt_network_key: "000, 000, 000, 000, 000, 000, 000, 000, 000, 000, 000, 000, 000, 000, 000, 000"

(with your real key in this format)

Originally posted by @Erelen-Laiquendi in https://github.com/danielwelch/hassio-zigbee2mqtt/issues/259#issuecomment-729708786