-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration.yaml
61 lines (53 loc) · 2.01 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
###################################################
# Home Assistant Main Configuration File #
###################################################
homeassistant:
# customize: !include customize.yaml
# https://home-assistant.io/docs/configuration/packages/
packages: !include_dir_named packages
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include_dir_merge_named scripts
scene: !include scenes.yaml
frontend:
themes: !include_dir_merge_named themes
# logger:
# default: warn
# logs:
# custom_components.renault: debug
# custom_components.renaultze.sensor: debug
#
# Necessaire au bon fonctionnement depuis l'exterieur
# Avec l'addon DuckDNS (compte github) : configuration de base
# ici on force HA à utiliser le SSL, on active le blocage ip si trop de tentatives
# https://www.home-assistant.io/integrations/http
# Ne pas activer SSL ICI, on utilise NGINX
# explication pourquoi NGINX est requis : https://help.konnected.io/support/solutions/articles/32000023964-set-up-hass-io-with-secure-remote-access-using-duckdns-and-nginx-proxy
# pour avoir une url HTTP interne et HTTPS externe
# Autre solution :
# - ne pas utilise NGINX faire la config DuckDNS (+config SSL ici)
# - configurer le DNS (livebox) pour que le nom de domaine corresponde à l'ip local d'hassio ainsi 'l'url sur le wifi renvoie en local
# en https et sans erreur "SSL"
#
http:
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
# You must set the trusted proxy IP address so that Home Assistant will properly accept connections
# Set this to your NGINX machine IP, or localhost if hosted on the same machine.
trusted_proxies:
- 127.0.0.1
- 172.30.33.0/24
- 172.30.32.0/24
zha:
zigpy_config:
ota:
# Auto update Trådfri devices
ikea_provider: true
# Auto update LEDVANCE/OSRAM devices
ledvance_provider: true