Garage project for private purposes. Allows usage of any Zigbee device in my home.
🐳 Make sure you have installed Docker.
See how to put this repo in action at IanStorm/my-smart-home-ras-pi.
- Follow "How to get a pre-built Docker image?".
- Ensure to have a running MQTT broker available via
mqtt-broker:1883
. - Start a Docker instance:
$ docker run \
--rm \
-d \
-t \
--device=/dev/ttyACM0 \
-v /var/opt/my-smart-home-zigbee2mqtt/data/state.json:/app/data/state.json \
ianstorm/my-smart-home-zigbee2mqtt
-
--device=/dev/ttyACM0
: Makes the host's CC2531 available to the Docker container (seeapp/data/configuration.yaml
)-v [...]/state.json[...]
: Ensurestate.json
is initially set as{}
Make sure you have installed Visual Studio Code.
- Clone this repository.
cd
inside the cloned folder.- In
./app/data/configuration.yaml
:- Set
permit_join: true
(instead offalse
) - Set
availability: true
(instead offalse
) - Add
frontend: {}
- Set
- Ensure to have the latest firmware running on the USB Zigbee sniffer (here: CC2531), see how to flash the CC2531.
- Start the Docker instances:
docker-compose up
Get the latest Docker image from Docker Hub:
$ docker pull ianstorm/my-smart-home-zigbee2mqtt:latest