-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfiguration.yaml
247 lines (221 loc) · 6.75 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
# These are from default_config, with the ones that I don't need
# commented out. It would be nice if the default_config: could have
# an exclude list, to stay in sync with the distributed defaults,
# but currently this is not possible.(I have seen talk about it as
# an implementation idea though.
#automation:
#cloud:
config:
#frontend:
#history:
logbook:
#map:
#mobile_app:
person:
#script:
#ssdp:
sun:
system_health:
updater:
#zeroconf:
# The home-assistant server lives behind a proxy.
http:
base_url: !secret http-proxy-base-url
use_x_forwarded_for: true
trusted_proxies: !secret http-proxy-ip-address
zwave:
# Run a polling cycle every 60 seconds. Z-Wave node entities can configure
# a polling intensity, which relates to this option. A polling intensity
# of 1 means "poll every minute", 10 means "poll every 10 minutes", etc.
polling_interval: 60000
shell_command:
beepbeep: ~/.homeassistant/bin/beepbeep
recorder:
db_url: postgresql://@/homeassistant
purge_keep_days: 1
purge_interval: 1
# include:
# domains:
# - switch
# - sensor
# - binary_sensor
# exclude:
# event_types:
# - call_service
# - state_changed
# - timer.cancelled
# - automation_trigered
# domains:
# - light
# entities:
# - switch.ambilite
# - sensor.date_time
# - sensor.time
# - sun.sun
# - sensor.gas_consumption
# - sensor.long_power_failure_count
# - sensor.power_consumption_low
# - sensor.power_consumption_normal
# - sensor.power_consumption_phase_l1
# - sensor.power_consumption_phase_l2
# - sensor.power_consumption_phase_l3
# - sensor.power_production
# - sensor.power_production_low
# - sensor.power_production_normal
# - sensor.power_production_phase_l1
# - sensor.power_production_phase_l2
# - sensor.power_production_phase_l3
# - sensor.power_tariff
# - sensor.voltage_phase_l1
# - sensor.voltage_phase_l2
# - sensor.voltage_phase_l3
# - sensor.voltage_sags_phase_l1
# - sensor.voltage_sags_phase_l2
# - sensor.voltage_sags_phase_l3
# - sensor.voltage_swells_phase_l1
# - switch.stekker_tvkast_rechts
# - switch.stekker_tvkast_rechts_2
# - switch.stekker_tvkast_links
# - switch.stekker_tvkast_links_2
# - sensor.dar_voorkant_gft
# - sensor.dar_voorkant_papier
# - sensor.dar_voorkant_restafval
# - sensor.dar_voorkant_vandaag
# - sensor.dar_voorkant_morgen
# - sensor.dar_zijkant_papier
# - sensor.dar_zijkant_vandaag
# - sensor.dar_zijkant_morgen
history:
include:
entities:
- sensor.licht_hal_plafond_power
- sensor.licht_voordeur_buiten_power
- sensor.stekker_tvkast_links_power
- sensor.stekker_tvkast_rechts_power
- sensor.koffiezetapparaat_power
logger:
#default: warn
default: info
# Expose a Prometheus metrics endpoint.
prometheus:
namespace: hass
filter:
include_entities:
- sensor.koffiezetapparaat_power
- sensor.power_consumption
- sensor.hourly_gas_consumption
- sensor.gas_consumption
- sensor.woonkamer_temperatuur
- sensor.badkamer_temperatuur
- sensor.gang_temperatuur
- sensor.hal_temperatuur
- sensor.voordeur_temperatuur
- sensor.tuindeuren_temperatuur
- sensor.trap_temperatuur
- sensor.toiletdeur_temperatuur
- sensor.stekker_tvkast_rechts_temperature
- sensor.stekker_tvkast_links_temperature
- sensor.slaapkamer_temperatuur
- sensor.keuken_temperatuur
- sensor.overloop_temperatuur
- sensor.hal_temperatuur
frontend:
themes: !include themes.yaml
# These must be included like stated here, in order to make
# it possible to edit these customizations through the GUI.
script: !include_dir_merge_named scripts/
scene: !include scenes.yaml
homeassistant:
# This one must be included like stated here, in order to make
# it possible to edit these customizations through the GUI.
customize: !include customize.yaml
auth_providers:
- type: homeassistant
- type: trusted_networks
allow_bypass_login: true
trusted_network:
- 192.168.100.0/25
trusted_users:
192.168.100.1: mauricem
192.168.100.2: mauricem
192.168.100.3: estherb
192.168.100.4: estherb
192.168.100.5: estherb
192.168.100.6: estherb
192.168.100.7: estherb
192.168.100.8: estherb
192.168.100.9: mauricem
192.168.100.10: mauricem
192.168.100.11: mauricem
192.168.100.12: mauricem
192.168.100.13: estherb
192.168.100.14: estherb
# Automation old is for manual automation files. The
# auomations.yaml is used for automations that are
# edited through the admin GUI.
automation: !include automations.yaml
automation old: !include_dir_merge_list automation
sensor: !include_dir_list sensors
binary_sensor: !include_dir_list binary_sensors
timer: !include_dir_merge_named timers
light: !include_dir_list lights
switch: !include_dir_list switches
fritzbox:
devices:
- host: !secret fritzbox-host
username: !secret fritzbox-home-assistant-username
password: !secret fritzbox-home-assistant-password
media_player:
- platform: braviatv
host: !secret braviatv-ip-address
# Experiment to link the iTV set top box, but can't get it
# to work at this moment (or possibly ever).
#device_tracker:
# - platform: bluetooth_le_tracker
# track_new_devices: true
proximity:
maurice:
ignored_zones:
- home
devices:
- device_tracker.owntracks_maurice
tolerance: 50
unit_of_measurement: km
shopping_list:
input_select: !include_dir_merge_named input_select
input_boolean: !include_dir_merge_named input_boolean
mqtt:
broker: !secret mosquitto-host
port: !secret mosquitto-port
username: !secret mosquitto-username
password: !secret mosquitto-password
discovery: true
discovery_prefix: homeassistant
birth_message:
topic: 'homeassistant/status'
payload: 'online'
will_message:
topic: 'homeassistant/status'
payload: 'offline'
# Running into av dependency issues:
# https://github.com/home-assistant/home-assistant/issues/26251
# https://github.com/home-assistant/home-assistant/issues/26711
# Fix:
# $ sudo apt-get install -y python-dev pkg-config libavformat-dev \
# libavcodec-dev libavdevice-dev libavutil-dev libswscale-dev \
# libavresample-dev libavfilter-dev
# $ hacheckconf
#camera:
# - platform: mqtt
# unique_id: ambilite
# name: ambilite
# topic: homeassistant/switch/ambilite/television
# - platform: mqtt
# unique_id: settopbox
# name: settopbox
# topic: homeassistant/switch/ambilite/settopbox
panel_custom:
- name: zwavegraph2
sidebar_title: Z-Wave Graph
sidebar_icon: mdi:access-point-network
url_path: zwave