Hassio-zigbee2mqtt: custom encryption key doesn't work

Created on 23 Jan 2019  路  3Comments  路  Source: danielwelch/hassio-zigbee2mqtt

When I try to add an encryption key to the _configuration.yaml_ as described in the zigbee2mqtt documentation the formatting changes to this after restarting the addon:

advanced:
  network_key:
  - 13
  - 7
  - 2
  - 7
  - 9
  - 15
  - 5
  - 7
  - 2
  - 10
  - 3
  - 2
  - 7
  - 8
  - 1
  - 4

and my old devices still stay connected and don't need repairing. I'm assuming that means that the encryption key wasn't applied.

Most helpful comment

The encryption key documentation shouldn't be in the master branch (my bad) as it is only supported in the dev branch yet.

That means when using the hassio -edge version it should work.

All 3 comments

The formatting change occurs because the file is read into a python object, and then is re-written in a format determined by PyYAML. It seems like PyYAML is using the normal, expected syntax, whereas the zigbee2mqtt docs use the flow collections version. I don鈥檛 see a reason why one would work and the other wouldn鈥檛. @Koenkk any insight re: applying the encryption key?

The encryption key documentation shouldn't be in the master branch (my bad) as it is only supported in the dev branch yet.

That means when using the hassio -edge version it should work.

Looks like this is now supported in v1.1.0. I've just updated the add-on and images are being built now, so I'll close this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wolverinevn picture wolverinevn  路  10Comments

aaamoeder picture aaamoeder  路  3Comments

SPEC1AL1ST picture SPEC1AL1ST  路  12Comments

phtg picture phtg  路  4Comments

talondnb picture talondnb  路  10Comments