· 8 years ago · Mar 16, 2018, 04:34 AM
1homeassistant:
2 # Name of the location where Home Assistant is running
3 name: Home
4 # Location required to calculate the time the sun rises and sets
5 latitude: 99.999
6 longitude: -99.999
7 # Impacts weather/sunrise data (altitude above sea level in meters)
8 elevation: 224
9 # metric for Metric, imperial for Imperial
10 unit_system: imperial
11 # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
12 time_zone: America/New_York
13 # Customization file
14 customize: !include customize.yaml
15
16# Show links to resources in log and frontend
17introduction:
18
19# Enables the frontend
20frontend:
21 themes:
22 dark_theme:
23 # Main colors
24 primary-color: '#5294E2' # Header
25 accent-color: '#E45E65' # Accent color
26 dark-primary-color: 'var(--accent-color)' # Hyperlinks
27 light-primary-color: 'var(--accent-color)' # Horizontal line in about
28 # Text colors
29 primary-text-color: '#FFFFFF' # Primary text colour, here is referencing dark-primary-color
30 text-primary-color: 'var(--primary-text-color)' # Primary text colour
31 secondary-text-color: '#5294E2' # For secondary titles in more info boxes etc.
32 disabled-text-color: '#7F848E' # Disabled text colour
33 label-badge-border-color: 'green' # Label badge border, just a reference value
34 # Background colors
35 primary-background-color: '#383C45' # Settings background
36 secondary-background-color: '#383C45' # Main card UI background
37 divider-color: 'rgba(0, 0, 0, .12)' # Divider
38 # Table rows
39 table-row-background-color: '#353840' # Table row
40 table-row-alternative-background-color: '#3E424B' # Table row alternative
41 # Nav Menu
42 paper-listbox-color: '#5294E2' # Navigation menu selection hoover
43 paper-listbox-background-color: '#2E333A' # Navigation menu background
44 paper-grey-50: 'var(--primary-text-color)'
45 paper-grey-200: '#414A59' # Navigation menu selection
46 # Paper card
47 paper-card-header-color: 'var(--accent-color)' # Card header text colour
48 paper-card-background-color: '#434954' # Card background colour
49 paper-dialog-background-color: '#434954' # Card dialog background colour
50 paper-item-icon-color: 'var(--primary-text-color)' # Icon color
51 paper-item-icon-active-color: '#F9C536' # Icon color active
52 paper-item-icon_-_color: 'green'
53 paper-item-selected_-_background-color: '#434954' # Popup item select
54 paper-tabs-selection-bar-color: 'green'
55 # Labels
56 label-badge-red: 'var(--accent-color)' # References the brand colour label badge border
57 label-badge-text-color: 'var(--primary-text-color)' # Now same as label badge border but that's a matter of taste
58 label-badge-background-color: '#2E333A' # Same, but can also be set to transparent here
59 # Switches
60 paper-toggle-button-checked-button-color: 'var(--accent-color)'
61 paper-toggle-button-checked-bar-color: 'var(--accent-color)'
62 paper-toggle-button-checked-ink-color: 'var(--accent-color)'
63 paper-toggle-button-unchecked-button-color: 'var(--disabled-text-color)'
64 paper-toggle-button-unchecked-bar-color: 'var(--disabled-text-color)'
65 paper-toggle-button-unchecked-ink-color: 'var(--disabled-text-color)'
66 # Sliders
67 paper-slider-knob-color: 'var(--accent-color)'
68 paper-slider-knob-start-color: 'var(--accent-color)'
69 paper-slider-pin-color: 'var(--accent-color)'
70 paper-slider-active-color: 'var(--accent-color)'
71 paper-slider-container-color: 'linear-gradient(var(--primary-background-color), var(--secondary-background-color)) no-repeat'
72 paper-slider-secondary-color: 'var(--secondary-background-color)'
73 paper-slider-disabled-active-color: 'var(--disabled-text-color)'
74 paper-slider-disabled-secondary-color: 'var(--disabled-text-color)'
75 # Google colors
76 google-red-500: '#E45E65'
77 google-green-500: '#39E949'
78
79# Enables configuration UI
80config:
81
82http:
83 # Secrets are defined in the file secrets.yaml
84 # api_password: !secret
85 # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
86 # base_url: example.duckdns.org:8123
87
88# Checks for available updates
89# Note: This component will send some information about your system to
90# the developers to assist with development of Home Assistant.
91# For more information, please see:
92# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
93updater:
94 # Optional, allows Home Assistant developers to focus on popular components.
95 # include_used_components: true
96
97# Discover some devices automatically
98discovery:
99
100# Allows you to issue voice commands from the frontend in enabled browsers
101conversation:
102
103# Enables support for tracking state changes over time
104history:
105
106# View all events in a logbook
107logbook:
108
109# Enables a map showing the location of tracked devices
110map:
111
112# Track the sun
113sun:
114
115# Weather prediction
116sensor:
117 platform: yr
118 monitored_conditions:
119 - temperature
120 - symbol
121 - precipitation
122 - windSpeed
123 - pressure
124 - windDirection
125 - humidity
126 - fog
127 - cloudiness
128 - lowClouds
129 - mediumClouds
130 - highClouds
131 - dewpointTemperature
132
133# Text to speech
134tts:
135 - platform: google
136
137group: !include groups.yaml
138automation: !include automations.yaml
139script: !include scripts.yaml
140notify:
141 - platform: nfandroidtv
142 name: Master Bedroom
143 host: 192.168.0.107
144
145sensor SpeedTest:
146 - platform: speedtest
147 monitored_conditions:
148 - ping
149 - download
150 - upload
151
152sensor TravelTime:
153 - platform: google_travel_time
154 api_key: !secret
155 name: Home to Work
156 origin: ******
157 destination: ******
158
159sensor HaveIBeenPWND:
160 platform: haveibeenpwned
161 email:
162 - ******@gmail.com
163 - ******@gmail.com
164 - ********@outlook.com
165 - ********@gmail.com
166
167google:
168 client_id: *********
169 client_secret: *******
170
171android_ip_webcam 1:
172 - host: 192.168.0.104
173 port: 8080
174 name: Alpha
175 username: Alpha
176 password: !secret
177 sensors:
178 - audio connections
179 - Battery_level
180 - Battery_temp
181 - Battery_voltage
182 - light
183 - motion
184 - pressure
185 switches:
186 - focus
187 - night_vision
188 - torch
189 - video_recording
190
191android_ip_webcam 2:
192 - host: 192.168.0.108
193 port: 8080
194 name: Beta
195 username: Beta
196 password: !secret
197 sensors:
198 - audio connections
199 - Battery_level
200 - Battery_temp
201 - Battery_voltage
202 - light
203 - motion
204 - pressure
205 switches:
206 - focus
207 - night_vision
208 - torch
209 - video_recording
210
211android_ip_webcam 3:
212 - host: 192.168.0.112
213 port: 8080
214 name: Theta
215 username: Theta
216 password: !secret
217 sensors:
218 - audio connections
219 - Battery_level
220 - Battery_temp
221 - Battery_voltage
222 - light
223 - motion
224 - pressure
225 switches:
226 - focus
227 - night_vision
228 - torch
229 - video_recording
230
231android_ip_webcam 4:
232 - host: 192.168.0.117
233 port: 8080
234 name: Delta
235 username: Delta
236 password: !secret
237 sensors:
238 - audio connections
239 - Battery_level
240 - Battery_level
241 - Battery_voltage
242 - light
243 - motion
244 - pressure
245 switches:
246 - focus
247 - night_vision
248 - torch
249 - video_recording
250
251panel_iframe:
252 - configurator:
253 title: Configurator
254 icon: mdi:wrench
255 url: http://192.168.0.100:3128
256 - terminal:
257 title: Terminal
258 icon: mdi:console-line
259 url: http://192.168.0.100:7681
260
261sensor uptime:
262 - platform: uptime
263
264sensor season:
265 - platform: season
266 type: astronomical
267
268sensor clockspeed:
269 - platform: cpuspeed
270
271sensor battery:
272 - platform: linux_battery
273
274sensor pihole:
275 - platform: pi_hole
276
277binary_sensor:
278 - platform: iss
279 show_on_map: false
280
281camera:
282 - platform: generic
283 name: ISS
284 still_image_url: https://maps.googleapis.com/maps/api/staticmap?center={{ states.binary_sensor.iss.attributes.lat }},{{ states.binary_sensor.iss.attributes.long }}&zoom=5&size=500x500&maptype=roadmap&markers=color:blue%7Clabel:P%7C{{ states.binary_sensor.iss.attributes.lat }},{{ states.binary_sensor.iss.attributes.long }}
285 limit_refetch_to_url_change: true
286
287sensor crypto_currency:
288 - platform: coinmarketcap
289
290
291sensor West coast time:
292 - platform: worldclock
293 time_zone: America/Los_Angeles
294
295sensor Overhead flights:
296 - platform: opensky
297 radius: 50
298
299sensor Moon Phase:
300 - platform: moon
301
302
303sensor lyft_rates:
304 - platform: lyft
305 client_id: ******
306 client_secret: *****
307 start_latitude: 99.9999
308 start_longitude:99.9999
309 end_latitude: 99.9999
310 end_longitude: 99.99999
311 product_ids: lyft
312
313zone 1:
314 name: Home
315 latitude: 99.99999
316 longitude: 99.99999
317 radius: 75
318 icon: mdi:house-variant
319
320zone 2:
321 name: Work
322 latitude: 99.9999
323 longitude: 99.9999
324
325zone 3:
326 name: !
327 latitude: 00.000
328 longitude: -00.00000
329 radius: 75
330 icon: mdi:house-variant
331
332media_player:
333 - platform: roku
334
335zwave:
336 usb_path: /dev/ttyACM0
337
338device_tracker:
339 - platform: nmap_tracker
340 hosts: 192.168.1.0/24
341
342alarmdecoder:
343 device:
344 type: serial
345 baudrate: '115200'
346 panel_display: On
347 zones:
348 '01':
349 name: 'Garage Door'
350 type: 'opening'
351 '02':
352 name: 'Front Door'
353 type: 'opening'
354 '03':
355 name: 'Kitchen Door'
356 type: 'opening'
357 '04':
358 name: 'Service Door'
359 type: 'opening'
360 '06':
361 name: 'Motion Sensor'
362 type: 'motion'