forked from zewelor/bt-mqtt-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml.example
92 lines (90 loc) · 2.4 KB
/
config.yaml.example
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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
toothbrush_homeassistant:
args:
autodiscovery_prefix: homeassistant
topic_prefix: toothbrush
devices:
ix:
name: IX
mac: 00:11:22:33:44:55
ia:
name: IA
mac: 11:22:33:44:55:66
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