Skip to content

Commit fa35393

Browse files
authored
fix: Add caution about configuration (#661)
1 parent 538fd63 commit fa35393

File tree

4 files changed

+19
-16
lines changed

4 files changed

+19
-16
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ When you want to check the impact of developing work, e.g. adjusting devices in
2020

2121
🚨 Following these directions will make your Home Assistant system more prone to misconfiguration (by yourself) to the extent of rendering it completely useless, so only touch what you're confident to and "know what you do".
2222

23-
1. install the [Portainer addon](https://github.com/hassio-addons/addon-portainer) from the Add-on store
23+
1. install the [Portainer add-on](https://github.com/hassio-addons/addon-portainer) from the Add-on store
2424
2. Make sure to disable its `Protection mode`:
2525
![image](https://user-images.githubusercontent.com/1125168/118788032-aa316800-b893-11eb-8567-f2122159f64c.png)
2626
3. Start Portainer and `Open Web UI`

README.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@
2121
<img src="https://img.shields.io/discourse/https/zigbee2mqtt.discourse.group/status.svg">
2222
</a>
2323
</div>
24-
<h1>Official Zigbee2MQTT Home Assistant addon</h1>
24+
<h1>Official Zigbee2MQTT Home Assistant add-on</h1>
2525
</div>
2626

2727
## Installation
2828

29-
1. If you don't have an MQTT broker yet; in Home Assistant go to **[Settings → Add-ons → Add-on store](https://my.home-assistant.io/redirect/supervisor_store/)** and install the **[Mosquitto broker](https://my.home-assistant.io/redirect/supervisor_addon/?addon=core_mosquitto)** addon, then start it.
29+
1. If you don't have an MQTT broker yet; in Home Assistant go to **[Settings → Add-ons → Add-on store](https://my.home-assistant.io/redirect/supervisor_store/)** and install the **[Mosquitto broker](https://my.home-assistant.io/redirect/supervisor_addon/?addon=core_mosquitto)** add-on, then start it.
3030
1. Go back to the **Add-on store**, click **⋮ → Repositories**, fill in</br> `https://github.com/zigbee2mqtt/hassio-zigbee2mqtt` and click **Add → Close** or click the **Add repository** button below, click **Add → Close** (You might need to enter the **internal IP address** of your Home Assistant instance first).
3131
[![Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.](https://my.home-assistant.io/badges/supervisor_add_addon_repository.svg)](https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fzigbee2mqtt%2Fhassio-zigbee2mqtt)
3232
1. The repository includes two add-ons:
3333
- **Zigbee2MQTT** is the stable release that tracks the released versions of Zigbee2MQTT. (**recommended for most users**)
3434
- **Zigbee2MQTT Edge** tracks the `dev` branch of Zigbee2MQTT such that you can install the edge version if there are features or fixes in the Zigbee2MQTT dev branch that are not yet released.
35-
1. Click on the addon and press **Install** and wait till the addon is installed.
35+
1. Click on the add-on and press **Install** and wait till the add-on is installed.
3636
1. Click on **Configuration**
37-
- If you are **not** using the Mosquitto broker addon fill in your MQTT details (leave empty when using the Mosquitto broker addon) under the `mqtt` section. Format can be found [here](https://www.zigbee2mqtt.io/guide/configuration/mqtt.html#server-connection), but skip the initial `mqtt:` indent. e.g.: <br>
37+
- If you are **not** using the Mosquitto broker add-on fill in your MQTT details (leave empty when using the Mosquitto broker add-on) under the `mqtt` section. Format can be found [here](https://www.zigbee2mqtt.io/guide/configuration/mqtt.html#server-connection), but skip the initial `mqtt:` indent. e.g.: <br>
3838
```yaml
3939
server: mqtt://localhost:1883
4040
user: my_user
@@ -44,11 +44,12 @@
4444
- Since Zigbee2MQTT automatically attempts to detect the adapter, you can leave the `serial` section empty for now; we may need it later in step 7.
4545
- Click **Save**
4646
- **Tip:** it is possible to refer to variables in the Home Assistant `secrets.yaml` file (not the Zigbee2MQTT one!) by using e.g. `password: '!secret mqtt_pass'`
47-
1. Start the addon by going to **Info** and click **Start**
47+
- **CAUTION:** settings configured through the add-on configuration page will take precedence over settings in the `configuration.yaml` page (e.g. you set `rtscts: false` in add-on configuration page and `rtscts: true` in `configuration.yaml`, `rtscts: false` will be used).
48+
1. Start the add-on by going to **Info** and click **Start**
4849
1. Wait till Zigbee2MQTT starts and press **OPEN WEB UI** to verify Zigbee2MQTT started correctly.
4950
- If it shows `502: Bad Gateway` wait a bit more and refresh the page.
5051
- If this takes too long (e.g. 2 minutes +) check the **Log** tab to see what went wrong.
51-
- In case the addon fails to start with the following error: `Error: No path provided and failed to auto detect path`, we need to fill in the `serial` section (which we skipped in step 5). Format can be found [here](https://www.zigbee2mqtt.io/guide/configuration/adapter-settings.html#adapter-settings), but skip the initial `serial:` indent. e.g.: <br>
52+
- In case the add-on fails to start with the following error: `Error: No path provided and failed to auto detect path`, we need to fill in the `serial` section (which we skipped in step 5). Format can be found [here](https://www.zigbee2mqtt.io/guide/configuration/adapter-settings.html#adapter-settings), but skip the initial `serial:` indent. e.g.: <br>
5253
```yaml
5354
port: /dev/serial/by-id/usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED3DDF-if00
5455
adapter: zstack
@@ -60,11 +61,11 @@ For more information see [the documentation](https://github.com/zigbee2mqtt/hass
6061
## Restoring data from a standalone installation
6162

6263
1. Ensure that both environments are running the same version
63-
1. Ensure you can [SSH to your Home Assistant OS](https://community.home-assistant.io/t/howto-how-to-access-the-home-assistant-os-host-itself-over-ssh/263352) (NOT to the SSH Addon)
64+
1. Ensure you can [SSH to your Home Assistant OS](https://community.home-assistant.io/t/howto-how-to-access-the-home-assistant-os-host-itself-over-ssh/263352) (NOT to the SSH Add-on)
6465
1. Backup your standalone environment `data` folder (possibly leaving out the `logs/` folder)
65-
1. Start the Zigbee2MQTT HA addon with a non-existing `tty` device, to create the `data` folder
66+
1. Start the Zigbee2MQTT HA add-on with a non-existing `tty` device, to create the `data` folder
6667
1. Restore your `data` folder contents into `/mnt/data/supervisor/homeassistant/zigbee2mqtt`, e.g. via `scp -O -P 22222 -i PATHTOUSEDSSHKEY ./data/* root@hass:/mnt/data/supervisor/homeassistant/zigbee2mqtt/`
67-
1. Configure your serial port and MQTT settings using the HA addon configuration UI
68+
1. Configure your serial port and MQTT settings using the HA add-on configuration UI
6869
1. Edit the `/usr/share/hassio/homeassistant/zigbee2mqtt/configuration.yaml` file:
6970
- Ensure that the serial port section matches the one configured with the UI
7071
- Remove any irrelevant sections from the config (e.g. `mqtt` (if not needed), `advanced/log_syslog`, `frontend`)
@@ -78,7 +79,7 @@ All notable changes to this project will be documented in the [CHANGELOG.md](zig
7879

7980
Version for releases is based on [Zigbee2MQTT](https://github.com/Koenkk/zigbee2mqtt) format: `X.Y.Z`.
8081

81-
Any changes on the addon that do not require a new version of Zigbee2MQTT will use the format: `X.Y.Z-A` where `X.Y.Z` is fixed on the Zigbee2MQTT release version and `A` is related to the addon.
82+
Any changes on the add-on that do not require a new version of Zigbee2MQTT will use the format: `X.Y.Z-A` where `X.Y.Z` is fixed on the Zigbee2MQTT release version and `A` is related to the add-on.
8283

8384
Edge version will not maintain a CHANGELOG and doesn't have a version.
8485

zigbee2mqtt-proxy/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
[![Docker Pulls](https://img.shields.io/docker/pulls/zigbee2mqtt/zigbee2mqtt-proxy-amd64.svg?style=flat-square&logo=docker)](https://cloud.docker.com/u/zigbee2mqtt/repository/docker/dwelch2101/zigbee2mqtt-proxy-amd64)
44

5-
⚠️ This addon does not contain Zigbee2MQTT ⚠️
5+
⚠️ This add-on does not contain Zigbee2MQTT ⚠️
66

7-
This addon acts as a proxy to an external running Zigbee2MQTT instance.
8-
The sole purpose of this addon is to add a Zigbee2MQTT icon to the sidebar of Home Assistant which will open the frontend of an external running Zigbee2MQTT instance.
7+
This add-on acts as a proxy to an external running Zigbee2MQTT instance.
8+
The sole purpose of this add-on is to add a Zigbee2MQTT icon to the sidebar of Home Assistant which will open the frontend of an external running Zigbee2MQTT instance.
99

1010
## Options
1111

zigbee2mqtt/DOCS.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,16 @@ By default the add-on has `permit_join` set to `false`. To allow devices to join
55
Enable `ingress` to have the frontend available in your UI: **Settings → Add-ons → Zigbee2MQTT → Show in sidebar**. You can find more details about the feature on the [Zigbee2MQTT documentation](https://www.zigbee2mqtt.io/information/frontend.html).
66

77
# Configuration
8-
Configuration required to startup Zigbee2MQTT is available from the addon configuration. The rest of the options can be configured via the Zigbee2MQTT frontend.
8+
Configuration required to startup Zigbee2MQTT is available from the add-on configuration. The rest of the options can be configured via the Zigbee2MQTT frontend.
9+
10+
**CAUTION:** settings configured through the add-on configuration page will take precedence over settings in the `configuration.yaml` page (e.g. you set `rtscts: false` in add-on configuration page and `rtscts: true` in `configuration.yaml`, `rtscts: false` will be used). _If you want to control the entire configuration through YAML, remove them from the add-on configuration page._
911

1012
# Configuration backup
1113
The add-on will create a backup of your configuration.yml within your data path: `$DATA_PATH/configuration.yaml.bk`. When upgrading, you should use this to fill in the relevant values into your new config, particularly the network key, to avoid breaking your network and having to repair all of your devices.
1214
The backup of your configuration is created on add-on startup if no previous backup was found.
1315

1416
# Enabling the watchdog
15-
To automatically restart Zigbee2MQTT in case of a soft failure (like "adapter disconnected"), the watchdog can be used. It can be enabled by adding the following to the addon configuration:
17+
To automatically restart Zigbee2MQTT in case of a soft failure (like "adapter disconnected"), the watchdog can be used. It can be enabled by adding the following to the add-on configuration:
1618

1719
```yaml
1820
watchdog: default

0 commit comments

Comments
 (0)