home-automation-home-assistant/configuration.yaml

249 lines
5.2 KiB
YAML
Raw Normal View History

2019-01-16 12:47:15 +00:00
homeassistant:
name: Home
latitude: !secret home_lat
longitude: !secret home_long
elevation: !secret home_elevation
unit_system: metric
time_zone: Europe/Berlin
2019-02-27 21:36:40 +00:00
customize: !include_dir_merge_named customizations/
2019-03-18 19:07:08 +00:00
auth_providers:
2019-10-13 09:25:04 +00:00
- type: homeassistant
2019-03-18 19:07:08 +00:00
- type: trusted_networks
trusted_networks:
- 127.0.0.1
- ::1
- 192.168.0.0/16
2019-03-18 19:07:08 +00:00
- fd00::/8
2019-01-16 12:47:15 +00:00
2019-02-02 23:16:33 +00:00
frontend:
2019-10-13 09:25:04 +00:00
themes: !include_dir_merge_named themes/
2019-02-02 23:16:33 +00:00
2019-01-16 12:47:15 +00:00
http:
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
- ::1
lovelace:
mode: yaml
zone:
2019-10-13 09:25:04 +00:00
- name: !secret work_name_f
latitude: !secret work_lat_f
longitude: !secret work_long_f
2019-01-16 12:47:15 +00:00
radius: 250
icon: mdi:briefcase
2019-10-13 09:25:04 +00:00
- name: !secret work_name_j
latitude: !secret work_lat_j
longitude: !secret work_long_j
radius: 500
icon: mdi:briefcase
2019-01-16 12:47:15 +00:00
system_health:
2019-01-16 12:47:15 +00:00
config:
updater:
#discovery:
2019-02-02 23:16:33 +00:00
conversation:
tts:
2019-10-13 09:25:04 +00:00
- platform: google_translate
service_name: google_say
2019-02-02 23:16:33 +00:00
2019-01-16 12:47:15 +00:00
history:
logbook:
2019-02-02 23:16:33 +00:00
map:
2019-01-16 12:47:15 +00:00
recorder:
influxdb:
host: !secret influxdb
database: home_assistant
2019-02-02 23:16:33 +00:00
username: !secret influxdb_user
password: !secret influxdb_password
2019-01-16 12:47:15 +00:00
max_retries: 3
include:
entities:
- device_tracker.mobile_fb
- sensor.attic_heatIndex
- sensor.attic_humidity
- sensor.attic_temperature
2019-02-02 23:16:33 +00:00
- sensor.bathroom_hygrometer_battery
- sensor.bathroom_hygrometer_humidity
- sensor.bathroom_hygrometer_temperature
2019-01-16 12:47:15 +00:00
# Youtube
- sensor.youtube_beauty
- sensor.youtube_beauty_videos
- sensor.youtube_beauty_views
- sensor.youtube_mtb
- sensor.youtube_mtb_videos
- sensor.youtube_mtb_views
2019-01-16 23:11:55 +00:00
# Bitly
2019-02-02 23:16:33 +00:00
- sensor.bitly_blog_bb
- sensor.bitly_instagram_bb
- sensor.bitly_impressum_bb
2019-01-16 23:11:55 +00:00
- sensor.bitly_youtube_bb
2019-01-16 12:47:15 +00:00
# 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
2019-01-17 20:08:21 +00:00
deconz:
host: !secret deconz_ip
port: !secret deconz_port
2019-01-25 23:16:30 +00:00
emulated_roku:
servers:
- name: Home Assistant
listen_port: 8060
2019-01-16 12:47:15 +00:00
mqtt:
broker: !secret mqtt_broker_ip
username: !secret mqtt_username
password: !secret mqtt_password
2019-02-02 23:16:33 +00:00
mqtt_eventstream:
publish_topic: homeassistant/master
subscribe_topic: homeassistant-slaves/#
ignore_event:
- call_service
- state_changed
2019-01-16 12:47:15 +00:00
telegram_bot:
- platform: broadcast
api_key: !secret telegram_bot
2019-01-20 17:16:56 +00:00
parse_mode: markdown
2019-01-16 12:47:15 +00:00
allowed_chat_ids:
- !secret telegram_chat_fb
- !secret telegram_chat_group
notify:
- name: telegram_group
platform: telegram
chat_id: !secret telegram_chat_group
2019-02-16 22:15:11 +00:00
- name: telegram_fb
platform: telegram
chat_id: !secret telegram_chat_fb
2019-10-13 09:25:04 +00:00
# - name: android
# platform: fcm-android
2019-01-16 12:47:15 +00:00
device_tracker:
media_player:
- platform: spotify
client_id: !secret spotify_client_id
client_secret: !secret spotify_client_secret
- platform: androidtv
device_class: firetv
2019-01-16 12:47:15 +00:00
name: Fire TV
host: !secret firetv_ip
adbkey: !secret adbkey
get_sources: true
remote:
- platform: harmony
name: Livingroom Harmony
host: !secret harmonyhub_ip
2019-02-23 14:39:51 +00:00
delay_secs: 0.3
2019-01-16 12:47:15 +00:00
sun:
light:
- platform: hyperion
name: Ambilight
host: !secret ambilight_ip
hdmi_priority: 900
2019-01-20 11:08:34 +00:00
- platform: switch
name: Stimmungslicht
entity_id: switch.livingroom_stimmungslicht
2019-01-16 12:47:15 +00:00
binary_sensor:
- platform: workday
country: DE
province: NW
workdays: [ mon, tue, wed, thu, fri ]
2019-03-18 19:07:08 +00:00
- platform: tod
name: Morning
after: '05:00'
before: '11:00'
- platform: ping
name: desktop_ping
host: !secret desktop_ip
count: 2
scan_interval: 15
2019-01-16 12:47:15 +00:00
weather:
- platform: openweathermap
api_key: !secret openweathermap
#octoprint:
# host: !secret octoprint_ip
# api_key: !secret octoprint_api_key
# bed: true
# number_of_tools: 1
2019-10-13 09:25:04 +00:00
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
stream:
2019-01-25 23:16:30 +00:00
2019-01-16 12:47:15 +00:00
camera:
2019-10-13 09:25:04 +00:00
- platform: ffmpeg
name: office
input: !secret office_stream_url
2019-01-16 12:47:15 +00:00
input_datetime:
bedroom_alarm_clock_time:
name: Wecker
has_date: false
has_time: true
shell_command:
ssh: 'ssh -o "StrictHostKeyChecking=no" -i {{ sshkey }} {{ host }} -l {{ user }} -p {{ port }} {{ command_or_param }}'
rest_command:
shinobi_monitorstates:
url: "https://{{ host }}/{{ apikey }}/monitorStates/{{ group }}/{{ preset_name }}"
2019-01-18 20:14:56 +00:00
panel_iframe:
cctv:
title: 'CCTV'
url: !secret url_cctv
icon: mdi:cctv
2019-01-18 20:14:56 +00:00
chronograf:
title: 'Chronograf'
url: !secret url_chronograf
2019-01-18 20:14:56 +00:00
icon: mdi:monitor-dashboard
2019-10-13 09:25:04 +00:00
deconz:
title: 'Deconz'
url: !secret url_deconz
icon: mdi:gate-and
esphome:
title: 'ESPHome'
url: !secret url_esphome
icon: mdi:chip
2019-01-18 20:14:56 +00:00
#alert: !include_dir_merge_list alerts/
2019-01-16 12:47:15 +00:00
alexa: !include alexa.yaml
automation: !include_dir_merge_list automations/
#scene: !include scenes.yaml
script: !include scripts.yaml
sensor: !include_dir_merge_list sensors/
2019-10-13 09:25:04 +00:00
switch: !include switches.yaml