-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.yaml
259 lines (228 loc) · 6.8 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
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# C for Celcius, F for Fahrenheit
temperature_unit: C
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: Europe/Paris
# location required to calculate the time the sun rises and sets
latitude: !secret home_latitude
longitude: !secret home_longitude
elevation: 0
auth_providers:
- type: homeassistant
- type: trusted_networks
packages: !include_dir_named packages
customize: !include customize.yaml
customize_glob:
"sensor.*_sourcenodeid":
hidden: true
"sensor.*_alarm_level":
hidden: true
"sensor.*_alarm_type":
hidden: true
# Show links to resources in log and frontend
#introduction:
# Enables the frontend
frontend:
themes: !include_dir_merge_named themes
http:
base_url: !secret base_url
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
use_x_forwarded_for: True
trusted_proxies:
- 127.0.0.1
- ::1
trusted_networks:
- 127.0.0.1
- ::1
- 192.168.1.0/24
- 10.8.0.0/24
ip_ban_enabled: True
login_attempts_threshold: 3
panel_iframe:
nodered:
title: Node-RED
icon: mdi:sitemap
url: https://hassio.dupras.fr/nodered
# Enables configuration UI
config:
system_health:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# 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
custom_updater:
track:
- components
- cards
component_urls:
- https://raw.githubusercontent.com/robmarkcole/Hue-sensors-HASS/master/custom_updater.json
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
#conversation:
recorder:
purge_keep_days: 2
exclude:
domains:
- automation
- weblink
- updater
entities:
- sun.sun # Don't record sun data
- sensor.last_boot # Comes from 'systemmonitor' sensor platform
- sensor.date
- sensor.time
- sensor.pws_weather_1n_metric
- sensor.pws_weather_1d_metric
- sensor.pws_weather_2n_metric
- sensor.pws_weather_2d_metric
- sensor.pws_weather_3n_metric
- sensor.pws_weather_3d_metric
- sensor.pws_weather_4n_metric
- sensor.pws_weather_4d_metric
- sensor.pws_temp_high_1d_c
- sensor.pws_temp_high_record_c
- sensor.pws_temp_low_1d_c
- sensor.pws_temp_low_record_c
- sensor.asuswrt_upload_speed
- sensor.asuswrt_upload
- sensor.asuswrt_download_speed
- sensor.asuswrt_download
- sensor.yr_symbol
- sensor.uberx_price
- sensor.uberx_time
# Enables support for tracking state changes over time
history:
exclude:
domains:
- automation
- sun
- script
- group
# View all events in a logbook
logbook:
ios:
push:
categories:
- name: alarm
identifier: 'camera'
actions:
- identifier: 'FIRE_ALARM'
title: 'Activer Alarme'
activationMode: 'background'
authenticationRequired: no
destructive: yes
- identifier: 'CANCEL_ALARM'
title: 'Désactiver Alarme'
activationMode: 'background'
authenticationRequired: no
destructive: yes
#Notifier
notify:
- platform: pushbullet
api_key: !secret pushbullet_api_key
name: pushbullet
#IFTTT
ifttt:
key: !secret ifttt_key
#Detect all device on network + my iCloud device + OwnTracks User (MQTT)
device_tracker:
- platform: bluetooth_tracker
new_device_defaults:
track_new_devices: False
hide_if_away: False
- platform: tile
username: '[email protected]'
password: ':j@besq'
owntracks:
max_gps_accuracy: 150
asuswrt:
host: !secret asuswrt_host
username: !secret asuswrt_username
ssh_key: '/config/ssh-keys/id_rsa'
proximity:
home:
tolerance: 50
devices:
- device_tracker.hugo_iphone
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# Sensors
#sensor:
# Text to speech
tts:
- platform: google
# Cloud
cloud:
alexa:
smart_home:
filter:
include_domains:
- cover
include_entities:
- input_boolean.harmony_appletv
- input_boolean.harmony_ps4
- input_boolean.harmony_switch
- input_boolean.babyphone_chambre
- input_boolean.babyphone_salon
- remote.harmony_hub
entity_config:
input_boolean.harmony_appletv:
name: Apple TV
description: Apple TV du Salon (via Harmony)
input_boolean.harmony_ps4:
name: Playstation 4
description: Playstation 3/4 (via Harmony)
# display_categories: ACTIVITY_TRIGGER
input_boolean.harmony_switch:
name: Nintendo Switch
description: Nintendo Switch
input_boolean.babyphone_salon:
name: Babyphone
input_boolean.babyphone_chambre:
name: Babyphone Chambre
cover.volet_chambre_amis:
name: Volet Zelda
description: "Volet de la chambre d'amis"
cover.volet_cuisine:
name: Volet Cuisine
description: Volet de la cuisine
cover.volet_salon:
name: Volet Salon
description: Volet du Salon
cover.tous_les_volets:
name: Tous les volets
description: Tous les volets (Salon + Cuisine + Chambre amis)
remote.harmony_hub:
name: Television
#hue:
# bridges:
# - host: 192.168.1.35
# allow_unreachable: true
# allow_hue_groups: true
alarm_control_panel:
platform: manual
pending_time: 30
input_boolean:
lumiere_entree_auto:
guest_mode:
name: Mode Invité
icon: mdi:account-multiple
binary_sensor: !include binary_sensors.yaml
sensor: !include sensors.yaml
group: !include groups.yaml
automation: !include automations.yaml
#script: !include scripts.yaml