home-automation-home-assistant/configuration.yaml
2019-01-17 00:12:27 +01:00

180 line
3.9 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/
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:
history:
logbook:
recorder:
influxdb:
host: !secret influxdb
database: home_assistant
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
# - sensor.livingroom_heatindex
# - sensor.livingroom_humidity
# - sensor.livingroom_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_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
map:
mqtt:
broker: !secret mqtt_broker_ip
username: !secret mqtt_username
password: !secret mqtt_password
telegram_bot:
- platform: broadcast
api_key: !secret telegram_bot
allowed_chat_ids:
- !secret telegram_chat_fb
- !secret telegram_chat_group
notify:
- name: telegram_group
platform: telegram
chat_id: !secret telegram_chat_group
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
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
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
camera:
# - 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
#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