-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
319 lines (281 loc) · 7.04 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
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 home_latitude
longitude: !secret home_longitude
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 1045
# 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: America/Edmonton
# Customization file
customize: !include customize.yaml
# Enables the frontend
frontend:
# Enables configuration UI
config:
map:
#mqtt:
# broker: !secret mqtt_broker
# port: !secret mqtt_port
# username: !secret mqtt_user
# password: !secret mqtt_pass
http:
# Uncomment this to add a password (recommended!)
api_password: !secret password
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
base_url: !secret base_url
ssl_certificate: !secret ssl_certificate
ssl_key: !secret ssl_key
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# 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:
# Enables support for tracking state changes over time
history:
exclude:
entities:
- sensor.time
- sensor.hour
- sensor.moon
- sensor.ring_front_door_last_activity
- sensor.ring_front_door_last_ding
- sensor.ring_front_door_last_motion
- sensor.season
- sensor.dark_sky_daily_summary
- sensor.dark_sky_hourly_summary
- sensor.dark_sky_icon
- sensor.dark_sky_summary
- group.shades_elevation
domains:
- switch
- automation
- updater
include:
domains:
- group
- sensor
- media_player
entities:
- switch.recirc_pump
# View all events in a logbook
logbook:
# Track the sun
sun:
python_script:
sensor: !include sensors.yaml
tts:
- platform: google
cache: true
- platform: yandextts
voice: oksana
emotion: good
api_key: !secret yandex_key
group: !include groups.yaml
automation: !include_dir_merge_list automations/
script: !include_dir_named scripts/
device_tracker:
# - platform: owntracks
# max_gps_accuracy: 100
- platform: netgear
host: !secret netgear_host
username: !secret netgear_user
password: !secret netgear_pass
- platform: nmap_tracker
hosts:
- !secret yulia_ip
- !secret egor_ip
zone:
- name: Home
latitude: !secret home_latitude
longitude: !secret home_longitude
radius: 100
icon: mdi:home
- name: Work
latitude: !secret work_latitude
longitude: !secret work_longitude
icon: mdi:worker
- name: Parents
latitude: !secret parents_latitude
longitude: !secret parents_longitude
- name: Cooper
latitude: !secret cooper_latitude
longitude: !secret cooper_longitude
- name: Moroz
latitude: !secret moroz_latitude
longitude: !secret moroz_longitude
envisalink:
host: !secret envisalink_host
panel_type: DSC
user_name: !secret envisalink_user
password: !secret envisalink_pass
code: !secret envisalink_code
port: 4025
evl_version: 4
panic_type: Police
zones:
1:
name: 'Foyer MD'
type: 'motion'
2:
name: 'Dining Room MD'
type: 'motion'
3:
name: 'Great Room MD'
type: 'motion'
4:
name: 'Media Room MD 1'
type: 'motion'
5:
name: 'Media Room MD 2'
type: 'motion'
6:
name: 'Mudroom MD'
type: 'motion'
7:
name: 'Mech Room MD'
type: 'motion'
partitions:
1:
name: 'Home Alarm'
ring:
username: !secret ring_user
password: !secret ring_pass
binary_sensor: !include binary_sensors.yaml
ecobee:
api_key: !secret ecobee_api_key
camera:
- platform: generic
still_image_url: http://xeoma.local/front.jpg
name: Front
- platform: generic
still_image_url: http://xeoma.local/back.jpg
name: Back
- platform: generic
still_image_url: http://xeoma.local/garage.jpg
name: Garage
- platform: generic
still_image_url: http://xeoma.local/backyard.jpg
name: Back Yard
- platform: generic
still_image_url: http://trafficcam.calgary.ca/loc15.jpg
name: Glenmore/Crowchild SW
cover:
- platform: myq
username: !secret myq_user
password: !secret myq_pass
type: liftmaster
media_player:
- platform: plex
entity_namespace: plex
show_all_controls: True
- platform: monoprice
port: /dev/ttyUSB0
zones:
11:
name: Loft
12:
name: Master Bedroom
13:
name: Ensuite
14:
name: Living Room
15:
name: Kitchen/Dining Room
16:
name: Art Room
sources:
1:
name: Computer Egor
5:
name: Chromecast Egor
logger:
default: info
input_select:
# Current automation mode
# Normal - normal day to day life, work etc.
# On Vacation - nobody is at home for a long period of time
# Have guests - we have guests staying over
system_mode:
name: House Mode
options:
- Normal
- On vacation
- Have guests
initial: Normal
telegram_bot:
- platform: polling
api_key: !secret telegram_api_key
allowed_chat_ids:
- !secret telegram_chat_id
notify:
- name: telegram_egor
platform: telegram
chat_id: !secret telegram_chat_id
- name: ecobee
platform: ecobee
isy994:
host: !secret isy_host
username: !secret isy_user
password: !secret isy_pass
scene:
platform: hunterdouglas_powerview
address: !secret powerview_address
alert:
low_temperature:
name: House temperature is dangerously low!
done_message: Temperature is back to normal.
entity_id: binary_sensor.low_temperature
can_acknowledge: False
repeat: 30
notifiers:
- telegram_egor
- ecobee
ssl_certificate:
name: 'Warning - SSL certificate expires in 21 days and has not been automatically renewed'
done_message: SSL Certificate renewed!
entity_id: binary_sensor.ssl_expiring_soon
repeat: 1440 # 1 day
can_acknowledge: False
notifiers:
- telegram_egor
garage_door:
name: Garage door is open
done_message: Garage door is closed
entity_id: cover.garage_door
state: 'open'
repeat: 5
can_acknowledge: True
skip_first: True
notifiers:
- telegram_egor
- ecobee
input_boolean:
mudroom_light:
name: Mudroom light has turned on automatically
initial: off
input_number:
close_shades_elevation:
name: Closing shades Sun elevation
initial: -0.5
min: -10
max: 10
step: 0.1
mode: box
open_shades_elevation:
name: Opening shades Sun elevation
initial: 2.5
min: -10
max: 10
step: 0.1
mode: box