mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
Update to 2.0.0, see https://github.com/Koenkk/zigbee2mqtt/discussions/24198 and/or UPDATING entry for details.
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
# 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"
|