-
Notifications
You must be signed in to change notification settings - Fork 12
/
integration_sensors.yaml
318 lines (287 loc) · 7.66 KB
/
integration_sensors.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
# - platform: airvisual
# api_key: !secret airvisual_key
# monitored_conditions:
# - us
- platform: darksky
api_key: !secret darksky_key
scan_interval:
minutes: 12
forecast:
- 0
hourly_forecast:
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
monitored_conditions:
- temperature_high
- temperature_low
- apparent_temperature_high
- apparent_temperature_low
- summary
- icon
- nearest_storm_distance
- precip_type
- precip_intensity
- precip_probability
- temperature
- apparent_temperature
- dew_point
- wind_speed
- wind_bearing
- wind_gust
- cloud_cover
- humidity
- pressure
- visibility
- ozone
- minutely_summary
- hourly_summary
- daily_summary
- platform: imap_email_content
server: imap.gmail.com
name: cp_packages_coming_today
port: 993
username: !secret gmail_uname
password: !secret hass_pass
senders:
- !secret my_email
- !secret wife_email
value_template: >-
{% if 'Informace o Vaší zásilce' in subject %}
Delivery
{% elif 'reset state of package sensor' in subject %}
no_delivery
{% endif %}
- platform: imap_email_content
server: imap.gmail.com
name: dpd_packages_coming_today
port: 993
username: !secret gmail_uname
password: !secret hass_pass
senders:
- !secret my_email
- !secret wife_email
value_template: >-
{% if 'Dnes Vám' in subject %}
Delivery
{% elif 'reset state of package sensor' in subject %}
no_delivery
{% endif %}
- platform: imap_email_content
server: imap.gmail.com
name: dhl_packages_coming_today
port: 993
username: !secret gmail_uname
password: !secret hass_pass
senders:
- !secret my_email
- !secret wife_email
value_template: >-
{% if 'DHL On Demand Delivery' in subject %}
Delivery
{% elif 'reset state of package sensor' in subject %}
no_delivery
{% endif %}
- platform: imap_email_content
server: imap.gmail.com
name: gls_packages_coming_today
port: 993
username: !secret gmail_uname
password: !secret hass_pass
senders:
- !secret my_email
- !secret wife_email
value_template: >-
{% if 'Informace o času doručení balíku' in subject %}
Delivery
{% elif 'reset state of package sensor' in subject %}
no_delivery
{% endif %}
- platform: imap_email_content
server: imap.gmail.com
name: house_electricity
port: 993
username: !secret gmail_uname
password: !secret hass_pass
senders:
- !secret my_email
value_template: >-
{% if 'UPS On Battery' in subject %}
power_out
{% elif 'Power Restored' in subject %}
power_on
{% endif %}
# - platform: gtfs
# name: transport
# origin: U49Z4
# destination: U484Z2
# data: jrdata.zip
# - platform: gtfs_realtime
# trip_update_url: 'http://opendata.iprpraha.cz/DPP/JR/jrdata.zip'
# departures:
# - name: transit
# route: 5
# stopid: U49N198
# - platform: waze_travel_time
# origin: !secret home_address
# destination: !secret work_address
# region: 'EU'
# name: Driving Time to Work
- platform: waze_travel_time
origin: device_tracker.sean_s_iphone_x
destination: zone.home
region: 'EU'
name: Sean Driving Time to Home
- platform: waze_travel_time
origin: device_tracker.alena_s_iphone
destination: zone.home
region: 'EU'
name: Alena Driving Time to Home
- platform: waze_travel_time
origin: device_tracker.sophie
destination: zone.home
region: 'EU'
name: Sophie Driving Time to Home
- platform: google_travel_time
api_key: !secret google_travel_key
origin: device_tracker.sean_s_iphone_x
destination: zone.home
name: Sean Tram Time to Home
options:
mode: transit
- platform: google_travel_time
api_key: !secret google_travel_key
origin: device_tracker.sophie
destination: zone.home
name: Sophie Tram Time to Home
options:
mode: transit
# - platform: google_travel_time
# api_key: !secret google_travel_key
# origin: zone.home
# destination: zone.work
# name: Sean Tram Time to Work
# options:
# mode: transit
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /
- type: disk_free
arg: /
- type: memory_use_percent
- type: load_15m
- type: processor_use
# - platform: deluge
# host: !secret deluge_ip
# username: !secret deluge_uname
# password: !secret deluge_pw
# monitored_variables:
# - 'current_status'
# - 'download_speed'
# - 'upload_speed'
# - name: Right Human Detection
# platform: mqtt
# state_topic: "cameras/1/objects"
# value_template: '{{ value_json.person }}'
# unit_of_measurement: '%'
# availability_topic: "cameras/1/available"
#
# - name: Left Human Detection
# platform: mqtt
# state_topic: "cameras/2/objects"
# value_template: '{{ value_json.person }}'
# unit_of_measurement: '%'
# availability_topic: "cameras/2/available"
#
# - name: Front Human Detection
# platform: mqtt
# state_topic: "cameras/3/objects"
# value_template: '{{ value_json.person }}'
# unit_of_measurement: '%'
# availability_topic: "cameras/3/available"
#
# - name: Back Human Detection
# platform: mqtt
# state_topic: "cameras/4/objects"
# value_template: '{{ value_json.person }}'
# unit_of_measurement: '%'
# availability_topic: "cameras/4/available"
# - platform: smartthinq_washer
# name: LG_Washer
# mac: !secret lg_washer_mac
- name: Alarm State 1 - Laundry
platform: mqtt
state_topic: 'paradox/alarm/state/1'
- name: Alarm State 2 - 1st Floor
platform: mqtt
state_topic: 'paradox/alarm/state/2'
- name: Alarm State 3 - Motion Sensors
platform: mqtt
state_topic: 'paradox/alarm/state/3'
- name: Home Air Quality
platform: file
file_path: "/share/Latest_AirVisual_values.txt"
value_template: '{{ value.split(";")[4] }}'
unit_of_measurement: 'AQI'
- name: Hlubocepy Air Quality
platform: file
file_path: "/share/Latest_AirVisual_Hlu_values.txt"
value_template: '{{ value.split(";")[4] }}'
unit_of_measurement: 'AQI'
# - platform: synologydsm
# name: discworld
# host: !secret synology_ip
# username: !secret syn_uname
# password: !secret hass_pass
# monitored_conditions:
# - cpu_total_load
# - memory_real_usage
# - network_up
# - network_down
# - disk_smart_status
# - volume_percentage_used
- platform: here_travel_time
name: transport_time_to_work
mode: publicTransportTimeTable
traffic_mode: true
app_id: !secret here_app_id
app_code: !secret here_app_code
origin: !secret home_lat_long
destination: !secret work_lat_long
unit_system: metric
scan_interval: 60
- platform: ical
name: "Czech Holidays"
url: "https://www.officeholidays.com/ics-clean/czech-republic"
- platform: ical
name: "Parklane Calendar"
url: !secret parklane_calendar
- platform: home_connect
refresh_token: !secret homeconnect_refresh_token
- platform: rest
name: Frigate Debug
resource: !secret frigate_url
scan_interval: 5
json_attributes:
- back
- front
- left
- right
- coral
value_template: 'OK'
- platform: command_line
name: narnia_mdstat
command: "cat /proc/mdstat"
scan_interval: 3600