home-automation-home-assistant/configuration.yaml

201 行
4.4 KiB
YAML

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
2020-01-14 19:03:19 +00:00
customize: !include_dir_merge_named config/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
config:
conversation:
device_tracker:
#discovery:
history:
logbook:
map:
mobile_app:
recorder:
sun:
stream:
system_health:
updater:
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
frontend:
themes: !include_dir_merge_named themes/
2019-01-16 12:47:15 +00:00
lovelace:
mode: yaml
2019-02-02 23:16:33 +00:00
tts:
2019-10-13 09:25:04 +00:00
- platform: google_translate
service_name: google_say
2019-02-02 23:16:33 +00:00
zha:
usb_path: /dev/ttyACM0
radio_type: deconz
database_path: /config/zigbee.db
2019-01-17 20:08:21 +00:00
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
- platform: command_line
name: alexa_kitchen
command: "/config/alexa_wrapper.sh -d 'Küche'"
- platform: command_line
name: alexa_livingroom
command: "/config/alexa_wrapper.sh -d 'Wohnzimmer'"
- platform: command_line
name: alexa_all
command: "/config/alexa_wrapper.sh -d 'ALL'"
2019-10-13 09:25:04 +00:00
# - name: android
# platform: fcm-android
2019-01-16 12:47:15 +00:00
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
2019-10-18 20:25:58 +00:00
person:
- name: Jenny
id: jenny
- name: Florian
id: florian
device_trackers:
- device_tracker.fb_mobile_bt
- device_tracker.mobile_fb
zone:
- name: !secret work_name_f
latitude: !secret work_lat_f
longitude: !secret work_long_f
radius: 250
icon: mdi:briefcase
- 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
weather:
- platform: openweathermap
api_key: !secret openweathermap
2019-10-13 09:25:04 +00:00
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
2019-01-16 12:47:15 +00:00
input_datetime:
bedroom_alarm_clock_time:
name: Wecker
has_date: false
has_time: true
2019-10-13 16:07:18 +00:00
alarm_control_panel:
- platform: manual
name: Home Alarm
code: !secret alarm_code
code_arm_required: true
delay_time: 20
pending_time: 30
trigger_time: 120
disarm_after_trigger: false
disarmed:
trigger_time: 0
armed_home:
pending_time: 0
delay_time: 0
armed_night:
pending_time: 0
delay_time: 0
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:
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
esphome:
title: 'ESPHome'
url: !secret url_esphome
icon: mdi:chip
2019-01-18 20:14:56 +00:00
2019-12-14 21:51:01 +00:00
tplink:
discovery: false
switch:
- host: !secret tplink_ip
# External config files
alert: !include_dir_merge_named config/alerts/
2020-01-14 19:03:19 +00:00
alexa: !include config/alexa.yaml
automation: !include_dir_merge_list config/automations/
binary_sensor: !include_dir_merge_list config/sensors_binary/
camera: !include config/cameras.yaml
influxdb: !include config/influxdb.yaml
light: !include config/lights.yaml
2020-01-14 19:03:19 +00:00
scene: !include_dir_merge_list config/scenes/
script: !include_dir_merge_list config/scripts/
2020-01-14 19:03:19 +00:00
sensor: !include_dir_merge_list config/sensors/
switch: !include_dir_merge_list config/switches/