mirror of
https://gitlab.com/skobkin/home-assistant-config.git
synced 2024-11-14 00:23:05 +00:00
98 lines
2.1 KiB
YAML
Executable file
98 lines
2.1 KiB
YAML
Executable file
|
|
# 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
|