mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 00:44:23 +00:00
Add experimental zigbee2mqtt_deconz
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user