Closed rstein closed 3 years ago
Missed some config options, will update soon
It is now possible to define a list of files for the devices
and groups
options. Since this would be a change of the data type I am not quite sure how this can be changed here :)
The devices
and groups
options should now allow for one or multiple files to be specified without breaking compatibility with existing configurations
Looks good. Will merge today. @rstein any chance to make a similar PR against: https://github.com/zigbee2mqtt/hassio-zigbee2mqtt as well?
@ciotlosm Sure, I am happy to. It seems I am unable to fork https://github.com/zigbee2mqtt/hassio-zigbee2mqtt without deleting my fork of this repository, so I will do that as soon as this PR is done.
@ciotlosm is this repository abandoned in favor of zigbee2mqtt/hassio-zigbee2mqtt?
@boesing Not at the moment, no. We're keeping them in sync for now from a Z2M version perspective. The repository in the new org zigbee2mqtt/hassio-zigbee2mqtt will probably become the default one in the future. It does have a few benefits:
I think we will keep this repo as well just for the config reference for "previous" version, but we will see. When all side processes (like trigger dev & co) are completed on the new repo, I will prepare a MR in z2m docs to reflect all these changes.
You need to add default value for "host" parameter, because the new installation addon is crash.
20-12-02 19:37:23 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/7ad98f9c/zigbee2mqtt/config.json: does not match regular expression for dictionary value @ data['schema']['frontend']['host']. Got 'string?'
20-12-02 19:37:23 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/7ad98f9c/zigbee2mqtt-edge/config.json: does not match regular expression for dictionary value @ data['schema']['frontend']['host']. Got 'string?'
20-12-02 19:37:23 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/7ad98f9c/zigbee2mqtt/config.json: does not match regular expression for dictionary value @ data['schema']['frontend']['host']. Got 'string?'
20-12-02 19:37:23 WARNING (MainThread) [supervisor.store.data] Can't read /data/addons/git/7ad98f9c/zigbee2mqtt-edge/config.json: does not match regular expression for dictionary value @ data['schema']['frontend']['host']. Got 'string?'
@2vpetrov you can use https://github.com/zigbee2mqtt/hassio-zigbee2mqtt for now until a fix is released.
Argh sorry, I did not see that warning with the local addon installation :/
@ciotlosm So there is no downside when using the "official" "unofficial" repository under the zigbee2mqtt org?
@boesing At the moment the only downside would be slightly different timeline to get both on same z2m version. Currently zigbee2mqtt org version didn't get upgraded especially after uncovering the current bug.
Also there were some quirks to the new z2m org add-on because of the big refactoring. For example people using their own mqtt had issues after they tested the one with auto-discovery. That's why I recommend to people to test early if they can to iron out any problems before we switch to that as main repo.
Checklist
zigbee2mqtt/Dockerfile
:ENV ZIGBEE2MQTT_VERSION="$NEW_VERSION"
zigbee2mqtt/config.json
:"version": "$NEW_VERSION"
zigbee2mqtt/config.json
andzigbee2mqtt-edge/config.json
.