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:
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
topic readwrite msh/#
|
||||
@@ -0,0 +1,5 @@
|
||||
listener 1883
|
||||
allow_anonymous true
|
||||
acl_file /mosquitto/config/acl.conf
|
||||
persistence false
|
||||
log_dest stdout
|
||||
@@ -59,3 +59,5 @@ devices:
|
||||
friendly_name: Bamboo Lights
|
||||
"0xffffb40e0603ef11":
|
||||
friendly_name: DJ Booth
|
||||
"0x4ce175523f710000":
|
||||
friendly_name: Dual Outlet - Couch
|
||||
|
||||
Reference in New Issue
Block a user