-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
executable file
·268 lines (212 loc) · 5.62 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
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: 112
# 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: !secret timezone
# Customization file
customize: !include customize.yaml
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: !secret my_base_url
# ssl_certificate: /ssl/fullchain.pem
# ssl_key: /ssl/privkey.pem
# Show links to resources in log and frontend
#introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
hassio:
# 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:
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
# Text to speech
tts:
- platform: google_translate
service_name: google_say
# Cloud
cloud:
# system health
system_health:
# recorder:
########################################################
#
# MQTT
#
########################################################
mqtt:
broker: !secret mqtt_broker
port: !secret mqtt_port
client_id: homeassistant
keepalive: 60
username: !secret mqtt_user
password: !secret mqtt_password
# birth_message:
# topic: 'hass/status'
# payload: 'online'
# will_message:
# topic: 'hass/status'
# payload: 'offline'
########################################################
#
# influxdb
#
########################################################
influxdb:
host: !secret influxdb_host
port: !secret influxdb_port
username: !secret influxdb_user
password: !secret influxdb_password
database: !secret influxdb_database
max_retries: 3
default_measurement: state
########################################################
#
# GUI: using lovelace
#
########################################################
lovelace:
# mode: yaml
########################################################
#
# Homematic
#
########################################################
# homematic:
# interfaces:
# rf:
# #host: 127.0.0.1
# host: !secret ip_address
# resolvenames: json
# port: 2001
########################################################
#
# Weather forecast
#
########################################################
# Track the sun
sun:
weather:
- platform: darksky
api_key: !secret darksky_api
mode: daily
########################################################
#
# panel_iframe
#
########################################################
# panel_iframe:
# configurator:
# title: Configurator
# icon: mdi:wrench
# url: !secret my_config_url
# # router
# router:
# title: 'Router'
# icon: mdi:router-wireless
# url: !secret router_url
# # Grafana (access from a tab in HA)
# grafana:
# title: 'Grafana'
# #icon: mdi:chart-timeline
# icon: mdi:chart-line
# url: !secret grafana_url
# # influxDB
# influxdb:
# title: 'InfluxDB'
# #icon: mdi:chart-areaspline
# icon: mdi:database-check
# url: !secret influx_url
########################################################
#
# device tracker
#
########################################################
device_tracker:
- platform: fritz
interval_seconds: 30
consider_home: 180
new_device_defaults:
track_new_devices: true
########################################################
# Speedtest.net
########################################################
speedtestdotnet:
scan_interval:
hours: 1
minutes: 30
monitored_conditions:
- ping
- download
- upload
########################################################
#
# History / Recorder
#
########################################################
# history_graph:
# graph1:
# name: Heating
# entities:
# - sensor.heizung_vl
# - sensor.heizung_rl
# hours_to_show: 48
# refresh: 60
########################################################
#
# Configuration files
#
########################################################
sensor: !include sensors.yaml
light: !include lights.yaml
group: !include_dir_merge_list groups
automation: !include_dir_merge_list automation
input_boolean: !include input_boolean.yaml
person: !include person.yaml
#script: !include scripts.yaml
#script: !include_dir_named scripts
#device_tracker: !include devices_trackers.yaml
#camera: !include cameras
#sensor: !include_dir_merge_list sensors
#media_player: !include media_players.yaml
#scene: !include scenes.yaml
#notify: !include notify.yaml
########################################################
#
# ZONES
#
########################################################
zone 1:
name: Home
latitude: !secret home_latitude
longitude: !secret home_longitude
radius: 100
icon: mdi:home
zone 2:
name: JD@Work
latitude: !secret work_latitude
longitude: !secret work_longitude
radius: 500
icon: mdi:briefcase