POC event handler

This commit is contained in:
2026-08-22 14:22:26 +02:00
parent 6995ae8dba
commit 35969ad305
9 changed files with 582 additions and 10 deletions
+61
View File
@@ -0,0 +1,61 @@
mqtt:
# The MQTT broker may be on any machine reachable over the local network.
host: 192.168.178.247
port: 1883
username: null
password: null
client_id: zigbee-events
keepalive_seconds: 60
denon:
host: 192.168.178.177
# Dedicated Denon HTTP control API (the web interface uses another port).
port: 8080
timeout_seconds: 3
verify_tls: true
logging:
# Relative paths are resolved from this file's directory.
file: zigbee-events.log
level: INFO
format: "%(asctime)s %(levelname)s %(message)s"
include_payload: true
max_bytes: 5000000
backup_count: 3
# Configure 1 to 5 enabled devices. The topic is
# zigbee2mqtt/<friendly_name> as shown in the Zigbee2MQTT UI.
devices:
- name: Radio Orb
topic: zigbee2mqtt/button1_radio
event_field: action
enabled: true
events:
single_button_1: denon.on
single_button_2: denon.off
single_button_3: denon.previous
single_button_4: denon.next
- name: Device 2
topic: zigbee2mqtt/CHANGE_ME_DEVICE_2
event_field: action
enabled: false
events: {}
- name: Device 3
topic: zigbee2mqtt/CHANGE_ME_DEVICE_3
event_field: action
enabled: false
events: {}
- name: Device 4
topic: zigbee2mqtt/CHANGE_ME_DEVICE_4
event_field: action
enabled: false
events: {}
- name: Device 5
topic: zigbee2mqtt/CHANGE_ME_DEVICE_5
event_field: action
enabled: false
events: {}