mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 04:46:28 -04:00
zigbee2mqtt allows you to use your Zigbee devices without the vendor's bridge or gateway. It bridges events and allows you to control your Zigbee devices via MQTT. In this way you can integrate your Zigbee devices with whatever smart home infrastructure you are using.
32 lines
729 B
YAML
32 lines
729 B
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
|
|
|
|
# Advanced settings
|
|
advanced:
|
|
log_output: [ "file" ]
|
|
log_level: info
|
|
log_symlink_current: true
|
|
log_directory: "%%Z2M_LOGDIR%%/%TIMESTAMP%"
|
|
log_file: "z2m.log"
|
|
|