This is an old revision of the document!
Howto integrate a 2nd Open-Thread Border-Router and 2nd Zigbee2Mqtt on a 2nd RaspberryPi into Homeassistant
- Install RaspiOS Lite
- Install Docker or similarghcr.io/koenkk/zigbee2mqtt
- create persistent /srv storage dir
- use docker-compose (see below) to install these two containers
ghcr.io/koenkk/zigbee2mqttdenniswitt/homeassistant-otbr:latest
docker compose.yaml
services:
zigbee2mqtt:
container_name: zigbee2mqtt
image: ghcr.io/koenkk/zigbee2mqtt
restart: unless-stopped
volumes:
- /srv/zigbee2mqtt/data/:/app/data
- /run/udev:/run/udev:ro
ports:
# Frontend port
- 8485:8080
environment:
- TZ=Europe/Berlin
devices:
- /dev/serial/by-id/usb-SONOFF_<Dongel you with to use for ZigBee>-port0:/dev/ttyUSBzb
otbr:
image: denniswitt/homeassistant-otbr:latest
container_name: openthread-border-router
restart: unless-stopped
privileged: true
network_mode: host
environment:
- DEVICE=/dev/ttyUSBth
- BACKBONE_IF=eth0
- BAUDRATE=460800
- FLOW_CONTROL=0
- BETA=0
- AUTOFLASH_FIRMWARE=0
devices:
- /dev/serial/by-id/usb-SONOFF_<Dongle you with to use for Thread>-port0:/dev/ttyUSBth
cap_add:
- NET_ADMIN
- NET_RAW