65 lines
1.5 KiB
YAML
65 lines
1.5 KiB
YAML
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
|
|
long_button_1: denon.off
|
|
single_button_2: denon.previous
|
|
long_button_2: denon.next
|
|
single_button_3: denon.volume_down
|
|
long_button_3: denon.volume_mute
|
|
single_button_4: denon.volume_up
|
|
|
|
- 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: {}
|