Currently, it is not possible to add the entry
adapter: deconz
in the configuration file in order to enable raspbee/conbee support for z2m on hassio. Adding the entry simply has no effect, and it also doesn't appear in the configuration file
same here
Would be great to get this fixed. Currently no way to test the new Zigbee herdsman support of the Conbee with hassio that I have found.
Just ran into this as well. Definitely need this fix, stability fixes just got merged into the latest zigbee-herdsman and Z2M release which should make this ready for primetime, see discussion here.
In the meantime I've found a workaround. If you use the SSH & Web Terminal add-on you can do the following:
e2fsprogs-extra to the list of packages in the config of the SSH add-on. This is so it it makes chattr available for use within the add-oncd share/zigbee2mqttconfiguration.yaml and add "adapter":"deconz" under serial in the JSON and savechattr +i configuration.yamlThis will make the configuration file immutable so that the add-on cannot re-write it and remove the adapter option. Then it will use the option and you'll get conbee support:
zigbee2mqtt:info 2020-06-10 13:31:19: Starting zigbee2mqtt version 1.14.0 (commit #unknown)
zigbee2mqtt:info 2020-06-10 13:31:19: Starting zigbee-herdsman...
CREATED DECONZ ADAPTER
zigbee2mqtt:info 2020-06-10 13:31:20: zigbee-herdsman started
zigbee2mqtt:info 2020-06-10 13:31:20: Coordinator firmware version: '{"type":"ConBee2","meta":{"transportrev":0,"product":0,"majorrel":38,"minorrel":74,"maintrel":0,"revision":"0x264a0700"}}'
NOTE once you do this you literally will not be able to edit the configuration via the UI in the supervisor panel. The only way to edit this file will be to go back to ssh and do chattr -i configuration.yaml to make it mutable again. Just something to be aware of.
- Add
e2fsprogs-extrato the list ofpackagesin the config of the SSH add-on. This is so it it makeschattravailable for use within the add-on@mdegat01 This may appear stupid, but I'm unable to build the SSH addon locally so I'm not able to add e2fsprogs-extra to requirements.txt
Would you be able to point me in the right direction? Without the immutable config file, the addon rewrite the file everytime it's restarted :(
Thanks a lot for that workaround!
OK, I was able to install it in the running container but didn't have the right to set the immutable flag.
I had to install it in the main docker container of Home Assistant and was able to set the flag.
Sorry for that!
Most helpful comment
Just ran into this as well. Definitely need this fix, stability fixes just got merged into the latest zigbee-herdsman and Z2M release which should make this ready for primetime, see discussion here.
In the meantime I've found a workaround. If you use the SSH & Web Terminal add-on you can do the following:
e2fsprogs-extrato the list ofpackagesin the config of the SSH add-on. This is so it it makeschattravailable for use within the add-oncd share/zigbee2mqttconfiguration.yamland add"adapter":"deconz"underserialin the JSON and savechattr +i configuration.yamlThis will make the configuration file immutable so that the add-on cannot re-write it and remove the
adapteroption. Then it will use the option and you'll get conbee support:NOTE once you do this you literally will not be able to edit the configuration via the UI in the supervisor panel. The only way to edit this file will be to go back to ssh and do
chattr -i configuration.yamlto make it mutable again. Just something to be aware of.