/
configuration.yaml
232 lines (185 loc) · 4.84 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
homeassistant:
# Location required to calculate the time the sun rises and sets
latitude: !secret latitude
longitude: !secret longitude
elevation: 47
unit_system: metric
# Pick yours from here:
# http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/Oslo
# Name of the location where Home Assistant is running
name: _
customize: !include customize.yaml
packages: !include_dir_named packages
frontend:
updater:
include_used_components: true
config:
http:
api_password: !secret http_password
# Set to 1 to enable development mode
# development: 1
#sessions_enabled: 0
trusted_networks:
# - 127.0.0.1
- 192.168.80.0/24
- 192.168.1.0/24
ip_ban_enabled: True
login_attempts_threshold: 5
# ssl_certificate: !secret ssl_certificate
# ssl_key: !secret ssl_key
# base_url: !secret base_url
recorder:
purge_interval: 10
purge_keep_days: 10
db_url: !secret db_url
logbook:
logger:
default: warning
logs:
homeassistant.components.switch.broadlink: info
homeassistant.components.automation: info
homeassistant.components.mqtt: debug
homeassistant.components.light.hue: debug
homeassistant.components.hue: debug
custom_components.effect_control: debug
homeassistant.components.switch.xiaomi_aqara: debug
# homeassistant.components.device_tracker: debug
# homeassistant.components.http: info
# homeassistant.components.rfxtrx: debug
# homeassistant.components.sensor.miflora: debug
pyTibber: debug
history:
exclude:
entities:
- sensor.no_updates
domains:
- proximity
sun:
script: !include_dir_merge_named scripts/
#script: !include scripts.yaml
automation: !include_dir_merge_list automation/
#scene: !include scenes.yaml
#light: !include lights.yaml
binary_sensor: !include binary_sensor.yaml
sensor: !include sensors.yaml
switch: !include switches.yaml
group: !include group.yaml
zone: !include zone.yaml
input_select: !include input_select.yaml
#input_boolean: !include input_boolean.yaml
# update_ip:
effect_control:
proximity:
home:
devices:
- device_tracker.daniel
tolerance: 50
unit_of_measurement: m
notify:
platform: pushbullet
api_key: !secret pushbullet
encryption_password: !secret pushbullet_encryption_password
name: pushbullet
device_tracker:
- platform: nmap_tracker
hosts:
- 192.168.80.151
- 192.168.80.161
# track_new_devices: yes
consider_home: 600
interval_seconds: 60
home_interval: 5
scan_options: " --privileged -sP "
# sudo setcap cap_net_raw,cap_net_admin,cap_net_bind_service+eip /usr/bin/nmap
- platform: gpslogger
# http://:8123/api/gpslogger?api_password=XXX&latitude=%LAT&longitude=%LON&device=daniel&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT
hue:
bridges:
- host: 192.168.80.105
cast:
media_player:
- host: 192.168.80.158
- host: 192.168.80.13
#- platform: vlc
# arguments: 'front:CARD=SB,DEV=0'
# name: Stue
rfxtrx:
device: /dev/serial/by-id/usb-RFXCOM_RFXtrx433_A1Y0NJGR-if00-port0
debug: False
dummy: False
climate:
- platform: sensibo
api_key: !secret sensibo_key
tts:
- platform: google
language: 'no'
resume_mp 1:
media_player: stue
resume_mp 3:
media_player: soverom
#news:
# strava_token: !secret strava_token
find:
#xiaomi_aqara:
# gateways:
# - mac:
# key: !secret xiaomi
#emulated_hue:
# type: google_home
# listen_port: 80
# expose_by_default: false
# host_ip: 192.168.1.140
zwave:
usb_path: /dev/ttyACM0
autoheal: False
ifttt:
key: !secret ifttt_key
mqtt:
# password: WryfINz4YZrR$rvCqkBhOzsZRh
netatmo:
api_key: !secret netatmo_api_key
secret_key: !secret netatmo_secret_key
username: !secret email
password: !secret netatmo_password
history_graph:
gr1:
name: Stromforbruk_48
entities:
- sensor.electricity_price_hamretunet_10
- sensor.netatmo_indoor_temperature
- sensor.set_temp
- sensor.diff_cumulative_hourly_active_import_energy
# - sensor.total_effect
- sensor.filtered_total_effect
hours_to_show: 48
refresh: 60
gr2:
name: Stromforbruk_1
entities:
- sensor.total_effect
- sensor.varmtvann_temperature
- sensor.varmtvann_nede_temperature
- sensor.varmtvann_ut_temperature
- sensor.effekt_vaskemaskin
- sensor.aeotec_zw096_smart_switch_6_power
hours_to_show: 1
refresh: 60
gr3:
name: Stromforbruk_24
entities:
- sensor.electricity_price_hamretunet_10
- sensor.total_effect
- sensor.varmtvann_temperature
- sensor.varmtvann_nede_temperature
- sensor.varmtvann_ut_temperature
- sensor.effekt_vaskemaskin
- sensor.aeotec_zw096_smart_switch_6_power
hours_to_show: 24
refresh: 60
tibber_prices:
access_token: !secret tibber
camera:
- platform: local_file
name: "Prices"
file_path: /tmp/prices.png