infra: register Dual Outlet - Couch, fix Node-RED double-toggle, add meshtastic mqtt
This commit is contained in:
@@ -83,6 +83,15 @@ services:
|
||||
# Action: TOGGLE on zigbee2mqtt/Squiggle/set
|
||||
# On a fresh alert, flash the plug: N toggles spaced FLASH_INTERVAL_SECONDS
|
||||
# so the total runtime is FLASH_DURATION_SECONDS.
|
||||
meshtastic-mqtt:
|
||||
image: eclipse-mosquitto:latest
|
||||
container_name: meshtastic-mqtt
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "1884:1883"
|
||||
volumes:
|
||||
- ./meshtastic-mqtt:/mosquitto/config:ro
|
||||
|
||||
doorbell-listener:
|
||||
build: ./doorbell-listener
|
||||
container_name: doorbell-listener
|
||||
@@ -96,6 +105,11 @@ services:
|
||||
environment:
|
||||
MQTT_HOST: 192.168.81.147
|
||||
MQTT_PORT: "1883"
|
||||
PLUG_TOPIC: "zigbee2mqtt/Squiggle/set"
|
||||
POLL_INTERVAL: "5"
|
||||
MAX_AGE_SECONDS: "180"
|
||||
FLASH_INTERVAL_SECONDS: "1"
|
||||
FLASH_DURATION_SECONDS: "7"
|
||||
TZ: America/Los_Angeles
|
||||
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user