Draft of Home Assistant configuration. A lot of refactoring is needed. *.yaml.dist files are needed too.
This commit is contained in:
commit
911bdc66d2
|
@ -0,0 +1,12 @@
|
||||||
|
# Ignoring all by default
|
||||||
|
*
|
||||||
|
|
||||||
|
# Excluding these files
|
||||||
|
!*.yaml
|
||||||
|
!.gitignore
|
||||||
|
!*.md
|
||||||
|
|
||||||
|
# Ignoring secrets
|
||||||
|
known_devices.yaml
|
||||||
|
persons.yaml
|
||||||
|
secrets.yaml
|
|
@ -0,0 +1 @@
|
||||||
|
[]
|
|
@ -0,0 +1,97 @@
|
||||||
|
|
||||||
|
# Configure a default setup of Home Assistant (frontend, api, etc)
|
||||||
|
default_config:
|
||||||
|
|
||||||
|
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
|
||||||
|
# http:
|
||||||
|
# base_url: example.duckdns.org:8123
|
||||||
|
|
||||||
|
## Text to speech
|
||||||
|
tts:
|
||||||
|
- platform: google_translate
|
||||||
|
|
||||||
|
group: !include groups.yaml
|
||||||
|
automation: !include automations.yaml
|
||||||
|
script: !include scripts.yaml
|
||||||
|
|
||||||
|
## Persons
|
||||||
|
person: !include persons.yaml
|
||||||
|
|
||||||
|
## Devices
|
||||||
|
vacuum:
|
||||||
|
- platform: xiaomi_miio
|
||||||
|
host: !secret xiaomi_vacuum1_ip
|
||||||
|
token: !secret xiaomi_vacuum1_token
|
||||||
|
|
||||||
|
# Aqara Gateway 2
|
||||||
|
xiaomi_aqara:
|
||||||
|
gateways:
|
||||||
|
- mac: !secret xiaomi_gateway1_mac
|
||||||
|
key: !secret xiaomi_gateway1_key
|
||||||
|
|
||||||
|
# MikroTik presense
|
||||||
|
device_tracker:
|
||||||
|
- platform: mikrotik
|
||||||
|
host: !secret mikrotik_router1_ip
|
||||||
|
username: !secret mikrotik_router1_username
|
||||||
|
password: !secret mikrotik_router1_password
|
||||||
|
method: wireless
|
||||||
|
consider_home: 180
|
||||||
|
new_device_defaults:
|
||||||
|
track_new_devices: true
|
||||||
|
|
||||||
|
# Wake on LAN
|
||||||
|
wake_on_lan:
|
||||||
|
|
||||||
|
## Services
|
||||||
|
media_player:
|
||||||
|
- platform: emby
|
||||||
|
host: !secret emby_media_ip
|
||||||
|
api_key: !secret emby_media_api_key
|
||||||
|
- platform: samsungtv
|
||||||
|
host: !secret samsung_tv_media_ip
|
||||||
|
name: !secret samsung_tv_media_name
|
||||||
|
timeout: 15
|
||||||
|
mac: !secret samsung_tv_media_mac
|
||||||
|
- platform: webostv
|
||||||
|
host: !secret lg_tv_media_ip
|
||||||
|
name: !secret lg_tv_media_name
|
||||||
|
filename: webostv.conf
|
||||||
|
timeout: 5
|
||||||
|
|
||||||
|
upnp:
|
||||||
|
port_mapping: false
|
||||||
|
|
||||||
|
# Transmission torrent daemon
|
||||||
|
transmission:
|
||||||
|
host: !secret transmission_torrent_host
|
||||||
|
username: !secret transmission_torrent_username
|
||||||
|
password: !secret transmission_torrent_password
|
||||||
|
turtle_mode: true
|
||||||
|
monitored_conditions:
|
||||||
|
- current_status
|
||||||
|
- download_speed
|
||||||
|
- upload_speed
|
||||||
|
- active_torrents
|
||||||
|
- total_torrents
|
||||||
|
|
||||||
|
## Sensors
|
||||||
|
sensor:
|
||||||
|
- platform: uptime
|
||||||
|
- platform: version
|
||||||
|
- platform: cpuspeed
|
||||||
|
|
||||||
|
## Notifications
|
||||||
|
# Platforms
|
||||||
|
# Uncomment when access problem will be solved
|
||||||
|
#telegram_bot:
|
||||||
|
# - platform: polling
|
||||||
|
# api_key: !secret telegram_bot_key
|
||||||
|
# allowed_chat_ids:
|
||||||
|
# - !secret telegram_bot_chat_id
|
||||||
|
|
||||||
|
# Notifiers
|
||||||
|
#notify:
|
||||||
|
# - name: test
|
||||||
|
# platform: telegram
|
||||||
|
# chat_id: !secret telegram_bot_chat_id
|
Loading…
Reference in New Issue