created setup script

This commit is contained in:
root
2023-11-17 10:07:18 -06:00
parent 57888f7fbf
commit 7923acafed
5 changed files with 44 additions and 18 deletions

View File

@@ -2,20 +2,11 @@
Zigbee smarthome stack
## Mosquitto ([eclipse-mosquitto](https://hub.docker.com/_/eclipse-mosquitto))
Start the MQTT broker and create the password for `homeassistant`
```shell
docker compose run -it --rm mqtt mosquitto_passwd -c /mosquitto/config/pwfile homeassistant
```
./scripts/setup.sh
```
###
## Mosquitto ([eclipse-mosquitto](https://hub.docker.com/_/eclipse-mosquitto))
## Zigbee2MQTT (koenkk/[zigbee2mqtt](https://hub.docker.com/r/koenkk/zigbee2mqtt/))
Put the password in `./zigbee2mqtt/secret.yaml`
```
echo "password: <password>" > ./zigbee2mqtt/secret.yaml
```