blob: 9280d73054f9099d2270725e8d968d65af7da9a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Home Assistant integration (MQTT discovery)
homeassistant: true
# Enable the frontend, runs on port 8080 by default
frontend: true
# allow new devices to join
permit_join: true
# MQTT settings
mqtt:
# MQTT base topic for zigbee2mqtt MQTT messages
base_topic: zigbee2mqtt
# MQTT server URL
server: 'mqtt://localhost'
# MQTT server authentication, uncomment if required:
# user: my_user
# password: my_password
# Serial settings
serial:
# Location of ITead Sonoff Zigbee 3.0 USB Dongle Plus
port: /dev/ttyU0
# See https://github.com/Koenkk/zigbee2mqtt.io/blob/dev/docs/guide/configuration/adapter-settings.md#basic-configuration
# for more details.
adapter: zstack
# Disable device legacy options
device_options:
legacy: false
# Advanced settings
advanced:
homeassistant_legacy_entity_attributes: false
homeassistant_legacy_triggers: false
legacy_api: false
legacy_availability_payload: false
log_output: [ "file" ]
log_level: info
log_symlink_current: true
log_directory: "%%Z2M_LOGDIR%%/%TIMESTAMP%"
log_file: "z2m.log"
|