mirror of
https://github.com/balkian/zigbee2mqtt
synced 2025-09-01 17:32:21 +00:00
Trying out the new version of zigbee2mqtt
This commit is contained in:
24
README.md
24
README.md
@@ -2,11 +2,12 @@ This is just a simple environment with:
|
||||
|
||||
* zigbee2mqtt: a bridge from zigbee (through a zigbee USB stick) to MQTT
|
||||
* mosquitto: an MQTT server
|
||||
* home assistant: a home automation platform, with MQTT support.
|
||||
zigbee2mqtt also supports auto discovery for home assistant.
|
||||
* ~~home assistant: a home automation platform, with MQTT support.~~
|
||||
~~zigbee2mqtt also supports auto discovery for home assistant.~~ (disabled for now)
|
||||
|
||||
|
||||
You'll need to configure zigbee2mqtt with a `z2m-data/configuration.yaml` file like this:
|
||||
You'll need to configure zigbee2mqtt with a `z2m-data/configuration.yaml` file.
|
||||
There is an onboarding web interface that is quite convenient, but I have disabled it .
|
||||
Just comment out the appropriate line (`Z2M_ONBOARD_NO_SERVER=1`) or create your own file like so:
|
||||
|
||||
```
|
||||
homeassistant: true
|
||||
@@ -18,19 +19,4 @@ mqtt:
|
||||
port: /dev/ttyACM0 # The serial device. It should be the same as the device entry in docker-compose.yml.
|
||||
```
|
||||
|
||||
|
||||
After running home assistant the first time, you will have to add the mqtt configuration to the config file:
|
||||
|
||||
```
|
||||
mqtt:
|
||||
broker: mqtt
|
||||
discovery: true
|
||||
birth_message:
|
||||
topic: 'hass/status'
|
||||
payload: 'online'
|
||||
will_message:
|
||||
topic: 'hass/status'
|
||||
payload: 'offline'
|
||||
```
|
||||
|
||||
More info here: http://balkian.com/controlling-zigbee-devices-with-mqtt.html
|
||||
|
Reference in New Issue
Block a user