-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
433 lines (364 loc) · 10.2 KB
/
configuration.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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: !secret latitude
longitude: !secret longitude
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 15
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/Helsinki
#Customize device names et.c
customize: !include customize.yaml
# Show links to resources in log and frontend
#introduction:
# Enables the frontend
frontend:
system_health:
speedtestdotnet:
monitored_conditions:
- ping
- download
- upload
server_id: 4549
alert:
# big_garage_door:
# name: Alert! Big garage door left open!
# done_message: Ok! Big garage closed again.
# entity_id: binary_sensor.fibaro_system_fgbs001_universal_binary_sensor_sensor_2
# state: 'on'
# repeat:
# - 5
# - 10
# - 15
# - 30
# can_acknowledge: True
# skip_first: True
# notifiers:
# - push_message
freezer_door:
name: Alert! Freezer door left open!
done_message: Ok! Freezer door closed again.
entity_id: binary_sensor.fibaro_system_fgbs001_universal_binary_sensor_sensor
state: 'on'
repeat:
- 1
- 5
- 10
- 15
- 30
can_acknowledge: True
skip_first: True
notifiers:
- push_message
wake_on_lan:
# Enables configuration UI
config:
nest:
client_id: !secret nest_clientid
client_secret: !secret nest_clientsecret
rfxtrx:
device: /dev/serial/by-id/usb-RFXCOM_RFXtrx433_A12GLERC-if00-port0
mqtt:
broker: 10.0.0.91
# protocol: 3.1
# username: !secret mqttuser
# password: !secret mqttpass
http:
# Uncomment this to add a password (recommended!)
api_password: !secret http_password
# Uncomment this if you are using SSL or running in Docker etc
# base_url: example.duckdns.org:8123
influxdb:
host: !secret influx_host
# port: !secret influx_port
username: !secret influx_username
password: !secret influx_password
# ssl: true
# verify_ssl: false
# Checks for available updates
updater:
# Discover some devices automatically
discovery:
# Ring.com
ring:
username: !secret ring_user
password: !secret ring_password
camera:
- platform: ring
ffmpeg:
notify:
- name: Push message
platform: pushover
api_key: !secret pushover_apikey
user_key: !secret pushover_userkey
media_player:
- platform: denonavr
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time.
history:
history_graph:
gr1:
name: SaunaSensors
entities:
- sensor.sauna
- sensor.saunarh
hours_to_show: 24
gr2:
name: Garage
entities:
- sensor.outdoor
- sensor.garage
- sensor.garagerh
- sensor.fibaropowerstats_mean
# - sensor.fibaro_system_fgwpef_wall_plug_gen5_power
hours_to_show: 72
gr3:
name: InternetStats
entities:
- sensor.speedtest_ping
- sensor.speedtest_download
- sensor.speedtest_upload
hours_to_show: 48
gr4:
name: SolarHeat
entities:
- sensor.solar
- sensor.ctc
- sensor.watercons
hours_to_show: 72
gr5:
name: HistInOutTemp
entities:
- sensor.outdoor
- sensor.masterbed
- sensor.noomis
hours_to_show: 168
gr6:
name: BatteryHist
entities:
- sensor.ring_front_door_battery
- sensor.tunnistin
- sensor.masterbed1
- sensor.masterbed2
hours_to_show: 168
# View all events in a logbook
logbook:
input_boolean:
nas_wol:
name: Buffalo_duo
initial: off
icon: mdi:server-network
# Track the sun
sun:
# Weather Prediction
sensor:
- platform: yr
- platform: min_max
type: min
name: OutsideTempMin
entity_ids:
- sensor.outdoor
- sensor.edvinoutside_temperature
- platform: rfxtrx
automatic_add: False
devices:
0a5202014701013b1e0269:
name: EdvinOutside
data_type:
- Humidity
- Temperature
0a520a0259010100270279:
name: CoTech
data_type:
- Humidity
- Temperature
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /home
- type: memory_free
- type: load_15m
- type: processor_use
- platform: statistics
name: FibaroPowerStats
entity_id: sensor.fibaro_system_fgwpef_wall_plug_gen5_power
sampling_size: 40
- platform: statistics
name: PoppRainrate
entity_id: sensor.popp_unknown_type0004_id0011_rain_rate
sampling_size: 10
- platform: ring
monitored_conditions:
- battery
# - last_activity
- last_ding
- last_motion
# - volume
# - platform: speedtest
# monitored_conditions:
# - ping
# - download
# - upload
# server_id: 4549
# - platform: mqtt
# state_topic: "sensor/sht30/temperature"
# name: "SHT30"
# unit_of_measurement: "°C"
# expire_after: 3600
# - platform: mqtt
# state_topic: "sensor/sht30/humidity"
# name: "SHT30Rh"
# unit_of_measurement: "%RH"
# expire_after: 3600
#command line
- platform: command_line
# command: "owread 28.2F5699030000/temperature"
command: /opt/bash-scripts/owfs_GenericRead.sh 1300000399562F28 Temperature
name: Noomis
unit_of_measurement: "°C"
scan_interval: 360
- platform: command_line
#command: "owread 28.4A4699030000/temperature"
command: /opt/bash-scripts/owfs_GenericRead.sh 4700000399464A28 Temperature
name: MasterBed
unit_of_measurement: "°C"
scan_interval: 360
- platform: command_line
#command: "owread 28.CD0BAE030000/temperature"
#command: "curl http://10.0.0.202/details.xml --silent | grep E3000003AE0BCD28 -C 5 | grep '<Temperature Units' | cut -d'>' -f 2 | cut -d'<' -f1"
#command: curl http://10.0.0.202/details.xml --silent | sed '2 s/xmlns=".*"//g' | xmllint --xpath "string(/Devices-Detail-Response/owd_DS18B20[ROMId='E3000003AE0BCD28']/Temperature)" -
#command: /opt/bash-scripts/owfs_outsideTemp.sh
command: /opt/bash-scripts/owfs_GenericRead.sh E3000003AE0BCD28 Temperature
name: Outdoor
unit_of_measurement: "°C"
scan_interval: 360
- platform: command_line
# command: "owread 28.326183050000/temperature"
command: /opt/bash-scripts/owfs_GenericRead.sh 2500000583613228 Temperature
name: CTC
unit_of_measurement: "°C"
scan_interval: 360
- platform: command_line
# command: "owread 26.35283F010000/temperature"
# command: /opt/bash-scripts/owfs_GenericRead.sh D80000013F283526 Temperature
command: /opt/bash-scripts/owfs_GenericRead.sh D60008022A0CB310 Temperature
name: Sauna
unit_of_measurement: "°C"
scan_interval: 360
- platform: command_line
# command: "owread 26.35283F010000/humidity"
# command: /opt/bash-scripts/owfs_GenericRead.sh D80000013F283526 Humidity
command: /opt/bash-scripts/owfs_GenericRead.sh 720000013F29FE26 Humidity
name: SaunaRh
unit_of_measurement: "%RH"
scan_interval: 360
- platform: command_line
#command: "owread 26.B4423F010000/temperature"
command: /opt/bash-scripts/owfs_GenericRead.sh A90000013F42B426 Temperature
name: Garage
unit_of_measurement: "°C"
scan_interval: 360
- platform: command_line
#command: "owread 26.B4423F010000/humidity"
command: /opt/bash-scripts/owfs_GenericRead.sh A90000013F42B426 Humidity
name: GarageRh
unit_of_measurement: "%RH"
scan_interval: 360
- platform: command_line
command: /opt/bash-scripts/owfs_GenericRead.sh C60000042FF89728 Temperature
name: Solar
unit_of_measurement: "°C"
scan_interval: 360
- platform: command_line
command: /opt/bash-scripts/owfs_GenericRead.sh 5800000399382428 Temperature
name: Edvins
unit_of_measurement: "°C"
scan_interval: 360
- platform: command_line
command: /opt/bash-scripts/owfs_GenericRead.sh CC000003C22BA428 Temperature
name: Foundation
unit_of_measurement: "°C"
scan_interval: 360
- platform: command_line
#command: echo "scale=2;$(owread 1D.FB970F000000/counters.B) / 53000" | bc
command: echo "scale=2;$(/opt/bash-scripts/owfs_GenericRead.sh 350000000F97FB1D counters.b) / 53000" | bc
name: Water
unit_of_measurement: "m3"
scan_interval: 360
- platform: command_line
command: /opt/bash-scripts/owread_water_cons_liter.sh
name: WaterCons
unit_of_measurement: "L"
scan_interval: 360
- platform: command_line
command: echo "scale=2;$(cat /sys/class/thermal/thermal_zone0/temp) / 1000" | bc
name: CPU-temp
unit_of_measurement: "°C"
scan_interval: 900
#echo "scale=2;$(cat /sys/class/thermal/thermal_zone0/temp) / 1000" | bc
binary_sensor:
- platform: mqtt
state_topic: "/Kitchen/FreezerDoor/open"
name: "FreezerDoor"
payload_on: "1"
payload_off: "0"
device_class: opening
- platform: mqtt
state_topic: "/Kitchen/FridgeDoor/open"
name: "FridgeDoor"
payload_on: "1"
payload_off: "0"
device_class: opening
# Text to speech
tts:
platform: google
# Example configuration.yaml entry
#tellstick:
zwave:
usb_path: /dev/ttyACM0
# Example configuration.yaml entry
switch:
platform: rfxtrx
automatic_add: false
#signal_repititions: 2
devices:
0b1100040059af9601010f70:
name: rfx_new1
0b1100070059af9602010f70:
name: rfx_new2
0b1100080059af9603010f70:
name: rfx_new3
0b11001d00e984de01010f70:
name: rfx_new4
0b11000400e984de02010f70:
name: rfx_new5
0b11000600e984de03010f70:
name: rfx_new6
0710010950010170:
name: rfx_old1
0710010b50020170:
name: rfx_old2
"0710010550030170":
name: rfx_GarageExtLights
# - platform: tellstick
group: !include groups.yaml
# Example configuration.yaml entry for nmap
# One whole subnet, and skipping two specific IPs.
device_tracker:
- platform: nmap_tracker
hosts: 10.0.0.0/24
home_interval: 10
exclude:
- 10.0.0.66
automation: !include automations.yaml
#automation: !include_dir_list automation/
# Grafana in Home Assistant
#panel_iframe:
# grafana:
# title: 'Statistik'
# icon: mdi:elevation-rise
# url: !secret grafana_url