-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
318 lines (281 loc) · 6.68 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
homeassistant:
#customize_glob:
# light.*:
# custom_ui_state_card: custom-ui
# cover.*:
# custom_ui_state_card: custom-ui
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 51.4622589
longitude: 0.003979
#latitude: 51.4833
#longitude: -0.0334
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 3
# 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: Europe/London
customize: !include customize.yaml
# Show links to resources in log and frontend
#introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
# hass.io
hassio:
http:
# Uncomment this to add a password (recommended!)
api_password: !secret http_api_password
# Uncomment this if you are using SSL or running in Docker etc
base_url: gollo.duckdns.org
trusted_networks:
- 192.168.0.0/24
- 127.0.0.1
- ::1
# Checks for available updates
# 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:
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:
# View all events in a logbook
logbook:
logger:
default: warn
logs:
homeassistant.components.hassio: debug
requests.packages.urllib3: critical
homeassistant.components.camera.mjpeg: critical
# Track the sun
sun:
# IFTTT
ifttt:
key: !secret ifttt_key
sensor:
# - platform: dht
# sensor: DHT22
# pin: 23
# monitored_conditions:
# - temperature
# - humidity
- platform: london_air
locations:
- Lewisham
# - platform: uk_transport
# app_id: !secret uk_transport_app_id:
# app_key: !secret aaffb8f1a9aeb35abbaab931bbc40b4f
# queries:
# - mode: train
# origin: BKH
# destination: LBG
# - mode: bus
# origin: 490005918E
# destination: 'P R Hospital'
# - platform: london_underground
# line:
# - Northern
- platform: plex
host: 192.168.0.11
port: 32400
username: !secret sensor_plex_username
password: !secret sensor_plex_password
- platform: metoffice
api_key: !secret sensor_metoffice_api_key
monitored_conditions:
- weather
- temperature
- feels_like_temperature
- wind_speed
- wind_direction
- wind_gust
- visibility
- visibility_distance
- uv
- precipitation
- humidity
# - platform: random
- platform: speedtest
minute:
- 0
- 15
- 30
- 45
monitored_conditions:
- ping
- download
- upload
- platform: pi_hole
host: 192.168.0.3
monitored_conditions:
- dns_queries_today
- ads_blocked_today
- ads_percentage_today
- domains_being_blocked
- queries_cached
- queries_forwarded
- unique_clients
- unique_domains
- platform: systemmonitor
resources:
- type: disk_use_percent
arg: /
- type: disk_use
arg: /
- type: disk_free
arg: /
- type: memory_use_percent
- type: memory_use
- type: memory_free
- type: swap_free
- type: swap_use
- type: swap_use_percent
- type: load_1m
- type: load_5m
- type: load_15m
- type: network_in
arg: eth0
- type: network_out
arg: eth0
- type: ipv4_address
arg: eth0
- type: processor_use
- type: last_boot
- type: since_last_boot
# - type: process
# arg: "/usr/bin/python3 -m homeassistant --config /config"
# Text to speech
tts:
platform: google
media_player:
- name: firestick-kodi
platform: kodi
host: 192.168.0.144
- name: firetv-kodi
platform: kodi
host: 192.168.0.145
- name: firestick
platform: firetv
device: firetvstick
- name: firetv
platform: firetv
device: firetv
- platform: plex
entity_namespace: 'plex'
include_non_clients: true
scan_interval: 5
show_all_controls: false
use_custom_entity_ids: true
use_episode_art: true
nest:
client_id: !secret nest_client_id
client_secret: !secret nest_client_secret
mqtt:
broker: 192.168.0.190
port: 1883
client_id: !secret mqtt_client_id
username: !secret mqtt_username
password: !secret mqtt_password
mqtt_statestream:
base_topic: homeassistant
publish_attributes: true
publish_timestamps: true
device_tracker:
# - platform: owntracks
# - platform: bluetooth_tracker
- platform: nmap_tracker
hosts: 192.168.0.1/24
home_interval: 30
zone:
name: Home
latitude: 51.4622589
longitude: 0.003979
radius: 150
telegram_bot:
- platform: broadcast
api_key: !secret telegram_bot_api_key
allowed_chat_ids:
- '22152713'
weather:
- platform: metoffice
api_key: !secret sensor_metoffice_api_key
#camera:
# - platform: rpi_camera
# name: raspberry
# file_path: /tmp/touched.jpg
camera:
- platform: mjpeg
name: Front Room
mjpeg_url: http://192.168.0.196/videostream.cgi
username: admin
password: !secret camera_mjpeg_password
- platform: mjpeg
name: Back Yard
mjpeg_url: http://192.168.0.170/videostream.cgi
username: admin
password: !secret camera_mjpeg_password
automation: !include automations.yaml
group: !include groups.yaml
script: !include scripts.yaml
notify:
- platform: nfandroidtv
name: firetv
host: 192.168.0.145
- platform: nfandroidtv
name: firetvstick
host: 192.168.0.144
- platform: html5
name: push
gcm_api_key: !secret html5_gcm_api_key
gcm_sender_id: !secret html5_gcm_sender_id
light:
- platform: tplink
host: 192.168.0.112
switch:
- platform: mqtt
name: Upstairs Lamp
state_topic: "home/livingroom/lamp/state"
command_topic: "home/livingroom/lamp/set"
payload_on: "ON"
payload_off: "OFF"
retain: false
- platform: tplink
host: 192.168.0.161
binary_sensor:
- platform: ping
host: 192.168.0.1
# Define input_slider
#input_slider:
# downstairs_brightness:
# name: Brightness
# initial: 255
# min: 0
# max: 255
# step: 1
climate:
- platform: nest
prometheus:
panel_iframe:
terminal:
title: Terminal
icon: mdi:console
url: http://192.168.0.190:7681
configurator:
title: Configurator
icon: mdi:wrench
url: http://192.168.0.190:3218
hdmi_cec:
platform: media_player
devices:
TV: 0.0.0.0
Chromecast: 4.0.0.0
FireTV: 3.0.0.0
FireTVStick: 1.0.0.0