homeassistant-config/config_creation/manual_config.yaml

275 lines
6.3 KiB
YAML
Raw Normal View History

2019-06-02 14:34:08 +02:00
# Configure a default setup of Home Assistant (frontend, api, etc)
#default_config:
frontend:
mobile_app:
person:
sun:
system_health:
updater:
#input_boolean:
#input_datetime:
#input_number:
#input_select:
#input_text:
2019-06-02 14:34:08 +02:00
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
http:
base_url: https://ha.bauer.tech
2019-06-02 14:34:08 +02:00
# Di over some devices automatically
2019-06-02 14:34:08 +02:00
#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-11-30 17:14:40 +01:00
# enable configuration editor
config:
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
homekit:
name: !secret homekit_name
filter:
include_domains:
- scene
history:
exclude:
domains:
- automation
- updater
- scene
ios:
2019-07-21 17:51:10 +02:00
shopping_list:
2019-07-15 22:02:40 +02:00
#http:
# - base_url: ha.bauer.tech
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
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
notify:
- name: telegram_martin
platform: telegram
chat_id: !secret telegram_chatid_martin
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:
2020-04-26 15:27:53 +02:00
long_click:
duration: 0.6
2020-04-26 15:27:53 +02:00
switches:
- switch.esszimmer_szene_0
- switch.esszimmer_szene_1
- switch.esszimmer_szene_2
- switch.esszimmer_szene_3
- switch.esszimmer_szene_4
- switch.esszimmer_szene_5
- switch.wohnzimmer_szene_0
- switch.wohnzimmer_szene_1
- switch.wohnzimmer_szene_2
- switch.wohnzimmer_szene_3
- switch.wohnzimmer_szene_4
- switch.wohnzimmer_szene_5
2020-04-26 15:27:53 +02:00
- switch.eingang_szene_2
- switch.eingang_szene_3
- switch.eingang_szene_4
- switch.eingang_szene_5
2019-06-19 16:12:22 +02:00
2019-12-02 20:18:14 +01:00
logger:
default: info
2019-12-02 21:22:02 +01:00
logs:
custom_components.fhem: debug
#custom_components: debug
#custom_components.reconnecting_client: 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
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
output_format: audio/flac
output_audio_rate: 44100
2019-06-02 14:34:08 +02:00
2019-06-02 14:34:08 +02:00
knx:
rate_limit: 20
tunneling:
host: 192.168.178.65
2019-06-02 14:34:08 +02:00
port: 3671
fhem:
host: localhost
2019-06-02 14:34:08 +02:00
port: 7072
cul_device_name: CUL_HM
2020-01-02 21:26:37 +01:00
zwave:
usb_path: /dev/serial/by-id/usb-0658_0200-if00
2020-01-02 21:26:37 +01:00
network_key: "0xE0, 0x64, 0x50, 0x55, 0x20, 0x63, 0xC7, 0x05, 0x62, 0xD3, 0xEA, 0x91, 0x87, 0xE0, 0x1E, 0x74"
2019-06-02 14:34:08 +02:00
lirc_network:
- host: kitchenpi.fritz.box
port: 2222
- host: bedroompi.fritz.box
port: 2222
- host: esszimmerradio.fritz.box
2019-11-30 16:56:49 +01:00
port: 8765
- host: musikserverWohnzimmerOben.fritz.box
2019-11-30 16:56:49 +01:00
port: 8765
2020-04-19 15:59:51 +02:00
binary_sensor:
- platform: lirc_network # sensor to show for each host if it is currently connected
2019-06-19 16:12:22 +02:00
media_player:
2019-06-23 20:38:58 +02:00
- platform: squeezebox_telnet
host: server.fritz.box
- platform: squeezebox_telnet
host: musikserverWohnzimmerOben.fritz.box
2019-06-19 16:12:22 +02:00
- platform: denonavr
host: avreceiver.fritz.box
2019-06-19 16:12:22 +02:00
vacuum:
- platform: xiaomi_miio
host: rockrobo.fritz.box
2019-06-30 22:57:34 +02:00
token: !secret vacuum_token
2019-11-30 17:55:30 +01:00
sensor:
- 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-12-01 12:49:41 +01:00
- platform: time_date
display_options:
- 'time'
- 'date'
- 'date_time'
- 'date_time_iso'
- 'time_date'
# - 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
scene: !include_dir_merge_list scenes
# Light groups
light:
- platform: group
name: Küche & Esszimmer Lichter
entities:
- light.kuche_deckenlampe
- light.esszimmer_deckenlampe_west
- light.esszimmer_deckenlampe_mitte
- light.kuche_links
- light.kuche_rechts
- light.kuche_vorne
- platform: group
name: Wohnzimmer Lichter
entities:
- light.wohnzimmer_deckenlampe
- light.wohnzimmer_kugel
- light.wohnzimmer_stehlampe
- light.wohnzimmer_stehlampe_oben
- light.wohnzimmer_regal_rechts
- light.wohnzimmer_regal_links
- platform: group
name: Garten Lichter
entities:
- light.garten_spot_birke
- light.garten_spot_magnolie
- light.garten_spot_beet
- light.garten_stehleuchte
- light.aussen_terassenlicht