Add experimental zigbee2mqtt_deconz

This commit is contained in:
2020-06-09 22:13:03 +03:00
parent 406e7e049d
commit d0eaeee12f
3 changed files with 36 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
FROM koenkk/zigbee2mqtt:latest
RUN apk add --no-cache \
git python3 make gcc g++ python linux-headers udev
RUN rm -rf /app/node_modules/zigbee-herdsman/
RUN git clone https://github.com/Koenkk/zigbee-herdsman.git /app/node_modules/zigbee-herdsman/
RUN cd /app/node_modules/zigbee-herdsman/ && git checkout deconz
RUN cd /app/node_modules/zigbee-herdsman/ && npm install
RUN cd /app/node_modules/zigbee-herdsman/ && npm run build
@@ -0,0 +1,12 @@
homeassistant: false
permit_join: true
mqtt:
base_topic: zigbee2mqtt
server: 'mqtt://192.168.0.27'
user: '!secret user'
password: '!secret password'
serial:
port: /dev/ttyACM0
advanced:
channel: 12
log_level: debug
+15
View File
@@ -0,0 +1,15 @@
zigbee2mqtt_deconz:
container_name: zigbee2mqtt_deconz
build: .
dockerfile: Dockerfile
volumes:
- .data:/app/data
- /run/udev:/run/udev:ro
devices:
- /dev/ttyACM0:/dev/ttyACM0
restart: always
network_mode: host
privileged: true
environment:
- TZ=Europe/Sofia