forked from arsaboo/homeassistant-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
565 lines (542 loc) · 15.5 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
homeassistant:
auth_providers:
- type: homeassistant
- type: trusted_networks
- type: legacy_api_password
# Omitted values in this section will be auto detected using freegeoip.io
# Location required to calculate the time the sun rises and sets
latitude: !secret latitude_home
longitude: !secret longitude_home
elevation: 322
# Name of the location where Home Assistant is running
name: Home
# C for Celcius, F for Fahrenheit
temperature_unit: F
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/New_York
unit_system: imperial
customize: !include customize.yaml
customize_glob: !include customize_glob.yaml
packages: !include_dir_named packages
whitelist_external_dirs:
- '/home/homeassistant/.homeassistant/downloads'
- '/tmp'
- '/home/homeassistant/.homeassistant/downloads/camera/'
- '/home/homeassistant/.homeassistant/downloads/camera/porch'
- '/home/homeassistant/.homeassistant/downloads/camera/patio'
- '/home/homeassistant/.homeassistant/downloads/camera/backyard'
- '/home/homeassistant/.homeassistant/downloads/camera/driveway'
updater:
include_used_components: true
influxdb:
host: 192.168.2.113
include:
entities:
- sensor.temperature_158d0001ab3b2b
- sensor.humidity_158d0001ab3b2b
- sensor.temperature_158d0001ab7d20
- sensor.humidity_158d0001ab7d20
- sensor.portfolioval
- sensor.pws_temp_f
- sensor.downstairsthermoper
- sensor.upstairsthermoper
- climate.downstairs
- climate.upstairs
python_script:
weather:
- platform: yweather
name: yweather
woeid: !secret woeid
# - platform: darksky
# api_key: !secret darksky_key
# enable_debug:
customizer:
custom_ui: hosted
hide_attributes:
- node_id
- value_index
panel_custom:
- name: no-love
sidebar_title: No love
sidebar_icon: mdi:heart-off
webcomponent_path: /home/homeassistant/.homeassistant/panels/no-love.html
zone:
name: Home
latitude: !secret latitude_home
longitude: !secret longitude_home
radius: 200
icon: mdi:home
zone 2:
name: Buckhead
latitude: !secret latitude_buckhead
longitude: !secret longitude_buckhead
radius: 200
icon: mdi:school
zone 3:
name: Downtown
latitude: !secret latitude_downtown
longitude: !secret longitude_downtown
radius: 200
icon: mdi:school
zwave:
usb_path: /dev/ttyACM0
network_key: !secret zwave_network_key
hue:
bridges:
- host: 192.168.2.229
allow_hue_groups: false
light:
- platform: lifx
# z-wave dimmer switch (http://amzn.to/2j1UEli)
- platform: mqtt
name: "Kitchen Lights"
state_topic: "smartthings/Kitchen/switch"
command_topic: "smartthings/Kitchen/switch"
payload_on: "on"
payload_off: "off"
brightness_state_topic: "smartthings/Kitchen/level"
brightness_command_topic: "smartthings/Kitchen/level"
brightness_scale: 99
brightness_value_template: '{{ value }}'
retain: true
optimistic: false
qos: 0
- platform: group
name: Living Room Lights
entities:
- light.lifx3
- light.lifxnrguest
- light.lifxnrkitchen
wemo:
static:
- 192.168.2.104
- 192.168.2.130
- 192.168.2.206
- 192.168.2.237
arlo:
username: !secret arlo_user
password: !secret arlo_password
scan_interval: 120
alarm_control_panel:
# - platform: ifttt
# name: "Abode"
- platform: ifttt
name: ArloHome
event_arm_away: arlo_alarm_arm_away
event_disarm: arlo_alarm_disarm
optimistic: true
# - platform: arlo
xiaomi_aqara:
gateways:
- key: !secret xiaomikey
host: 192.168.2.82
abode:
username: !secret abode_username
password: !secret abode_password
ring:
username: !secret ring_username
password: !secret ring_password
bloomsky:
api_key: !secret bloomsky_key
ecobee:
api_key: !secret ecobee_key
hold_temp: True
# lyric:
# client_id: !secret lyric_client_id
# client_secret: !secret lyric_client_secret
shell_command:
image_classify: bash /home/homeassistant/.homeassistant/shell_scripts/image_classification.sh "{{camera}}"
facebox: bash /home/homeassistant/.homeassistant/shell_scripts/facebox.sh "{{camera}}"
# Using Stringify Maker requests
# rest_command:
# lyric_mode_off:
# url: !secret lyric_mode_off
# lyric_mode_heat:
# url: !secret lyric_mode_heat
# lyric_mode_cool:
# url: !secret lyric_mode_cool
media_extractor:
# Enables configuration UI
config:
cloud:
alexa:
filter:
include_entities:
- light.living_room_lights
- input_boolean.abodeupdate
- light.gateway_light_34ce00813670
- light.kitchen_lights
- light.lifx5
- switch.driveway
- switch.garage_relay_switch
- switch.wemoporch
include_domains:
- cover
entity_config:
light.gateway_light_34ce00813670:
name: Gateway Light
description: Xiaomi Gateway Light
google_assistant:
project_id: !secret google_project_id
client_id: !secret google_client_id
access_token: !secret google_access_token
agent_user_id: !secret google_agent_user_id
api_key: !secret google_project_api_key
expose_by_default: false
exposed_domains:
- cover
entity_config:
light.living_room_lights:
expose: true
room: living room
switch.driveway:
expose: true
room: driveway
switch.wemoporch:
expose: true
name: Porch Lights
room: porch
light.kitchen_lights:
expose: true
room: kitchen
light.lifx5:
expose: true
room: garage
switch.wemoinsight:
expose: true
name: Wemo Insight
room: office
climate.downstairs:
expose: true
name: Living Room Ecobee
room: living room
light.hue_color_lamp_3:
expose: True
name: Philips Hue
room: kids room
map:
downloader:
download_dir: downloads
http:
api_password: !secret http_password
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key
base_url: !secret base_url
ip_ban_enabled: True
login_attempts_threshold: 2
trusted_networks:
- 192.168.2.0/24
# Discover some devices automatically
discovery:
ignore:
- apple_tv
- panasonic_viera
proximity:
alok:
devices:
- device_tracker.meta_alok
tolerance: 50
unit_of_measurement: mi
rashmi:
devices:
- device_tracker.meta_rashmi
tolerance: 50
unit_of_measurement: mi
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
ffmpeg:
camera:
- platform: bloomsky
# Generate your link - https://www.wunderground.com/weather-radar/united-states/
- platform: generic
still_image_url: 'https://icons.wxug.com/data/weather-maps/radar/united-states/columbus-georgia-region-current-radar-animation.gif'
name: WundergroundRadar
- platform: synology
url: http://192.168.2.113:5000/
username: !secret synology_username
password: !secret synology_password
verify_ssl: False
# obtain your URL from yr.no. Search for your location and view hour-by-hour results
- platform: generic
still_image_url: !secret meteogram_png_url
name: Meteogram
- platform: generic
name: worldtime
still_image_url: https://imgs.xkcd.com/comics/now.png
- platform: arlo
- platform: generic
name: LivingRoom_temperature
still_image_url: 'http://192.168.2.113:3000/render/d-solo/000000001/home-assistant?orgId=1&panelId=1&width=1000&height=500&tz=UTC-05%3A00'
username: !secret grafana_user
password: !secret grafana_pass
- platform: ring
- platform: unsplash
api_key: !secret unsplash_key
output_dir: /www/icons/
# - platform: local_file
# name: Grafana_temperature
# file_path: /home/homeassistant/.homeassistant/downloads/temperature.png
# - platform: ring
# - platform: opencv
# camera: camera.porch
# processor: image_processing.opencv_porch
# name: OpenCV Porch
# - platform: generic
# still_image_url: !secret porch_camera_image_url
# name: porch2
# - platform: opencv
# camera: camera.motoe
# processor: image_processing.opencv_motoe
# name: OpenCV MotoE
# - platform: opencv
# camera: camera.porch
# processor: image_processing.opencv_porch
# name: OpenCV Porch
# - platform: opencv
# camera: camera.backyard
# processor: image_processing.opencv_backyard
# name: OpenCV Backyard
# - platform: opencv
# camera: camera.driveway
# processor: image_processing.opencv_driveway
# name: OpenCV Driveway
# - platform: generic
# still_image_url: 'https://radblast.wunderground.com/cgi-bin/radar/WUNIDS_map?station=FFC&brand=wui&num=1&delay=100&type=NTP&frame=0&scale=1&noclutter=0&showstorms=5&mapx=400&mapy=240¢erx=400¢ery=240&transx=0&transy=0&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0&rand=24427697&lat=0&lon=0&label=you'
# name: RadarGA
# Generate link - http://www.intellicast.com/National/Radar/Current.aspx
# - platform: generic
# still_image_url: 'http://images.intellicast.com/WxImages/RadarLoop/prc_None_anim.gif'
# name: IntellicastRadar
ifttt:
key: !secret ifttt_key
image_processing:
- platform: facebox
scan_interval: 10000
ip_address: 192.168.2.212
port: 8082
source:
- entity_id: camera.patio
- entity_id: camera.porch
- entity_id: camera.backyard
- entity_id: camera.driveway
- platform: tagbox
scan_interval: 10000 # Default 10
ip_address: 192.168.2.212
confidence: 50
port: 8081
source:
- entity_id: camera.patio
- entity_id: camera.porch
- entity_id: camera.backyard
- entity_id: camera.driveway
# - platform: classificationbox
# scan_interval: 10000
# ip_address: 192.168.2.212
# port: 8083
# confidence: 50
# source:
# - entity_id: camera.porch
# - platform: sighthound
# api_key: sighthound_api
# scan_interval: 10000
# source:
# - entity_id: camera.porch
# image_processing:
# - platform: clarifai
# name: general_classifier
# api_key: !secret clarifai_api
# model_id: a403429f2ddf4b49b307e318f00e528b
# file_path: /home/homeassistant/.homeassistant/downloads/porch.jpg
# android_ip_webcam:
# - host: 192.168.2.176
# name: motoe
# scan_interval: 1
# image_processing:
# - platform: opencv
# name: OpenCV
# source:
# - entity_id: camera.porch
# classifier:
# body:
# file: /home/homeassistant/.homeassistant/classifier/haarcascade_fullbody.xml
# neighbors: 4
# - platform: dlib_face_detect
# source:
# - entity_id: camera.porch
# name: "Face Detected porch"
# - entity_id: camera.backyard
# name: "Face Detected backyard"
# - entity_id: camera.driveway
# name: "Face Detected driveway"
# - entity_id: camera.patio
# name: "Face Detected patio"
sonos:
media_player:
hosts:
- 192.168.2.150
- 192.168.2.69
sun:
media_player:
- platform: kodi
host: 192.168.2.28
port: 8080
name: Kodi NSTV
username: !secret kodi_username
password: !secret kodi_password
- platform: panasonic_viera
host: 192.168.2.242
port: 55000
name: Panasonic Viera TV
- platform: plex
entity_namespace: 'plex'
- platform: alexa
email: !secret amazon_user
password: !secret amazon_pass
url: "amazon.com"
# - platform: spotify
# client_id: !secret spotify_client_id
# client_secret: !secret spotify_client_secret
# - platform: plex
# host: 192.168.2.212
# - platform: apple_tv
# host: 192.168.2.90
# login_id: !secret apple_hsgid
device_tracker:
- platform: owntracks
max_gps_accuracy: 200
- platform: unifi
host: 192.168.2.163
username: !secret unifi_username
password: !secret unifi_password
verify_ssl: False
- platform: geofency
# - platform: asuswrt
# host: 192.168.2.1
# protocol: telnet
# username: !secret asus_username
# password: !secret asus_password
telegram_bot:
platform: polling
api_key: !secret telegram_key
allowed_chat_ids:
- !secret telegram_chatID_Alok
hangouts:
notify:
- platform: ios
- platform: hangouts
name: alok_hangouts
default_conversations:
- id: !secret hangouts_alok
- platform: hangouts
name: rashmi_hangouts
default_conversations:
- id: !secret hangouts_rashmi
- platform: hangouts
name: parents_hangouts
default_conversations:
- id: !secret hangouts_rashmi
- id: !secret hangouts_alok
- platform: pushbullet
api_key: !secret pushbullet_key
name: pushbullet
- name: telegram
platform: telegram
api_key: !secret telegram_key
chat_id: !secret telegram_chatID_Alok
- platform: ecobee
name: ecobee
- platform: group
name: iOS
services:
- service: ios_alokiosiphone
- service: ios_rashmiappiphone
- platform: group
name: ios_abode_updates
services:
- service: ios_alokiosiphone
data:
title: 'Enable Abode updates?'
data:
push:
badge: 0
category: "abode_updates"
- platform: nfandroidtv
name: Shield
host: 192.168.2.28
- platform: command_line
name: 'Echo Dot'
command: "/home/homeassistant/.homeassistant/shell_scripts/alexa_wrapper.sh -d 'Echo Dot Gen2'"
# Log Severities: notset, debug, info, warn, warning, error, fatal, critical
logger:
default: error
logs:
homeassistant.components.image_processing: critical
homeassistant.components.camera.synology: critical
homeassistant.components.camera.generic: critical
homeassistant.components.sensor.wunderground: critical
homeassistant.components.sensor.pi_hole: critical
homeassistant.components.media_player.plex: critical
homeassistant.components.telegram_bot: critical
homeassistant.components.scene.lifx_cloud: critical
homeassistant.components.sensor.darksky: critical
pychromecast.socket_client: critical
aiohttp.access: critical
aiohttp.server: critical
haffmpeg.core: critical
pywemo.ouimeaux_device: critical
pywemo.ssdp: critical
homeassistant.helpers.entity: critical
custom_components.sensor.life360: critical
custom_components.alarm_control_panel: critical
homeassistant.components.http.ban: warning
homeassistant.components.python_script: warning
homeassistant.components.http.view: info
# Text to speech
tts:
- platform: google
cache: true
cache_dir: /home/homeassistant/.homeassistant/tts
time_memory: 300
# - platform: voicerss
# api_key: !secret voicerss_key
# - platform: amazon_polly
# aws_access_key_id: !secret aws_access_key_id
# aws_secret_access_key: !secret aws_secret_access_key
# text_type: ssml
# cache: True
remote:
- platform: harmony
name: livingroom
host: 192.168.2.152
google:
client_id: !secret gcal_client_id
client_secret: !secret gcal_client_secret
scene:
platform: lifx_cloud
token: !secret lifx_key
mqtt:
broker: 127.0.0.1
port: 1883
client_id: home-assistant-1
username: !secret mqtt_username
password: !secret mqtt_password
alexa:
dialogflow:
intent_script: !include intent_script.yaml
ios: !include ios.yaml
alert: !include alert.yaml
automation: !include automations.yaml
cover: !include cover.yaml
group: !include groups.yaml
script: !include scripts.yaml
sensor: !include sensor.yaml
switch: !include switches.yaml
binary_sensor: !include binary_sensor.yaml
input_select: !include input_select.yaml
input_boolean: !include input_boolean.yaml
input_number: !include input_number.yaml
input_text: !include input_text.yaml
frontend: !include frontend.yaml
recorder: !include recorder.yaml
logbook: !include logbook.yaml
history: !include history.yaml