244 lignes
5.4 KiB
YAML
244 lignes
5.4 KiB
YAML
homeassistant:
|
|
name: Home
|
|
latitude: !secret home_lat
|
|
longitude: !secret home_long
|
|
elevation: !secret home_elevation
|
|
unit_system: metric
|
|
time_zone: Europe/Berlin
|
|
# customize: !include_dir_merge_named customizations/
|
|
whitelist_external_dirs:
|
|
- /backuplogs
|
|
|
|
frontend:
|
|
|
|
http:
|
|
ip_ban_enabled: true
|
|
login_attempts_threshold: 5
|
|
use_x_forwarded_for: true
|
|
trusted_proxies:
|
|
- 127.0.0.1
|
|
- ::1
|
|
trusted_networks:
|
|
- 192.168.0.0/16
|
|
- fd00::/8
|
|
|
|
lovelace:
|
|
mode: yaml
|
|
|
|
zone:
|
|
- name: !secret work1_name
|
|
latitude: !secret work1_lat
|
|
longitude: !secret work1_long
|
|
radius: 250
|
|
icon: mdi:briefcase
|
|
|
|
config:
|
|
|
|
updater:
|
|
|
|
#discovery:
|
|
|
|
conversation:
|
|
|
|
tts:
|
|
- platform: google
|
|
|
|
history:
|
|
|
|
logbook:
|
|
|
|
map:
|
|
|
|
recorder:
|
|
|
|
influxdb:
|
|
host: !secret influxdb
|
|
database: home_assistant
|
|
username: !secret influxdb_user
|
|
password: !secret influxdb_password
|
|
max_retries: 3
|
|
include:
|
|
entities:
|
|
- device_tracker.mobile_fb
|
|
- sensor.attic_heatIndex
|
|
- sensor.attic_humidity
|
|
- sensor.attic_temperature
|
|
- sensor.bathroom_hygrometer_battery
|
|
- sensor.bathroom_hygrometer_humidity
|
|
- sensor.bathroom_hygrometer_temperature
|
|
# Youtube
|
|
- sensor.youtube_beauty
|
|
- sensor.youtube_beauty_videos
|
|
- sensor.youtube_beauty_views
|
|
- sensor.youtube_mtb
|
|
- sensor.youtube_mtb_videos
|
|
- sensor.youtube_mtb_views
|
|
# Bitly
|
|
- sensor.bitly_blog_bb
|
|
- sensor.bitly_instagram_bb
|
|
- sensor.bitly_impressum_bb
|
|
- sensor.bitly_youtube_bb
|
|
# Instagram
|
|
- sensor.instagram_beauty
|
|
- sensor.instagram_beauty_follows
|
|
- sensor.instagram_beauty_media
|
|
- sensor.instagram_fb
|
|
- sensor.instagram_fb_follows
|
|
- sensor.instagram_fb_media
|
|
- sensor.instagram_franky
|
|
- sensor.instagram_franky_follows
|
|
- sensor.instagram_franky_media
|
|
- sensor.instagram_mtb
|
|
- sensor.instagram_mtb_follows
|
|
- sensor.instagram_mtb_media
|
|
|
|
deconz:
|
|
host: !secret deconz_ip
|
|
port: !secret deconz_port
|
|
|
|
emulated_roku:
|
|
servers:
|
|
- name: Home Assistant
|
|
listen_port: 8060
|
|
|
|
mqtt:
|
|
broker: !secret mqtt_broker_ip
|
|
username: !secret mqtt_username
|
|
password: !secret mqtt_password
|
|
|
|
mqtt_eventstream:
|
|
publish_topic: homeassistant/master
|
|
subscribe_topic: homeassistant-slaves/#
|
|
ignore_event:
|
|
- call_service
|
|
- state_changed
|
|
|
|
telegram_bot:
|
|
- platform: broadcast
|
|
api_key: !secret telegram_bot
|
|
parse_mode: markdown
|
|
allowed_chat_ids:
|
|
- !secret telegram_chat_fb
|
|
- !secret telegram_chat_group
|
|
|
|
notify:
|
|
- name: telegram_group
|
|
platform: telegram
|
|
chat_id: !secret telegram_chat_group
|
|
- name: telegram_fb
|
|
platform: telegram
|
|
chat_id: !secret telegram_chat_fb
|
|
|
|
device_tracker:
|
|
|
|
media_player:
|
|
- platform: spotify
|
|
client_id: !secret spotify_client_id
|
|
client_secret: !secret spotify_client_secret
|
|
- platform: firetv
|
|
name: Fire TV
|
|
host: !secret firetv_ip
|
|
adbkey: !secret adbkey
|
|
get_source: true
|
|
get_sources: true
|
|
|
|
remote:
|
|
- platform: harmony
|
|
name: Livingroom Harmony
|
|
host: !secret harmonyhub_ip
|
|
|
|
sun:
|
|
|
|
light:
|
|
- platform: hyperion
|
|
name: Ambilight
|
|
host: !secret ambilight_ip
|
|
- platform: switch
|
|
name: Stimmungslicht
|
|
entity_id: switch.livingroom_stimmungslicht
|
|
|
|
binary_sensor:
|
|
- platform: workday
|
|
country: DE
|
|
province: NW
|
|
workdays: [ mon, tue, wed, thu, fri ]
|
|
- platform: mqtt
|
|
state_topic: /home/camera/yihome1/motion/state
|
|
name: YiHome1 Alarm
|
|
payload_on: 1
|
|
payload_off: 0
|
|
- platform: command_line
|
|
name: backup_error_occured
|
|
command: 'if [ `wc -l < /backuplogs/run.err.log` -eq 0 ]; then echo 0; else echo 1; fi'
|
|
payload_on: 1
|
|
payload_off: 0
|
|
scan_interval: 1800
|
|
device_class: 'problem'
|
|
- platform: command_line
|
|
name: backup_sync_error_occured
|
|
command: 'if [ `wc -l < /backuplogs/sync.err.log` -eq 0 ]; then echo 0; else echo 1; fi'
|
|
payload_on: 1
|
|
payload_off: 0
|
|
scan_interval: 1800
|
|
device_class: 'problem'
|
|
- platform: ring
|
|
|
|
weather:
|
|
- platform: openweathermap
|
|
friendly_name: Vorhersage
|
|
api_key: !secret openweathermap
|
|
|
|
#octoprint:
|
|
# host: !secret octoprint_ip
|
|
# api_key: !secret octoprint_api_key
|
|
# bed: true
|
|
# number_of_tools: 1
|
|
|
|
ffmpeg:
|
|
ffmpeg_bin: /usr/bin/ffmpeg
|
|
|
|
ring:
|
|
username: !secret ring_username
|
|
password: !secret ring_password
|
|
|
|
camera:
|
|
- platform: ring
|
|
# - platform: yi
|
|
# name: YiHome1
|
|
# host: !secret yihome1
|
|
# password: !secret yihome1_password
|
|
# ffmpeg_arguments: '-pred 1 -vf scale=800:450'
|
|
# - platform: mqtt
|
|
# name: YiHome1-Mqtt
|
|
# topic: /home/camera/yihome1/motion/photo
|
|
# - platform: mjpeg
|
|
# name: octoprint_webcam
|
|
# mjpeg_url: !secret octoprint_cam_url
|
|
# - platform: local_file
|
|
#name: elisey_shocked
|
|
#friendly_name: Schlechtes Wetter
|
|
#file_path: /local/elisey_shocked.png
|
|
|
|
input_datetime:
|
|
bedroom_alarm_clock_time:
|
|
name: Wecker
|
|
has_date: false
|
|
has_time: true
|
|
|
|
panel_iframe:
|
|
deconz:
|
|
title: 'Deconz'
|
|
url: 'http://home.local:8680'
|
|
icon: mdi:gate-and
|
|
chronograf:
|
|
title: 'Chronograf'
|
|
url: 'http://home.local:8888/sources/1/dashboards/5'
|
|
icon: mdi:monitor-dashboard
|
|
|
|
#alert: !include alerts.yaml
|
|
alexa: !include alexa.yaml
|
|
automation: !include_dir_merge_list automations/
|
|
#scene: !include scenes.yaml
|
|
script: !include scripts.yaml
|
|
sensor: !include_dir_merge_list sensors/
|
|
switch: !include switches.yaml |