This is an example Home Assistant Core and Basic Companion stack with docker-compose
This repository just for example/development purpose, please use it with your own risk.
Rename or Copy default.env
to .env
cp default.env .env
docker-compose up -d
-
Setting Node-RED credentials in
settings.js
withinnode-red
directory -
Setting proper serial port for zigbee dongle at
devices:
- /dev/ttyACM0:/dev/ttyACM0
- Access Home Assistant as you wish
If you deploy on remote please access with ip address that you running at
- Home Assistant http://localhost:8123 or http://homeassistant.local:8123
- Node-RED http://localhost:1880
- Zigbee2MQTT http://localhost:8888
When you need to change companion version
change default value in .env
file as you wish
Variable | Default value |
---|---|
SET_TZ |
latest |
HA_VER |
latest |
Z2M_VER |
latest |
NR_VER |
latest |
rebuild with
docker-compose up -d --no-deps --build <service>
please check the issue tracker for similar issues before creating one.