git clone https://github.com/BorodinDK/home42
cd home42
sudo docker-compose up -d
- Identify your device
ls -l /dev/serial/by-id
- Edit file
/home42/data/zigbee2mqtt/configuration.yaml
serial:
# Location of CC2531 USB sniffer
port: port: /dev/ttyUSB0
- Restart containers
sudo docker-compose restart
- Set property
friendly_name
in file/home42/data/zigbee2mqtt/configuration.yaml
devices:
'0x54ef4410001d184a':
friendly_name: p1
- And restart containers
sudo docker-compose restart
Use localhost
or device ip address
- Node-red:
http://localhost:1880/
- MQTT server:
mqtt://localhost:1883/