Skip to content

Commit 0f277ba

Browse files
authored
Merge pull request #481 from rstein/v1.16.2
Bump version to 1.16.2
2 parents 0a19bed + 90642bd commit 0f277ba

File tree

7 files changed

+23
-5
lines changed

7 files changed

+23
-5
lines changed

zigbee2mqtt-edge/config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@
9494
"keepalive": "int?",
9595
"version": "int?",
9696
"reject_unauthorized": "bool?",
97-
"include_device_information": "bool?"
97+
"include_device_information": "bool?",
98+
"force_disable_retain": "bool?"
9899
},
99100
"serial": {
100101
"port": "str",
@@ -157,6 +158,7 @@
157158
"new_api": "bool?"
158159
},
159160
"frontend": {
161+
"host": "string?",
160162
"port": "int?"
161163
},
162164
"socat": {
@@ -170,4 +172,4 @@
170172
}
171173
},
172174
"image": "dwelch2101/zigbee2mqtt-edge-{arch}"
173-
}
175+
}

zigbee2mqtt-edge/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ mkdir -p "$DATA_PATH"
2929

3030
# Parse config
3131
cat "$CONFIG_PATH" | jq 'del(.data_path, .zigbee_shepherd_debug, .zigbee_shepherd_devices, .socat)' \
32+
| jq 'if .devices then .devices = (.devices | split(",")|map(gsub("\\s+";"";"g"))) else . end' \
33+
| jq 'if .groups then .groups = (.groups | split(",")|map(gsub("\\s+";"";"g"))) else . end' \
3234
| jq 'if .advanced.ext_pan_id_string then .advanced.ext_pan_id = (.advanced.ext_pan_id_string | (split(",")|map(tonumber))) | del(.advanced.ext_pan_id_string) else . end' \
3335
| jq 'if .advanced.network_key_string then .advanced.network_key = (.advanced.network_key_string | (split(",")|map(tonumber))) | del(.advanced.network_key_string) else . end' \
3436
| jq 'if .device_options_string then .device_options = (.device_options_string|fromjson) | del(.device_options_string) else . end' \

zigbee2mqtt/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 1.16.2
2+
- Updated Zigbee2mqtt to version [`1.16.2`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.16.2)
3+
- New configuration options
4+
- `mqtt`
5+
- `force_disable_retain`
6+
- `frontend`
7+
- `host`
8+
- `devices` and `groups` options now accept a comma-separated string of files
9+
110
## 1.16.1
211
- Updated Zigbee2mqtt to version [`1.16.1`](https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.16.1)
312

zigbee2mqtt/DOCS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ See the [zigbee2mqtt configuration docs](https://www.zigbee2mqtt.io/information/
3030
- Depending on your configuration, the MQTT server config may need to include the port, typically `1883` or `8883` for SSL communications. For example, `mqtt://core-mosquitto:1883` for Home Assistant's Mosquitto add-on.
3131
- To find out which serial ports you have exposed go to **Supervisor → System → Host system → ⋮ → Hardware**
3232
- Please see this add-on's [documentation on GitHub](https://github.com/danielwelch/hassio-zigbee2mqtt#socat) for further add-on-specific information (using Socat, how to add support for new devices etc.).
33+
- The 'devices' and 'groups' configuration options accept arrays of files since Zigbee2MQTT v1.16.2. In order to maintain backwards compatibility of configurations, the same functionality is achieved in this addon by the use of comma-separated strings.
3334

3435
# Additional Configuration Options
3536
- `network_key_string`

zigbee2mqtt/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM $BUILD_FROM
44
# Add env
55
ENV LANG C.UTF-8
66

7-
ENV ZIGBEE2MQTT_VERSION=1.16.1
7+
ENV ZIGBEE2MQTT_VERSION=1.16.2
88
ENV ARCHIVE=zigbee2mqtt-$ZIGBEE2MQTT_VERSION
99

1010
RUN apk add --update --no-cache curl jq nodejs npm socat \

zigbee2mqtt/config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Zigbee2mqtt",
3-
"version": "1.16.1",
3+
"version": "1.16.2",
44
"slug": "zigbee2mqtt",
55
"description": "Zigbee to MQTT Bridge",
66
"auto_uart": true,
@@ -94,7 +94,8 @@
9494
"keepalive": "int?",
9595
"version": "int?",
9696
"reject_unauthorized": "bool?",
97-
"include_device_information": "bool?"
97+
"include_device_information": "bool?",
98+
"force_disable_retain": "bool?"
9899
},
99100
"serial": {
100101
"port": "str",
@@ -157,6 +158,7 @@
157158
"new_api": "bool?"
158159
},
159160
"frontend": {
161+
"host": "string?",
160162
"port": "int?"
161163
},
162164
"socat": {

zigbee2mqtt/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ fi
2020

2121
# Parse config
2222
cat "$CONFIG_PATH" | jq 'del(.data_path, .zigbee_shepherd_debug, .zigbee_shepherd_devices, .socat)' \
23+
| jq 'if .devices then .devices = (.devices | split(",")|map(gsub("\\s+";"";"g"))) else . end' \
24+
| jq 'if .groups then .groups = (.groups | split(",")|map(gsub("\\s+";"";"g"))) else . end' \
2325
| jq 'if .advanced.ext_pan_id_string then .advanced.ext_pan_id = (.advanced.ext_pan_id_string | (split(",")|map(tonumber))) | del(.advanced.ext_pan_id_string) else . end' \
2426
| jq 'if .advanced.network_key_string then .advanced.network_key = (.advanced.network_key_string | (split(",")|map(tonumber))) | del(.advanced.network_key_string) else . end' \
2527
| jq 'if .device_options_string then .device_options = (.device_options_string|fromjson) | del(.device_options_string) else . end' \

0 commit comments

Comments
 (0)