forked from cchiapusio/home-assistant-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
292 lines (247 loc) · 7.58 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
####################################################
# #
# HOME ASSISTANT #
# #
####################################################
# https://home-assistant.io/docs/configuration/basic/
homeassistant:
name: Home
latitude: !secret home_lat
longitude: !secret home_long
elevation: 1227
unit_system: imperial
time_zone: America/New_York
auth_providers:
- type: legacy_api_password
api_password: !secret api_password
- type: trusted_networks
trusted_networks:
- 172.17.0.0/24
- 192.168.10.0/24
- type: homeassistant
customize:
person.chip:
entity_picture: !secret profile_photo_chip
person.cindy:
entity_picture: !secret profile_photo_cindy
person.tori:
entity_picture: !secret profile_photo_tori
####################################################
# #
# GENERAL #
# #
####################################################
# https://home-assistant.io/components/config/
config:
#https://www.home-assistant.io/components/mobile_app/
mobile_app:
# https://www.home-assistant.io/hassio/
#hassio:
# https://home-assistant.io/components/history/
history:
# https://www.home-assistant.io/integrations/recorder/
recorder:
purge_keep_days: 21
exclude:
entities:
- sun.sun
- sensor.last_boot
# https://home-assistant.io/components/http/
http:
# Secrets are defined in the file secrets.yaml
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
base_url: !secret base_url_secret
ip_ban_enabled: true
login_attempts_threshold: 2
# https://home-assistant.io/components/logger/
logger:
default: info
# logs:
# aiounifi: debug
# homeassistant.components.unifi: debug
# homeassistant.components.device_tracker.unifi: debug
# homeassistant.components.switch.unifi: debug
# https://home-assistant.io/components/sun/
sun:
# https://www.home-assistant.io/components/system_health/
system_health:
####################################################
# #
# LINKS TO INDIVUAL CONFIGURATION FILES #
# #
####################################################
# https://home-assistant.io/docs/configuration/splitting_configuration/
zone: !include includes/zones.yaml
device_tracker: !include device_tracker.yaml
group: !include groups.yaml
script: !include scripts.yaml
automation: !include_dir_merge_list includes/automation
scene: !include_dir_merge_list includes/scene
notify: !include notification.yaml
light: !include lights.yaml
sensor: !include_dir_merge_list includes/sensors
binary_sensor: !include binary_sensor.yaml
media_player: !include media_player.yaml
person: !include includes/person.yaml
# https://www.home-assistant.io/integrations/stream
stream:
# https://www.home-assistant.io/integrations/camera/
camera: !include camera.yaml
# https://www.home-assistant.io/integrations/webostv/
webostv:
host: 192.168.10.20
# https://www.home-assistant.io/integrations/directv/
directv:
host: 192.168.10.22
# https://www.home-assistant.io/integrations/influxdb/
influxdb:
host: 192.168.10.4
database: home_assistant
username: !secret influx_user
password: !secret influx_pass
ssl: false
# https://www.home-assistant.io/integrations/frontend/
frontend:
javascript_version: latest
themes: !include_dir_merge_named themes
# https://www.home-assistant.io/integrations/cloud/
cloud:
# https://www.home-assistant.io/integrations/google_assistant/
google_assistant:
project_id: home-assistant-integrati-72eed
# api_key: !secret google_assistant_api
exposed_domains:
- switch
- light
- cover
- group
- scene
expose_by_default: true
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
include_used_components: true
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# https://www.home-assistant.io/components/tts/Text to speech
tts:
- platform: google_translate
service_name: google_say
#https://www.home-assistant.io/components/mqtt/
mqtt:
broker: 192.168.10.4
username: !secret mqtt_username
password: !secret mqtt_password
discovery: true
discovery_prefix: homeassistant
#https://www.home-assistant.io/components/tplink/
tplink:
discovery: true
light:
- host: 192.168.10.205 # office-lamp
- host: 192.168.10.201 # desk-lamp
switch:
- host: 192.168.10.203 # desk-lights
- host: 192.168.10.204 # curio-cabinets
- host: 192.168.10.206 # catroom-lamp
- host: 192.168.10.207 # gecko-lights1
- host: 192.168.10.208 # eddies-mister
#https://www.home-assistant.io/components/eufy/
eufy:
username: !secret eufy_username
password: !secret eufy_password
devices:
- address: 192.168.10.202
access_token: !secret eufy_access_token
type: T1201
name: AC Unit
#https://www.home-assistant.io/components/panel_iframe/
#https://community.home-assistant.io/t/node-red-flow-examples/83644
panel_iframe:
nodered:
title: 'Node-Red'
icon: 'mdi:shuffle-variant'
url: 'http://192.168.10.4:1880/'
tasmoadmin:
title: 'TasmoAdmin'
icon: mdi:lightbulb-on
url: http://192.168.10.4:9541
#https://community.home-assistant.io/t/custom-component-hacs/121727
hacs:
token: !secret github_token
theme: true
#https://www.home-assistant.io/components/life360/
life360:
accounts:
username: !secret life360_username
password: !secret life360_password
show_as_state: [driving, moving]
#https://www.home-assistant.io/integrations/unifi/
#unifi:
# controllers:
# - host: 192.168.10.24
# site: Chiapusio Home
# ssid_filter:
# - 'chip'
timer:
alert:
duration: '00:00:10'
5m:
duration: '00:05:00'
late_tori:
duration: '00:15:00'
####################################################
# #
# SPEETEST #
# #
####################################################
#https://www.home-assistant.io/components/speedtestdotnet/
#speedtestdotnet:
# scan_interval:
# minutes: 60
# monitored_conditions:
# - ping
# - download
# - upload
# server_id: 5028
##
## https://www.home-assistant.io/integrations/calendar.google/
##
google:
client_id: !secret google_oauth_user
client_secret: !secret google_oauth_pass
# https://github.com/joshjcarrier/homeassistant-litter-robot
litter_robot:
username: !secret litter_robot_user
password: !secret litter_robot_pass
# https://www.home-assistant.io/integrations/weather.darksky/
weather:
- platform: darksky
api_key: !secret darksky_api2
latitude: !secret home_lat
longitude: !secret home_long
# https://github.com/bruxy70/Garbage-Collection
garbage_collection:
sensors:
- name: garbage
frequency: weekly
verbose_state: True
verbose_format: "{days} days"
move_country_holidays: US
collection_days:
- wed
- name: recycling
frequency: every-n-weeks
verbose_state: True
verbose_format: "{days} days"
period: 2
first_week: 2
move_country_holidays: US
collection_days:
- wed
# https://www.home-assistant.io/integrations/spotify/
spotify:
client_id: !secret spotify_client_id
client_secret: !secret spotify_client_secret