-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
563 lines (540 loc) · 16.7 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
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
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 hvw_latitude
longitude: !secret hvw_longitude
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 100
# metric for Metric, imperial for Imperial
unit_system: imperial
# Country
country: US
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Los_Angeles
# Currency:
currency: USD
# URLS
external_url: "https://hass-vs.tworoads.net:8123"
internal_url: "http://192.168.35.161:8123"
# Customization file
customize: !include customize.yaml
customize_glob: !include customize_glob.yaml
allowlist_external_dirs:
- /config
auth_providers:
- type: homeassistant
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
#api:
#config:
#logbook:
#sun:
#system_health:
python_script:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
http:
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key
alexa:
smart_home:
locale: en-US
endpoint: https://api.amazonalexa.com/v3/events
client_id: !secret alexa_client_id
client_secret: !secret alexa_client_secret
filter:
include_entities:
- sensor.gw1000_temp1
- sensor.gw1000_temp2
- sensor.air_quality_index
- sensor.upstairs_temperature
- sensor.downstairs_temperature
- sensor.pentair_0d_ce_47_air_temperature
- climate.pentair_0d_ce_47_pool_heat
- climate.pentair_0d_ce_47_spa_heat
- switch.pentair_0d_ce_47_spa
- switch.pentair_0d_ce_47_jets
- switch.pentair_0d_ce_47_waterfall
- light.pentair_0d_ce_47_spa_light
- light.pentair_0d_ce_47_pool_light
- switch.pentair_0d_ce_47_pool
- switch.pentair_0d_ce_47_cleaner
- scene.home
- scene.art_lights_on
# include_domains:
# - switch
# exclude_entities:
# - switch.outside
entity_config:
climate.pentair_0d_ce_47_pool_heat:
name: "Pool"
climate.pentair_0d_ce_47_spa_heat:
name: "Spa"
sensor.pentair_0d_ce_47_air_temperature:
name: "Patio"
display_categories: TEMPERATURE_SENSOR
switch.pentair_0d_ce_47_waterfall:
name: "Waterfall"
switch.pentair_0d_ce_47_pool:
name: "Pool Pump"
switch.pentair_0d_ce_47_cleaner:
name: "Pool Cleaner"
switch.pentair_0d_ce_47_spa:
name: "Spa Pump"
switch.pentair_0d_ce_47_jets:
name: "Spa Jets"
switch.pentair_0d_ce_47_pool_light:
name: "Pool Lights"
switch.pentair_0d_ce_47_spa_light:
name: "Spa Lights"
sensor.upstairs_temperature:
name: "Upstairs"
display_categories: TEMPERATURE_SENSOR
sensor.downstairs_temperature:
name: "Downstairs"
display_categories: TEMPERATURE_SENSOR
sensor.gw1000_temp2:
name: "Wine Cellar"
display_categories: TEMPERATURE_SENSOR
sensor.gw1000_temp1:
name: "Garage"
display_categories: TEMPERATURE_SENSOR
sensor.air_quality_index:
name: "Air Quality"
display_categories: TEMPERATURE_SENSOR
scene.home:
name: "Home Mode"
scene.art_lights_on:
name: "Art Lights"
# light.kitchen:
# name: "Custom Name for Alexa"
# description: "The light in the kitchen"
# switch.stairs:
# display_categories: LIGHT
influxdb:
api_version: 2
ssl: false
host: !secret influxdb_host
port: !secret influxdb_port
organization: !secret influxdb_org
bucket: !secret influxdb_bucket
token: !secret influxdb_token
telegram_bot:
- platform: polling # polling or broadcast
api_key: !secret telegram_apikey
parse_mode: html # otherwise '_' are interpreted as for italics in msg parser
allowed_chat_ids:
- !secret telegram_chatid # First chat Group "HA Horizonview"
- !secret telegram_userid # "Scott"
notify:
- name: telegram_horizonview
platform: telegram
api_key: !secret telegram_apikey
chat_id: !secret telegram_chatid
camera:
- platform: local_file
name: Front Yard Snapshot
file_path: /config/www/snapshots/hv_front_yard.png
logger:
default: info
logs:
hole: warning
pyunifiprotect.api: warning
# homeassistant.components.automation: debug
# homeassistant.components.mqtt: debug
# homeassistant.components.homekit: debug
# homeassistant.components.integration: debug
# homeassistant.components.alexa: debug
# homeassistant.components.sensor: debug
# homeassistant.components.climate: debug
# homeassistant.components.shell_command: debug
# homeassistant.helpers.entity: debug
charset_normalizer: warning
device_tracker:
- platform: mqtt_json
devices:
srp_iphone_ios: 'location/phone/srp_iphone_ios'
audi_a6_gps: 'location/car/audi_a6_gps'
audi_q7_gps: 'location/car/audi_q7_gps'
bmw_ix_gps: 'location/car/bmw_ix_gps'
#hydrawise:
# access_token: !secret hydrawise_api
#schluter:
# username: !secret schluter_username
# password: !secret schluter_password
envisalink:
host: !secret envisalink_host
panel_type: HONEYWELL
user_name: user
password: user
code: '1978'
port: 4025
evl_version: 4
keepalive_interval: 60
zonedump_interval: 20
timeout: 10
zones:
1:
name: 'Upper Hall Smoke'
type: 'smoke'
2:
name: 'Entry Doors'
type: 'door'
3:
name: 'Master Bed Motion'
type: 'motion'
4:
name: 'Lower Hall Motion'
type: 'motion'
5:
name: 'Entry Hall Motion'
type: 'motion'
6:
name: 'Kitchen Motion'
type: 'motion'
7:
name: 'Lower Doors'
type: 'door'
8:
name: 'Upper Doors'
type: 'door'
10:
name: 'Master Bed Smoke'
type: 'smoke'
11:
name: 'Game Room Smoke'
type: 'smoke'
12:
name: 'Family Room Smoke'
type: 'smoke'
13:
name: 'Garage Heat'
type: 'smoke'
14:
name: 'Sprinkler Flow'
type: 'smoke'
partitions:
1:
name: 'House Alarm'
input_select:
house_mode:
name: House Mode
options:
- Home
- Away
- Night
- Vacation
- unavailable
- unknown
mqtt:
sensor:
- state_topic: room-assistant/status/familyroom
unique_id: room_assistant_familyroom
name: "Room Assistant Familyroom"
# - state_topic: room-assistant/status/gameroom
# unique_id: room_assistant_gameroom
# name: "Room Assistant Gameroom"
# - state_topic: room-assistant/status/retreat
# unique_id: room_assistant_retreat
# name: "Room Assistant Retreat"
# - state_topic: room-assistant/status/garage
# unique_id: room_assistant_garage
# name: "Room Assistant Garage"
sensor:
- platform: rest
resource: http://192.168.35.171:8181/data/aircraft.json
name: Nearby Aircraft
value_template: "{{ value_json.aircraft | length | int(0) }}"
scan_interval: 120
unit_of_measurement: Aircraft
# Weewx Weather
# - platform: rest
# resource: http://192.168.35.157/weewx/daily.json
# name: Weewx Weather
# scan_interval: 150
# force_update: true
# json_attributes:
# - time
# - current
# - almanac
# value_template: '{{ value_json.location }}'
- platform: rest
name: "Vera House Mode"
resource: !secret vera_resource
method: "GET"
scan_interval: 20
value_template: >-
{% set mapper = {
'1' : 'Home',
'2' : 'Away',
'3' : 'Night',
'4' : 'Vacation' } %}
{{ mapper[value] }}
- platform: rest
name: "Chilly Brown Owl LED"
unique_id: chilly_brown_owl_led
scan_interval: 300 # 5 min
resource: !secret bobcat_led
value_template: "{{value_json.led}}"
# - platform: systemmonitor
# resources:
# - type: memory_use_percent
# - type: swap_use_percent
# - type: disk_use_percent
# arg: /
# - type: processor_use
# - type: load_1m
# - type: last_boot
- platform: time_date
display_options:
- 'time'
- platform: snmp
name: erx_wan_in
host: 192.168.35.254
baseoid: 1.3.6.1.2.1.31.1.1.1.6.4
community: public
version: '2c'
scan_interval: 10
accept_errors: true
- platform: snmp
name: erx_wan_out
host: 192.168.35.254
baseoid: 1.3.6.1.2.1.31.1.1.1.10.4
community: public
version: '2c'
scan_interval: 10
accept_errors: true
- platform: derivative
name: erx_wan_in_derivative
source: sensor.erx_wan_in
unit_time: s
unit: B
- platform: derivative
name: erx_wan_out_derivative
source: sensor.erx_wan_out
unit_time: s
unit: B
- platform: snmp
host: 192.168.35.254
version: 2c
name: Xfinity WAN Usage
scan_interval: 23
unit_of_measurement: 'MiB'
baseoid: 1.3.6.1.4.1.8072.1.3.2.4.1.2.10.119.97.110.95.117.115.97.103.101.0.1
accept_errors: true
value_template: '{{value | float(default=0) }}'
- platform: statistics
name: Xfinity WAN Statistics
entity_id: sensor.xfinity_wan_usage
state_characteristic: change
sampling_size: 28800
max_age: 24:00:00
- platform: history_stats
name: Upstairs HVAC Duty Cycle
entity_id: binary_sensor.upstairs_hvac_status
state: "on"
type: ratio
#start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
duration:
hours: 24
- platform: history_stats
name: Downstairs HVAC Duty Cycle
entity_id: binary_sensor.downstairs_hvac_status
state: "on"
type: ratio
#start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
duration:
hours: 24
- platform: history_stats
name: Chiller Duty Cycle
entity_id: binary_sensor.chiller_status
state: "on"
type: ratio
#start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
duration:
hours: 24
- platform: history_stats
name: Water Heater Duty Cycle
entity_id: binary_sensor.water_heater_status
state: "on"
type: ratio
#start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
duration:
hours: 24
- platform: history_stats
name: Chiller Time On
entity_id: binary_sensor.chiller_status
state: "on"
type: time
#start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
duration:
hours: 24
- platform: history_stats
name: Chiller On Count
entity_id: binary_sensor.chiller_status
state: "on"
type: count
#start: "{{ now().replace(hour=0, minute=0, second=0) }}"
end: "{{ now() }}"
duration:
hours: 24
- platform: integration
source: sensor.pentair_0d_ce_47_pool_pump_watts_now
unique_id: pentair_0d_ce_47_pool_pump_energy
name: 'Pentair: 0D-CE-47 Pool Pump Energy'
unit_prefix: k
unit_time: h
method: left
round: 2
- platform: integration
name: Grid Import Energy
source: sensor.grid_import_power
unit_prefix: k
unit_time: h
method: left
- platform: integration
name: Grid Export Energy
source: sensor.grid_export_power
unit_prefix: k
unit_time: h
method: left
- platform: integration
source: sensor.closet_ups_current_power
name: Closet UPS Energy
unit_prefix: k
unit_time: h
round: 2
- platform: integration
source: sensor.retreat_ups_current_power
name: Retreat UPS Energy
unit_prefix: k
unit_time: h
round: 2
- platform: integration
source: sensor.guest1_floor_power
name: Guest1 Floor Energy
unit_prefix: k
unit_time: h
round: 2
- platform: integration
source: sensor.guest2_floor_power
name: Guest2 Floor Energy
unit_prefix: k
unit_time: h
round: 2
- platform: integration
source: sensor.master_floor_power
name: Master Floor Energy
unit_prefix: k
unit_time: h
round: 2
- platform: derivative
source: sensor.pool_room_temperature
name: Pool Room Change per Minute
round: 1
unit_time: min
#switch:
# - platform: hydrawise
switch:
- platform: template
switches:
art_lights:
unique_id: art_lights
friendly_name: Art Lights
value_template: "{{ is_state('art_lights_on', 'on') }}"
turn_on:
service: scene.turn_on
entity_id: scene.art_lights_on
turn_off:
service: scene.turn_on
entity_id: scene.art_lights_off
utility_meter:
daily_energy:
source: sensor.eagle_200_net_meter_energy_delivered_minus_received
cycle: daily
net_consumption: true
daily_envoy_energy:
source: sensor.envoy_net_meter_energy_consumption_minus_production
cycle: daily
net_consumption: true
daily_home_delivered:
source: sensor.eagle_200_total_meter_energy_delivered
cycle: daily
daily_home_received:
source: sensor.eagle_200_total_meter_energy_received
cycle: daily
daily_energy_import:
source: sensor.grid_import_energy
name: Daily Import Meter
cycle: daily
tariffs:
- peak
- offpeak
daily_energy_export:
source: sensor.grid_export_energy
name: Daily Export Meter
cycle: daily
tariffs:
- peak
- offpeak
lovelace:
mode: yaml
resources:
- url: /hacsfiles/bignumber-card/bignumber-card.js
type: module
- url: /hacsfiles/lovelace-card-tools/card-tools.js
type: module
- url: /hacsfiles/secondaryinfo-entity-row/secondaryinfo-entity-row.js
type: module
- url: /hacsfiles/flex-horseshoe-card/flex-horseshoe-card.js
type: module
- url: /hacsfiles/lovelace-multiple-entity-row/multiple-entity-row.js
type: module
- url: /hacsfiles/simple-thermostat/simple-thermostat.js
type: module
- url: /hacsfiles/button-card/button-card.js
type: module
- url: /hacsfiles/entity-attributes-card/entity-attributes-card.js
type: module
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
type: module
- url: /hacsfiles/bar-card/bar-card.js
type: module
- url: /hacsfiles/canvas-gauge-card/canvas-gauge-card.js
type: module
- url: /hacsfiles/home-assistant-sun-card/home-assistant-sun-card.js
type: module
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
type: module
- url: /hacsfiles/compass-card/compass-card.js
type: module
- url: /hacsfiles/battery-state-card/battery-state-card.js
type: module
- url: /hacsfiles/clock-weather-card/clock-weather-card.js
type: module
- url: /local/7segment.css
type: css
frontend:
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
#history: !include history.yaml
recorder: !include recorder.yaml
automation: !include automations.yaml
automation split: !include_dir_list automations
binary_sensor: !include binary_sensors.yaml
group: !include groups.yaml
#homekit: !include homekit.yaml
scene: !include scenes.yaml
script: !include scripts.yaml
script split: !include_dir_list scripts
template: !include templates.yaml
rest_command: !include rest.yaml
shell_command: !include shell_command.yaml
zone: !include zones.yaml