Files
bt-mqtt-gateway/config.yaml.example
T

81 lines
2.1 KiB
Plaintext

mqtt:
host: 192.168.1.1
port: 1883
username: user
password: password
topic_prefix: hostname # All messages will have that prefix added, remove if you dont need this.
client_id: bt-mqtt-gateway
availability_topic: lwt_topic
manager:
topic_subscription:
update_all:
topic: homeassistant/status
payload: online
command_timeout: 35 # Timeout for worker operations. Can be removed if the default of 35 seconds is sufficient.
workers:
mysensors:
command_timeout: 35 # Optional override of globally set command_timeout.
args:
port: /dev/ttyUSB0
baudrate: 9600
topic_prefix: mysensors/out
thermostat:
args:
devices:
bedroom: 00:11:22:33:44:55
topic_prefix: thermostat
topic_subscription: thermostat/+/+/set
update_interval: 60
miscale:
args:
mac: 00:11:22:33:44:55
topic_prefix: miscale
update_interval: 1800
linakdesk:
args:
mac: 00:11:22:33:44:55
topic_prefix: linak_desk
update_interval: 1800
miflora:
args:
devices:
herbs: 00:11:22:33:44:55
topic_prefix: miflora
update_interval: 300
mithermometer:
args:
devices:
living_room: 00:11:22:33:44:55
topic_prefix: mithermometer
update_interval: 300
blescanmulti:
args:
devices:
beacon: 00:11:22:33:44:55
smartwath: 00:11:22:33:44:55
topic_prefix: blescan
available_payload: home
unavailable_payload: not_home
available_timeout: 0
unavailable_timeout: 60
scan_timeout: 10
scan_passive: true
update_interval: 60
toothbrush:
args:
devices:
ix: 00:11:22:33:44:55
ia: 11:22:33:44:55:66
topic_prefix: toothbrush
update_interval: 10
switchbot:
args:
devices:
heater: 00:11:22:33:44:55
topic_prefix: switchbot/bathroom
state_topic_prefix: switchbot/bathroom
topic_subscription: switchbot/+/+/set
update_interval: 60