home-automation-home-assistant/configuration.yaml

241 baris
5.3 KiB
YAML
Mentah Pandangan Normal Riwayat

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-01-20 17:16:56 +00:00
whitelist_external_dirs:
- /backuplogs
2019-01-16 12:47:15 +00:00
2019-02-02 23:16:33 +00:00
frontend:
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
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
system_health:
2019-01-16 12:47:15 +00:00
config:
updater:
#discovery:
2019-02-02 23:16:33 +00:00
conversation:
tts:
- platform: google
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-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: 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
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 ]
- platform: mqtt
state_topic: /home/camera/yihome1/motion/state
name: YiHome1 Alarm
payload_on: 1
payload_off: 0
2019-01-20 17:16:56 +00:00
- 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'
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-02-23 14:39:51 +00:00
#ffmpeg:
# ffmpeg_bin: /usr/bin/ffmpeg
2019-01-25 23:16:30 +00:00
2019-01-16 12:47:15 +00:00
camera:
2019-01-16 23:11:55 +00:00
# - 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
2019-01-16 12:47:15 +00:00
# - 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
2019-01-18 20:14:56 +00:00
panel_iframe:
deconz:
title: 'Deconz'
url: !secret url_deconz
2019-01-18 20:14:56 +00:00
icon: mdi:gate-and
chronograf:
title: 'Chronograf'
url: !secret url_chronograf
2019-01-18 20:14:56 +00:00
icon: mdi:monitor-dashboard
2019-01-16 12:47:15 +00:00
#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