63 lines
1004 B
Markdown
63 lines
1004 B
Markdown
# HomeAssistant
|
|
|
|
|
|
|
|
|
|
|
|
### Package SynoCommunity
|
|
|
|
Version Core
|
|
|
|
[FAQ](https://github.com/SynoCommunity/spksrc/wiki/FAQ-HomeAssistant/)
|
|
|
|
#### Editer la configuration
|
|
|
|
```bash
|
|
sudo nano /var/packages/homeassistant/var/config/configuration.yaml
|
|
```
|
|
|
|
#### Voir les logs
|
|
|
|
```bash
|
|
tail -f /var/packages/homeassistant/var/homeassistant.log
|
|
```
|
|
|
|
|
|
|
|
### VMM
|
|
|
|
|
|
|
|
#### Erreur '400 Bad Request'
|
|
|
|
|
|
|
|
##### /homeassistant/configuration.yaml
|
|
|
|
```yaml
|
|
|
|
# Loads default set of integrations. Do not remove.
|
|
default_config:
|
|
|
|
# Load frontend themes from the themes folder
|
|
frontend:
|
|
themes: !include_dir_merge_named themes
|
|
|
|
automation: !include automations.yaml
|
|
script: !include scripts.yaml
|
|
scene: !include scenes.yaml
|
|
|
|
homeassistant:
|
|
external_url: "https://home-assistant.photos-nas.ovh" # ne pas indiquer le port
|
|
internal_url: "http://192.168.2.21:8123" # adresse locale de HA avec le port
|
|
|
|
http:
|
|
use_x_forwarded_for: true
|
|
trusted_proxies:
|
|
- 192.168.2.57 # IP of Synology
|
|
ip_ban_enabled: false
|
|
|
|
```
|
|
|
|
Sir le NAS
|