forked from ESPresense/ESPresense-companion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.yaml
201 lines (194 loc) · 4.2 KB
/
config.example.yaml
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
# MQTT Connection, if empty will query and use hassio provided mqtt
mqtt:
host:
port: 1883
ssl: false
username:
password:
# This gets added to the x,y,z to derive a gps location
gps:
latitude: 38.897957
longitude: -77.036560
elevation: 146
# How long before device considered stale
timeout: 30
# How long before device is considered away
away_timeout: 120
optimization:
enabled: true
interval_secs: 60
limits:
absorption_min: 2.5
absorption_max: 3.5
tx_ref_rssi_min: -70
tx_ref_rssi_max: -50
rx_adj_rssi_min: -15
rx_adj_rssi_max: 20
weighting:
algorithm: gaussian
props:
sigma: 0.10
# Floors w/ the points to draw it in meters
floors:
- id: first
name: First Floor
# Bounds (x,y,z) of map in meters
bounds: [[0, 0, 0], [18.5, 19.2, 1.5]]
rooms:
- name: Powder
points:
- [4, 12]
- [6.6, 12]
- [6.6, 10]
- [6, 9]
- [4, 9]
- [4, 12]
- name: Office
points:
- [4, 16.5]
- [7.6, 16.5]
- [7.6, 13.5]
- [6.6, 12]
- [4, 12]
- [4, 14.5]
- name: Family
points:
- [0, 0.5]
- [0, 5.5]
- [5, 5.5]
- [6, 4.5]
- [6, 0.5]
- [5.5, 0]
- [0.5, 0]
- [0, 0.5]
- name: Kitchen
points:
- [6, 2]
- [6, 6]
- [7, 9]
- [10, 9]
- [12.5, 9]
- [12.5, 2]
- [6, 2]
- name: Garage
points:
- [0, 18]
- [1.5, 18]
- [1.5, 19.2]
- [4, 19.2]
- [4, 9]
- [0, 9]
- [0, 18]
- name: Living
points:
- [16.5, 13.25]
- [16.5, 7.75]
- [12.5, 7.75]
- [12.5, 13.25]
- [16.5, 13.25]
- name: Dining
points:
- [16.5, 2.75]
- [16.5, 7.75]
- [12.5, 7.75]
- [12.5, 2.75]
- [16.5, 2.75]
- name: Foyer
points:
- [7.6, 13.5]
- [7.6, 15]
- [12.5, 15]
- [12.5, 10]
- [9.6, 10]
- [6.6, 10]
- [6.6, 12]
- name: Laundry
points:
- [0, 9]
- [3, 9]
- [3, 5.5]
- [0, 5.5]
- [0, 9]
- id: second
name: Second Floor
bounds: [[0, 0, 3.1], [18.5, 19.2, 4.6]]
rooms:
- name: Master
points:
- [2, 15]
- [4, 15]
- [4, 16.5]
- [7.6, 16.5]
- [7.6, 13.5]
- [6.6, 12]
- [6.6, 10]
- [6, 9]
- [2, 9]
- [2, 15]
- name: Master Bathroom
points:
- [0, 15]
- [2, 15]
- [2, 9]
- [0, 9]
- [0, 15]
- name: Master Closet
points:
- [0, 18]
- [1.5, 18]
- [1.5, 19.2]
- [4, 19.2]
- [4, 15]
- [0, 15]
- [0, 18]
- id: outside
name: Outside
bounds: [[-10, -10, -10], [28, 30, 20]]
# Locations of espresense nodes in meters
nodes:
- name: Master
point: [6.5, 12, 3.6]
floors: ["second"]
- name: Bathroom
point: [0.1, 10, 3.9]
floors: ["second", "outside"]
- name: Upstairs Hallway
point: [10, 10, 3.2]
floors: ["second"]
- name: Garage
point: [0.75, 17.9, 0.5]
floors: ["first", "second", "outside"]
- name: Office
point: [5, 15.25, 1.5]
floors: ["first"]
- name: Family
point: [0.5, 0.5, 0.25]
floors: ["outside"]
- name: Kitchen
point: [8, 7.5, 0.5]
floors: ["first"]
- name: Dining
point: [16.25, 3.1, 1.29]
floors: ["first", "second", "outside"]
- name: Basement
point: [16, 13, -1]
floors: ["first", "second", "outside"]
- name: Laundry
point: [5, 9, 1]
floors: ["first"]
- name: Mini
stationary: false
point: [-2, 15, 0.5]
floors: ["outside"]
# Devices to track
devices:
- id: "tile:*" # Track all tiles
- id: "irk:*" # Track all IRKs
- id: "watch:*"
- id: "phone:*"
- id: "iBeacon:*"
- name: "*" # Track all named devices
- id: watch:darrell
name: Darrell's Watch
- id: phone:darrell
name: Darrell's iPhone