2019-06-02 14:34:08 +02:00
|
|
|
|
|
|
|
# Configure a default setup of Home Assistant (frontend, api, etc)
|
|
|
|
default_config:
|
|
|
|
|
|
|
|
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
|
2019-07-15 22:02:40 +02:00
|
|
|
http:
|
|
|
|
base_url: https://ha.bauer.tech
|
2019-06-02 14:34:08 +02:00
|
|
|
|
|
|
|
# Discover some devices automatically
|
|
|
|
#discovery:
|
|
|
|
|
|
|
|
homeassistant:
|
|
|
|
name: MyHome
|
|
|
|
latitude: 49.369477
|
|
|
|
longitude: 10.9831468
|
2019-06-30 21:16:53 +02:00
|
|
|
auth_mfa_modules:
|
|
|
|
- type: totp
|
2019-06-02 14:34:08 +02:00
|
|
|
|
2019-06-21 01:58:58 +02:00
|
|
|
customize:
|
|
|
|
cover.arbeitszimmer_martin_rollo:
|
|
|
|
half_position: 16
|
|
|
|
cover.arbeitszimmer_rebecca_rollo:
|
|
|
|
half_position: 16
|
|
|
|
cover.schlafzimmer_rollo_gross:
|
|
|
|
half_position: 16
|
|
|
|
cover.schlafzimmer_rollo_klein:
|
|
|
|
half_position: 16
|
|
|
|
|
|
|
|
cover.esszimmer_fenster_rollo:
|
|
|
|
half_position: 25
|
|
|
|
cover.kuche_fenster_rollo:
|
|
|
|
half_position: 25
|
|
|
|
cover.wohnzimmer_fenster_rollo:
|
|
|
|
half_position: 25
|
|
|
|
cover.wohnzimmer_terrassentur_rollo:
|
|
|
|
half_position: 25
|
|
|
|
|
|
|
|
|
2019-07-03 22:06:11 +02:00
|
|
|
zone:
|
|
|
|
- name: Uni
|
|
|
|
latitude: 49.573626
|
|
|
|
longitude: 11.029467
|
|
|
|
radius: 30
|
|
|
|
icon: mdi:office-building
|
|
|
|
|
|
|
|
owntracks:
|
|
|
|
max_gps_accuracy: 200
|
|
|
|
waypoints: false
|
|
|
|
|
|
|
|
|
2019-07-04 22:52:20 +02:00
|
|
|
homekit:
|
2019-07-07 17:31:38 +02:00
|
|
|
name: !secret homekit_name
|
2019-07-04 22:52:20 +02:00
|
|
|
filter:
|
|
|
|
include_domains:
|
|
|
|
- scene
|
2019-07-15 21:38:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
history:
|
|
|
|
ios:
|
2019-07-21 17:51:10 +02:00
|
|
|
shopping_list:
|
2019-07-15 21:38:30 +02:00
|
|
|
|
|
|
|
|
2019-07-15 22:02:40 +02:00
|
|
|
#http:
|
|
|
|
# - base_url: ha.bauer.tech
|
|
|
|
|
2019-07-15 21:38:30 +02:00
|
|
|
telegram_bot:
|
2019-07-15 21:42:40 +02:00
|
|
|
- platform: webhooks
|
|
|
|
parse_mode: html
|
2019-07-15 22:02:40 +02:00
|
|
|
url: https://ha.bauer.tech
|
2019-07-15 21:38:30 +02:00
|
|
|
api_key: !secret telegram_token
|
|
|
|
allowed_chat_ids:
|
|
|
|
- !secret telegram_chatid_martin
|
2019-07-15 21:42:40 +02:00
|
|
|
trusted_networks:
|
2019-07-15 22:02:40 +02:00
|
|
|
- 127.0.0.1/32
|
|
|
|
- 192.168.178.80
|
2019-07-15 21:42:40 +02:00
|
|
|
- 149.154.167.197/32
|
|
|
|
- 149.154.167.198/31
|
|
|
|
- 149.154.167.200/29
|
|
|
|
- 149.154.167.208/28
|
|
|
|
- 149.154.167.224/29
|
|
|
|
- 149.154.167.232/31
|
2019-07-15 21:38:30 +02:00
|
|
|
|
|
|
|
notify:
|
|
|
|
- name: telegram_martin
|
|
|
|
platform: telegram
|
|
|
|
chat_id: !secret telegram_chatid_martin
|
2019-07-04 22:52:20 +02:00
|
|
|
|
|
|
|
|
2019-06-21 01:58:58 +02:00
|
|
|
# Custom stuff
|
2019-06-19 16:12:22 +02:00
|
|
|
dimmer:
|
2019-06-21 01:58:58 +02:00
|
|
|
cover_half:
|
|
|
|
|
2019-06-19 16:12:22 +02:00
|
|
|
|
|
|
|
#logger:
|
|
|
|
# default: info
|
|
|
|
# logs:
|
|
|
|
# xknx.telegram: debug
|
|
|
|
# xknx.knx: debug
|
2019-06-11 19:28:39 +02:00
|
|
|
|
2019-06-02 14:34:08 +02:00
|
|
|
# Sensors
|
|
|
|
#sensor:
|
|
|
|
# Weather prediction
|
|
|
|
# - platform: yr
|
|
|
|
|
|
|
|
tts:
|
2019-06-19 16:12:22 +02:00
|
|
|
- platform: watson_tts
|
2019-06-30 22:15:52 +02:00
|
|
|
watson_apikey: !secret watson_api_key
|
2019-06-19 16:12:22 +02:00
|
|
|
watson_url: https://gateway-lon.watsonplatform.net/text-to-speech/api
|
|
|
|
voice: de-DE_BirgitVoice
|
2019-06-19 19:22:06 +02:00
|
|
|
output_format: audio/flac
|
|
|
|
output_audio_rate: 44100
|
2019-06-02 14:34:08 +02:00
|
|
|
|
2019-06-30 22:15:52 +02:00
|
|
|
|
2019-06-02 14:34:08 +02:00
|
|
|
knx:
|
|
|
|
rate_limit: 20
|
|
|
|
tunneling:
|
2019-06-30 22:15:52 +02:00
|
|
|
host: !secret knxd_host
|
2019-06-02 14:34:08 +02:00
|
|
|
port: 3671
|
2019-06-30 22:15:52 +02:00
|
|
|
local_ip: !secret local_ip
|
|
|
|
|
2019-06-02 14:34:08 +02:00
|
|
|
|
|
|
|
fhem:
|
2019-06-19 16:12:22 +02:00
|
|
|
host: server
|
2019-06-02 14:34:08 +02:00
|
|
|
port: 7072
|
|
|
|
cul_device_name: CUL_HM
|
|
|
|
|
|
|
|
|
2019-06-19 19:22:06 +02:00
|
|
|
lirc_network:
|
|
|
|
- host: kitchenpi
|
|
|
|
port: 2222
|
|
|
|
- host: bedroompi
|
|
|
|
port: 2222
|
|
|
|
|
|
|
|
|
2019-06-19 16:12:22 +02:00
|
|
|
media_player:
|
2019-06-23 20:38:58 +02:00
|
|
|
- platform: squeezebox_telnet
|
2019-06-19 16:12:22 +02:00
|
|
|
host: server
|
|
|
|
- platform: denonavr
|
|
|
|
host: avreceiver
|
|
|
|
|
|
|
|
|
2019-06-30 19:37:32 +02:00
|
|
|
vacuum:
|
|
|
|
- platform: xiaomi_miio
|
|
|
|
host: rockrobo
|
2019-06-30 22:57:34 +02:00
|
|
|
token: !secret vacuum_token
|
2019-06-30 19:37:32 +02:00
|
|
|
|
|
|
|
|
2019-07-07 17:31:38 +02:00
|
|
|
sensor:
|
2019-07-21 17:51:10 +02:00
|
|
|
- platform: template
|
|
|
|
sensors:
|
|
|
|
motion_combined:
|
|
|
|
friendly_name: Bewegung
|
|
|
|
value_template: >
|
|
|
|
{%- set pirs = {'Arbeitszimmer': states.binary_sensor.arbeitszimmer_martin_bewegungsmelder_bewegung,
|
|
|
|
'Gang Mitte': states.binary_sensor.gang_bewegungsmelder_mitte,
|
|
|
|
'Eingang': states.binary_sensor.gang_bewegungsmelder_ost,
|
|
|
|
'Gang Hinten': states.binary_sensor.gang_bewegungsmelder_schlafzimmer,
|
|
|
|
'Gang Wohnzimmer': states.binary_sensor.gang_bewegungsmelder_wohnzimmer} %}
|
|
|
|
{% for pir_name, pir in pirs.items() %}
|
|
|
|
{% if as_timestamp(pir.last_changed) == as_timestamp(pirs.values() | map(attribute='last_changed') | max) %}
|
|
|
|
{{ pir_name }}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2019-07-07 17:31:38 +02:00
|
|
|
- platform: history_stats
|
|
|
|
name: Pool Pumpe Heute
|
|
|
|
entity_id: switch.pool_pumpe
|
|
|
|
type: time
|
|
|
|
state: 'on'
|
|
|
|
start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
|
|
|
|
end: '{{ now() }}'
|
|
|
|
- platform: history_stats
|
|
|
|
name: Pool Pumpe Gestern
|
|
|
|
entity_id: switch.pool_pumpe
|
|
|
|
type: time
|
|
|
|
state: 'on'
|
|
|
|
start: '{{ as_timestamp(now().replace(hour=0).replace(minute=0).replace(second=0)) - (60*60 * 24) }}'
|
|
|
|
end: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'
|
|
|
|
|
|
|
|
|
2019-06-02 14:34:08 +02:00
|
|
|
group: !include groups.yaml
|
|
|
|
automation: !include automations.yaml
|
|
|
|
script: !include scripts.yaml
|
2019-06-19 22:10:13 +02:00
|
|
|
scene: !include scenes.yaml
|