-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathconfiguration.yaml
599 lines (528 loc) Β· 15.4 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
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
homeassistant:
name: Home
external_url: !secret external_url
#internal_url: http://assistlocal
internal_url: http://10.0.1.22:8123
country: US
elevation: !secret elevation
#unit_system: imperial
latitude: !secret home_lat
longitude: !secret home_long
time_zone: America/Chicago
customize: !include customize.yaml
packages:
alexa: !include packages/alexa.yaml
#aarlo: !include packages/aarlo.yaml
aquarium: !include packages/aquarium.yaml
# Start Christmas
#christmas: !include packages/christmas.yaml
# End Christmas
# covid: !include packages/covid.yaml
frigate: !include packages/frigate.yaml
door_otp: !include packages/door_otp.yaml
garage_door: !include packages/garage_door.yaml
gate: !include packages/mom_and_dad_gate.yaml
grill: !include packages/grill.yaml
blinds: !include packages/blinds.yaml
hass_update_check: !include packages/hass_update_check.yaml
smoke_alarms: !include packages/smoke_alarms.yaml
magic_cube: !include packages/magic_cube.yaml
irrigation: !include packages/irrigation.yaml
leak_detection: !include packages/leak_detection.yaml
reminders: !include packages/reminders.yaml
photo_frames: !include packages/photo_frames.yaml
tesla: !include packages/tesla.yaml
timers: !include packages/timers.yaml
ups_monitoring: !include packages/ups_monitor.yaml
vacuum: !include packages/vacuum.yaml
auth_providers:
- type: homeassistant
- type: trusted_networks
trusted_networks:
- 10.0.1.0/24
allowlist_external_dirs:
- "/tmp"
- "/config"
- "/tmp"
allowlist_external_urls:
- "http://localhost:8123/api/frigate/notifications"
media_dirs:
audio: media/audio/
video: media/video/
images: media/images/
alexa: !include alexa.yaml
automation: !include automations.yaml
backup:
binary_sensor: !include binary_sensor.yaml
camera: !include camera.yaml
# circadian_lighting:
# # Set manual sunrise/sunset for aquarium brightness
# sunrise_time: "09:00:00"
# sunset_time: "20:00:00"
# interval: 300
# transition: 10
command_line: !include command_line.yaml
config:
energy:
# Moved to UI v2024.5
# folder_watcher:
# - folder: '/tmp'
# patterns:
# - "database.sqlite"
# - folder: '/tmp'
# patterns:
# - "config.yml"
monitor_docker:
#scan_interval: 60
url: "http://localhost:2375"
monitored_conditions:
- state
#switchname: 'docker_{name}'
rename:
adguard: "AdGuard"
appdaemon: "Appdaemon"
bvst: "BVST"
codeproject: "CodeProject.AI"
esphome: "ESPHome"
frigate: "Frigate"
grafana: "Grafana"
influxdb: "InfluxDB"
librespeed: "Speedtest"
mealie: "Recipes"
mosquitto: "Mosquitto"
nodered: "Node-RED"
plex: "Plex"
portainer: "Portainer"
sqliteweb: "SQLite Web"
thermostat_api_server: "Thermostat API Server"
vrs: "Virtual Radar Server"
vscode: "VSCode"
watchtower: "Watchtower"
zwavejs: "Zwave-JS"
frontend:
themes: !include_dir_merge_named themes
extra_module_url:
- /hacsfiles/lovelace-card-mod/card-mod.js
group: !include group.yaml
google_assistant: !include google_home.yaml
history:
homekit: !include homekit.yaml
http:
use_x_forwarded_for: true
trusted_proxies:
- 172.18.0.0/24 # Traefik
- 10.0.1.22/32 # NUC
server_port: 8123
# strict_connection: guard_page
ifttt:
key: !secret IFTTT
influxdb:
host: 127.0.0.1
exclude:
entities:
- binary_sensor.internet_reachability
- binary_sensor.iss
- sensor.kitchen_timer_countdown
- sensor.irrigation_time_remaining
- sensor.last_boot
- sensor.mail_updated
- sensor.moon
- sensor.thermostat_last_communication
domains:
- automation
- alarm_panel
- camera
- group
- media_player
- notify
- scene
- script
- shell_command
- sun
- zone
- zwave
input_boolean: !include input_boolean.yaml
input_datetime: !include input_datetime.yaml
input_select: !include input_select.yaml
intent_script: !include intent_script.yaml
input_text: !include input_text.yaml
# ios:
# push:
# categories:
# - name: Confirm
# identifier: "confirm"
# actions:
# - identifier: "confirm_unlock"
# title: "Confirm"
# - identifier: "ignore_unlock"
# title: "Ignore"
light:
- platform: limitlessled
bridges:
- host: 10.0.0.47
version: 5
port: 8899
groups:
#big bulbs
- number: 1
type: rgbw
name: Front Porch Halloween
fade: on
- number: 2
type: rgbw
name: plant_light_corner
fade: on
- platform: group
name: Kitchen Lights
entities:
- light.kitchen_can_lights
- light.kitchen_table_light
- light.kitchen_sink_light
- platform: group
name: Master Bedroom Lamps
entities:
- light.andrew_nightstand_lamp
- light.bethany_nightstand_lamp
- platform: group
name: Living Room Lamps
entities:
- light.living_room_lamp
- light.living_room_lamp_2
- platform: group
name: Back Bedroom Lamps
entities:
- light.back_bedroom_nightstand_lamp
- light.back_bedroom_dresser_lamp
- platform: group
name: Front Porch Lights
entities:
- light.front_porch_left
- light.front_porch_right
- platform: group
name: Front Sconces
entities:
- light.front_sconce_left
- light.front_sconce_right
- platform: group
name: Front House Lights
entities:
- light.front_sconces
- light.front_porch_lights
lock:
- platform: template
name: All Doors
value_template: "{{ is_state('lock.front_door','locked') and is_state('lock.back_door','locked') and is_state('lock.garage_exterior_door','locked') }}"
lock:
- service: lock.lock
entity_id:
- lock.front_door
- lock.back_door
- lock.garage_exterior_door
unlock:
- service: lock.unlock
entity_id:
- lock.front_door
- lock.back_door
- lock.garage_exterior_door
logbook:
logger:
#default: debug
default: error
logs:
#homeassistant.components.recorder: debug
#pyhap: debug
#homeassistant.core: warn
#homeassistant.components.media_player: debug
#custom_components.alexa_media: debug
# Start ZHA Debugging
# asyncio: debug
homeassistant.components.tts: debug
homeassistant.components.pico_tts: debug
homeassistant.components.google_generative_ai_conversation: debug
#zigpy: debug
# bellows: debug
# zigpy_xbee: debug
# zigpy_deconz: debug
# zigpy_zigate: debug
# zigpy_cc: debug
# bellows.zigbee.application: debug
# bellows.ezsp: debug
# zigpy_deconz.zigbee.application: debug
# zigpy_deconz.api: debug
# zigpy_xbee.ap: debug
# zigpy_znp: debug
# zhaquirks: debug
# End ZHA Debugging
# custom_components.xiaomi_cloud_map_extractor: debug
#custom_components.alexa_media: debug
#custom_components.localtuya: debug
#homeassistant.components.webhook: debug
#custom_components.mail_and_packages: debug
# custom_components.aarlo: debug
# custom_components.aarlo.alarm_control_panel: debug
# custom_components.aarlo.binary_sensor: debug
# custom_components.aarlo.camera: debug
# custom_components.aarlo.light: debug
# custom_components.aarlo.media_player: debug
# custom_components.aarlo.sensor: debug
custom_components.webrtc: debug
# pyaarlo: debug
#custom_components.bhyve: debug
#pybhyve: debug
filters:
homeassistant.core:
- ".*camera.xiaomi_cloud_map_extractor.*" # Roborock map
- "camera.*snapshot.*"
- "sensor.*_power"
- "sensor.*_daily_energy.*"
- "sensor.phase.*_voltage.*"
- "sensor.load.*"
- "binary_sensor.internet_reachability"
- ".*mqtt_automation_listener.*"
lovelace:
mode: yaml
resources:
- url: /hacsfiles/weather-card/weather-card.js
type: module
- url: /hacsfiles/lovelace-slider-entity-row/slider-entity-row.js
type: module
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
type: module
- url: /hacsfiles/simple-thermostat/simple-thermostat.js
type: module
#- url: /hacsfiles/custom-header/custom-header.js
# type: module
# - url: /hacsfiles/favicon-counter/favicon-counter.js
# type: module
- url: /hacsfiles/vertical-stack-in-card/vertical-stack-in-card.js
type: module
- url: /hacsfiles/zha-network-visualization-card/zha-network-visualization-card.js
type: module
- url: /hacsfiles/lovelace-card-templater/lovelace-card-templater.js
type: module
- url: /hacsfiles/lovelace-auto-entities/auto-entities.js
type: module
- url: /hacsfiles/bignumber-card/bignumber-card.js
type: module
# - url: /hacsfiles/ozw-network-visualization-card/ozw-network-visualization-card.js
# type: module
- url: /hacsfiles/lovelace-text-input-row/lovelace-text-input-row.js
type: module
- url: /hacsfiles/uptime-card/uptime-card.js
type: module
- url: /hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js
type: module
- url: /hacsfiles/flipdown-timer-card/flipdown-timer-card.js
type: module
- url: /hacsfiles/lovelace-fold-entity-row/fold-entity-row.js
type: module
- url: /hacsfiles/numberbox-card/numberbox-card.js
type: module
- url: /hacsfiles/lovelace-card-tools/card-tools.js
type: module
- url: /hacsfiles/lovelace-wallpanel/wallpanel.js
type: module
- url: /hacsfiles/lovelace-mushroom/mushroom.js
type: module
- url: /hacsfiles/frigate-hass-card/frigate-hass-card.js
type: module
media_source:
#media_extractor:
mobile_app:
mqtt: !include mqtt.yaml
my:
notify:
# - platform: pushbullet
# api_key: !secret pushbullet_key
# name: pushbullet
- platform: signal_messenger
name: signal_self
url: "http://localhost:8800" # the URL where the Signal Messenger REST API is listening
number: !secret signal_phone
recipients: # one or more recipients
- !secret signal_phone_andrew
- platform: signal_messenger
name: signal_bvst
url: "http://localhost:8800" # the URL where the Signal Messenger REST API is listening
number: !secret signal_phone
recipients: # one or more recipients
- !secret signal_group_bvst
- platform: signal_messenger
name: signal_bvst_ins
url: "http://localhost:8800" # the URL where the Signal Messenger REST API is listening
number: !secret signal_phone
recipients: # one or more recipients
- !secret signal_group_bvst_ins
- platform: signal_messenger
name: signal_adsb
url: "http://localhost:8800" # the URL where the Signal Messenger REST API is listening
number: !secret signal_phone
recipients: # one or more recipients
- !secret signal_group_adsb
- platform: signal_messenger
name: signal_frigate
url: "http://localhost:8800" # the URL where the Signal Messenger REST API is listening
number: !secret signal_phone
recipients: # one or more recipients
- !secret signal_group_frigate
- platform: signal_messenger
name: signal_homeassistant
url: "http://localhost:8800" # the URL where the Signal Messenger REST API is listening
number: !secret signal_phone
recipients: # one or more recipients
- !secret signal_group_homeassistant
# - name: gsm_message
# platform: rest
# resource: http://127.0.0.1:9999/send_message
# method: POST_JSON
# data:
# priority: "{{ data.priority }}"
- name: cellular_message
platform: rest
resource: http://127.0.0.1:9998/send_message
method: POST_JSON
data:
priority: "{{ data.priority }}"
plant:
garden:
sensors:
moisture: sensor.miflora_moisture
temperature: sensor.miflora_temperature
conductivity: sensor.miflora_soil_conductivity
brightness: sensor.miflora_illuminance
min_moisture: 20
max_moisture: 100
python_script:
readme:
# SELECT
# states_meta.entity_id,
# COUNT(*) AS cnt
# FROM states JOIN states_meta
# ON states.metadata_id = states_meta.metadata_id
# GROUP BY
# states_meta.entity_id
# ORDER BY
# COUNT(*) DESC;
recorder:
db_url: mysql://homeassistant:[email protected]/homeassistant?charset=utf8mb4
purge_keep_days: 182
commit_interval: 30
exclude:
entities:
- automation.update_readme
- automation.update_usps_mail_camera_path_on_hass_restart
- automation.update_utilities_cost
- automation.sync_cloudflare_cname_records
- binary_sensor.gate_heading_comparison
- binary_sensor.iss
- script.zen30_led_color_change
- sensor.aarlo_signal_strength_office
- sensor.kitchen_timer_countdown
- sensor.kitchen_next_timer
- sensor.irrigation_time_remaining
- sensor.last_boot
- sensor.load_1m
- sensor.load_5m
- sensor.load_15m
- sensor.mail_updated
- sensor.moon
- sensor.network_in_eno1
- sensor.network_out_eno1
- sensor.roborock_s4_last_cleaned
- sensor.circadian_values
- sensor.thermostat_last_communication
- sensor.weasel_last_seen
- sensor.nuc_nuc_last_seen
- sensor.it_c02xrkvwjg5j_last_seen
- sensor.pixel_2_xl_last_seen
- sensor.aneischvps_last_seen
domains:
#- automation
#- alarm_panel
- camera
- media_player
- notify
- scene
#- script
#- shell_command
- sun
- zone
include:
entities:
- media_player.living_room_tv
- media_player.kitchen_photo_frame
- media_player.office_photo_frame
rest_command: !include rest_command.yaml
# samsungtv:
# - host: 10.0.1.51
# name: Living Room TV
# turn_on_action:
# - service: wake_on_lan.send_magic_packet
# data:
# mac: 44:5c:e9:2e:51:0a
scene: !include scene.yaml
script: !include scripts.yaml
setter:
sensor: !include sensors.yaml
shell_command: !include shell_command.yaml
sonoff:
username: !secret ewelink_user
password: !secret ewelink_pass
mode: local
reload: always
stream:
sun:
switch: !include switches.yaml
system_health:
template: !include template.yaml
tts:
- platform: picotts
- platform: microsoft
api_key: !secret AzureSpeechKey
region: centralus
gender: Male
type: GuyNeural
wemo:
discovery: false
static:
- 10.0.1.48
utility_meter:
electric_utilities_monthly:
source: sensor.total_daily_energy
name: Monthly Energy
cron: "0 22 L * *"
zha:
#enable_quirks: true
#custom_quirks_path: /config/custom_zha_quirks/
zigpy_config:
network:
channel: 11
channels: [11]
pan_id: 0x1A62
extended_pan_id: "DD:DD:DD:DD:DD:DD:DD:DD"
zone:
- name: Bethany Work
latitude: !secret bethany_work_lat
longitude: !secret bethany_work_long
radius: 200
icon: mdi:worker
- name: Dan and Marilyn's
latitude: !secret dan_lat
longitude: !secret dan_long
radius: 500
icon: mdi:home-variant
- name: Wayne and Lisa's
latitude: !secret wayne_lat
longitude: !secret wanye_long
radius: 500
icon: mdi:home-variant
- name: Michael and Mandy's
latitude: !secret michael_lat
longitude: !secret michael_long
radius: 500
icon: mdi:home-variant
- name: Kimberly and Travis'
latitude: !secret travis_lat
longitude: !secret travis_long
radius: 500
icon: mdi:home-variant