Skip to content

Commit

Permalink
Update zigbee2mqtt to 1.2.1 (#128)
Browse files Browse the repository at this point in the history
* Update zigbee2mqtt to 1.2.1

* Update CHANGELOG.md
  • Loading branch information
FrankZZ authored and danielwelch committed Mar 10, 2019
1 parent eb0960e commit 8651a87
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).

This project is versioned based upon the version of [zigbee2mqtt](https://github.com/Koenkk/zigbee2mqtt). The versioning `X.Y.Z` of the stable release of this add-on will track that of zigbee2mqtt. If there are new releases without upgrades to the zigbee2mqtt version (i.e., changes to the add-on that occur between releases of zigbee2mqtt), an additional number will be added to indicate this (`X.Y.Z.A`, where `A` indicates a new versioned release).

## [1.2.1](https://github.com/danielwelch/hassio-zigbee2mqtt/releases/tag/v1.2.1) - 2019-03-10
### Changed
- Update zigbee2mqtt to version 1.2.1
- Use Node.js 10 as base docker image
### Added
- Includes new config option from zigbee2mqtt:
- `report`

## [1.1.1](https://github.com/danielwelch/hassio-zigbee2mqtt/releases/tag/v1.1.1) - 2019-02-02
### Changed
- Update zigbee2mqtt to version 1.1.1
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ The following table describes all available options. To run this add-on, you mus
|`mqtt_user`|string|no|Your MQTT username, if set.|
|`mqtt_pass`|string|no|Your MQTT Password, if set.|
|`include_device_information`|bool|no|Include device information to mqtt messages (default: false)|
|`report`|bool|no|Enable [the state reporting feature](https://www.zigbee2mqtt.io/information/report.html) of zigbee2mqtt|
|`reject_unauthorized`|bool|no|Disable self-signed SSL certificates|
|`log_level`|enum|no|Set to `debug`, `info`, `warn`, or `error`. Defaults to `info`. The log level for zigbee-shepherd and zigbee2mqtt. See [the wiki](https://www.zigbee2mqtt.io/how_tos/how_to_debug.html) for more information.|
|`log_directory`|string|no|If set, zigbee2mqtt will store logs in this directory. The directory will be a sub-directory of the `data_path` in `/share` (set above). This option must be set to a directory (for example: `"log_directory": "logs/"` will store logs in `/share/zigbee2mqtt/logs/` by default).|
Expand Down
1 change: 1 addition & 0 deletions zigbee2mqtt-edge/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"include_device_information": "bool?",
"soft_reset_timeout": "int?",
"pan_id": "str?",
"report": "bool?",
"channel": "int?",
"zigbee_shepherd_devices": "bool?",
"zigbee_shepherd_debug": "bool?",
Expand Down
2 changes: 1 addition & 1 deletion zigbee2mqtt/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM $BUILD_FROM
# Add env
ENV LANG C.UTF-8

ENV ZIGBEE2MQTT_VERSION=1.1.1
ENV ZIGBEE2MQTT_VERSION=1.2.1
ENV ARCHIVE=zigbee2mqtt-$ZIGBEE2MQTT_VERSION

COPY requirements.txt /requirements.txt
Expand Down
3 changes: 2 additions & 1 deletion zigbee2mqtt/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zigbee2mqtt",
"version": "1.1.1",
"version": "1.2.1",
"slug": "zigbee2mqtt",
"description": "Zigbee to MQTT Bridge",
"auto_uart": true,
Expand Down Expand Up @@ -43,6 +43,7 @@
"include_device_information": "bool?",
"soft_reset_timeout": "int?",
"pan_id": "str?",
"report": "bool?",
"channel": "int?",
"zigbee_shepherd_devices": "bool?",
"zigbee_shepherd_debug": "bool?",
Expand Down
2 changes: 2 additions & 0 deletions zigbee2mqtt/set_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def main(options_path, data_path):
cfg.set_option('pan_id', category='advanced')
cfg.set_option('channel', category='advanced')

cfg.set_option('report', category='advanced')

cfg.set_option('availability_timeout', category='advanced')
cfg.set_option('last_seen', category='advanced')
cfg.set_option('elapsed', category='advanced')
Expand Down

0 comments on commit 8651a87

Please sign in to comment.