# Configure a default setup of Home Assistant (frontend, api, etc) #default_config: frontend: themes: !include_dir_merge_named themes mobile_app: person: sun: system_health: #logbook: input_boolean: input_datetime: input_number: input_select: input_text: timer: media_source: # Uncomment this if you are using SSL/TLS, running in Docker container, etc. http: use_x_forwarded_for: true trusted_proxies: 192.168.178.80 homeassistant: name: MyHome latitude: 49.369477 longitude: 10.9831468 country: DE currency: EUR external_url: https://ha.bauer.tech internal_url: https://ha.bauer.tech auth_mfa_modules: - type: totp customize: cover.arbeitszimmer_rollo: half_position: 16 cover.kinderzimmer_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 pyscript: !include pyscript/config.yaml # enable configuration editor config: ffmpeg: # using onvif instead #camera: # - platform: generic # stream_source: rtsp://192.168.178.114:554/stream1 # name: BabyCameraHiRes # username: camera # password: !secret camera_pw # verify_ssl: false # - platform: generic # stream_source: rtsp://192.168.178.114:554/stream2 # name: BabyCameraLowRes # username: camera # password: !secret camera_pw # zone: - name: Uni latitude: 49.573626 longitude: 11.029467 radius: 30 icon: mdi:office-building owntracks: max_gps_accuracy: 200 waypoints: false history: exclude: domains: - automation - updater - scene #influxdb: # host: a0d7b954-influxdb # port: 8086 # database: home_assistant # username: home_assistant # password: home_assistant # max_retries: 3 # default_measurement: state ios: actions: - name: az_oben_licht background_color: "#0da9f0" label: text: "AZ Oben Licht" color: "#ffffff" icon: icon: floor_lamp_torchiere color: "#ffffff" show_in_carplay: false show_in_watch: true - name: kz_regal background_color: "#e62768" label: text: "Regal" color: "#ffffff" icon: icon: teddy_bear color: "#ffffff" show_in_carplay: false show_in_watch: true - name: az_unten_licht background_color: "#09bad1" label: text: "AZ Unten Licht" color: "#ffffff" icon: icon: desk color: "#ffffff" show_in_carplay: false show_in_watch: true - name: wz_deckenlampe background_color: "#fa990a" label: text: "WZ Deckenlampe" color: "#ffffff" icon: icon: ceiling_light_outline color: "#ffffff" show_in_carplay: false show_in_watch: true - name: wohnbereich background_color: "#fa990a" label: text: "Wohnbereich" color: "#ffffff" icon: icon: table_chair color: "#fe5722" show_in_carplay: false show_in_watch: true - name: wohnzimmer background_color: "#fa990a" label: text: "Wohnzimmer" color: "#ffffff" icon: icon: sofa color: "#ffffff" show_in_carplay: false show_in_watch: true - name: essbereich background_color: "#fa990a" label: text: "Essbereich" color: "#ffffff" icon: icon: food_variant color: "#ffffff" show_in_carplay: false show_in_watch: true - name: schlafzimmer_bett_bringen background_color: "#6D4C41" label: text: "Schlafzimmer Bett bringen" color: "#ffffff" icon: icon: bed color: "#ffffff" show_in_carplay: false show_in_watch: true - name: garten_vorne background_color: "#53b057" label: text: "Eingang Garten" color: "#ffffff" icon: icon: door color: "#ffffff" show_in_carplay: true show_in_watch: true - name: garten_alles background_color: "#53b057" label: text: "Garten Alles" color: "#ffffff" icon: icon: tree color: "#ffffff" show_in_carplay: true show_in_watch: true - name: garten_sued background_color: "#53b057" label: text: "Garten Süd" color: "#ffffff" icon: icon: flower color: "#ffffff" show_in_carplay: true show_in_watch: true octoprint: - host: 192.168.178.134 api_key: !secret octopi_api_key name: PrusaPrinter number_of_tools: 1 bed: true telegram_bot: - platform: webhooks parse_mode: html url: https://ha.bauer.tech api_key: !secret telegram_token allowed_chat_ids: - !secret telegram_chatid_martin trusted_networks: - 127.0.0.1/32 - 192.168.178.80 - 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 # Custom stuff dimmer: cover_half: counter: licht_szene_oben_counter: initial: 0 step: 1 #switch: # - platform: httpsispmctl # name: esszimmer_oben_radio_steckdose # host: esszimmerradio.fritz.box # num_power_plugs: 4 long_click: duration: 0.6 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 - switch.wohnzimmer_terrassentur_szene_2 - switch.wohnzimmer_terrassentur_szene_3 - switch.eingang_szene_2 - switch.eingang_szene_3 - switch.eingang_szene_4 - switch.eingang_szene_5 logger: default: info logs: custom_components: info # #custom_components.reconnecting_client: debug # # Sensors #sensor: # Weather prediction # - platform: yr tts: - platform: watson_tts watson_apikey: !secret watson_api_key watson_url: https://gateway-lon.watsonplatform.net/text-to-speech/api voice: de-DE_BirgitVoice output_format: audio/flac output_audio_rate: 44100 alexa: smart_home: locale: de-DE #endpoint: https://api.eu.amazonalexa.com/v3/events #client_id: amzn1.application-oa2-client.a4de8a70130c4f9383b277044f07a3af #client_secret: !secret alexa_client_secret filter: include_entities: # Light Groups #- light.kuche_esszimmer_lichter #- light.arbeitszimmer_lichter # Arbeitszimmer - light.arbeitszimmer_deckenlampe - light.arbeitszimmer_fluter - light.arbeitszimmer_stehlampe_unten - light.arbeitszimmer_stehlampe_oben - cover.arbeitszimmer_rollo - scene.arbeitszimmer_orange - scene.arbeitszimmer_blau_grun - scene.arbeitszimmer_hell # Gang - light.gang_bogen - light.gang_licht - light.gang_einganglicht # Wohnbereich - cover.wohnzimmer_fenster_rollo - cover.wohnzimmer_terrassentur_rollo - cover.kuche_fenster_rollo - cover.esszimmer_fenster_rollo entity_config: cover.arbeitszimmer_rollo: display_categories: EXTERIOR_BLIND cover.wohnzimmer_fenster_rollo: display_categories: EXTERIOR_BLIND cover.wohnzimmer_terrassentur_rollo: display_categories: EXTERIOR_BLIND cover.esszimmer_fenster_rollo: display_categories: EXTERIOR_BLIND homekit: name: !secret homekit_name filter: include_entities: # -- Arbeitszimmer - light.arbeitszimmer_deckenlampe - light.arbeitszimmer_fluter - light.arbeitszimmer_stehlampe_unten - light.arbeitszimmer_stehlampe_oben - cover.arbeitszimmer_rollo - scene.arbeitszimmer_orange - scene.arbeitszimmer_blau_grun - scene.arbeitszimmer_hell # -- Gang - light.gang_bogen - light.gang_licht - light.gang_einganglicht # -- Wohnbereich - light.wohnzimmer_deckenlampe - light.kuche_deckenlampe - light.esszimmer_deckenlampe_west - light.esszimmer_deckenlampe_mitte - cover.wohnzimmer_fenster_rollo - cover.wohnzimmer_terrassentur_rollo - cover.kuche_fenster_rollo - cover.esszimmer_fenster_rollo - light.wohnzimmer_lichter - light.essbereich_lichter - light.wohnbereich_deckenlampen - scene.wohnbereich_orange - scene.wohnbereich_blau_grun - scene.wohnbereich_grun - scene.wohnbereich_hell - scene.wohnbereich_kuscheln - light.wohnzimmer_kugel - light.wohnzimmer_regal_links - light.wohnzimmer_regal_rechts - light.wohnzimmer_stehlampe - light.wohnzimmer_stehlampe_oben - light.kuche_links - light.kuche_rechts - light.kuche_vorne # -- Draussen - light.haustur_licht - light.aussen_terassenlicht - light.pool_licht - light.hochbeet_lichter - light.lichter_garten_eingang - light.gartenhaus_deckenlicht_hinten - light.gartenhaus_deckenlicht_mitte - light.gartenhaus_deckenlicht_vorne - light.gartenhaus_wandlicht # -- Schlafzimmer - light.schlafzimmer_deckenlampe - light.schlafzimmer_fluter - light.bett_martin - light.bett_rebecca - light.schlafzimmer_schrank - cover.schlafzimmer_rollo_gross - cover.schlafzimmer_rollo_klein - scene.schlafzimmer_bettlicht_dunkel - scene.schlafzimmer_blau - scene.schlafzimmer_einschlaflicht - scene.schlafzimmer_ganz_hell - scene.schlafzimmer_orange - scene.schlafzimmer_rot - script.bedroom_music_off_20 - script.bedroom_music_off_30 - script.bedroom_music_off_45 - script.bedroom_music_off_60 - script.bedroom_waves - script.bedroom_rain - script.bedroom_sleep_music_long - script.bedroom_sleep_music_short # -- Bad - light.bad_licht # -- Kinderzimmer - light.kinderzimmer_deckenlampe - cover.kinderzimmer_rollo - light.music_mouse_regal_licht google_assistant: project_id: homeassistant-d3afc service_account: !include google_assistant_service_account.json report_state: true expose_by_default: false entity_config: # Arbeitszimmer light.arbeitszimmer_deckenlampe: room: Arbeitszimmer light.arbeitszimmer_fluter: room: Arbeitszimmer light.arbeitszimmer_stehlampe_unten: room: Arbeitszimmer light.arbeitszimmer_stehlampe_oben: room: Arbeitszimmer cover.arbeitszimmer_rollo: room: Arbeitszimmer scene.arbeitszimmer_orange: room: Arbeitszimmer scene.arbeitszimmer_blau_grun: room: Arbeitszimmer scene.arbeitszimmer_hell: room: Arbeitszimmer # Gang light.gang_bogen: room: Gang light.gang_licht: room: Gang light.gang_einganglicht: room: Gang # Wohnbereich cover.wohnzimmer_fenster_rollo: room: Wohnbereich cover.wohnzimmer_terrassentur_rollo: room: Wohnbereich cover.kuche_fenster_rollo: room: Wohnbereich cover.esszimmer_fenster_rollo: room: Wohnbereich knx: !include knx_conf.yaml homematic: interfaces: rf: host: de838cd8-raspberrymatic port: 2001 resolvenames: json username: homeassistant password: !secret homematic_pw wired: host: de838cd8-raspberrymatic port: 2000 resolvenames: json username: homeassistant password: !secret homematic_pw hmip: host: de838cd8-raspberrymatic port: 2010 resolvenames: json username: homeassistant password: !secret homematic_pw groups: host: de838cd8-raspberrymatic port: 9292 resolvenames: json username: homeassistant password: !secret homematic_pw path: /groups hosts: raspberrymatic: host: de838cd8-raspberrymatic username: homeassistant password: !secret homematic_pw #zwave: # usb_path: /dev/serial/by-id/usb-0658_0200-if00 # network_key: "0xE0, 0x64, 0x50, 0x55, 0x20, 0x63, 0xC7, 0x05, 0x62, 0xD3, 0xEA, 0x91, 0x87, 0xE0, 0x1E, 0x74" sysdweb: - host: kitchenpi.fritz.box port: 10080 username: sysdweb password: !secret sysdweb_pw services: - lircd - squeezelite - shairport-sync - dht22_sensing - host: bedroompi.fritz.box port: 10080 username: sysdweb password: !secret sysdweb_pw services: - lircd - squeezelite - shairport-sync - dht22_sensing #- host: esszimmerradio.fritz.box # port: 10080 # username: sysdweb # password: !secret sysdweb_pw # services: # - lircd # - squeezelite # - shairport-sync # - sispmctl - host: musikserverwohnzimmeroben.fritz.box port: 10080 username: sysdweb password: !secret sysdweb_pw services: - irserver - squeezelite - shairport-sync - dht22_sensing - logitechmediaserver lirc_network: - host: kitchenpi.fritz.box port: 2222 - host: bedroompi.fritz.box port: 2222 # - host: esszimmerradio.fritz.box # port: 2222 - host: musikserverWohnzimmerOben.fritz.box port: 8765 - host: musicmouse.fritz.box port: 2222 binary_sensor: - platform: lirc_network # sensor to show for each host if it is currently connected - platform: sysdweb - platform: ffmpeg_noise input: rtsp://camera:1238djie!d24yu@babycamera:554/stream2 extra_arguments: -filter:a highpass=f=300,lowpass=f=2500,volume=volume=2 initial_state: false duration: 2 reset: 60 media_player: - platform: squeezebox_telnet host: server.fritz.box - platform: squeezebox_telnet host: musikserverWohnzimmerOben.fritz.box sensor: - platform: template sensors: motion_combined: friendly_name: Bewegung value_template: > {%- set pirs = {'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 %} - platform: time_date display_options: - 'time' - 'date' - 'date_time' - 'date_time_iso' - 'time_date' - platform: history_stats name: Pool Pumpe Heute entity_id: switch.poolpumpesteckdose 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.poolpumpesteckdose 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) }}' group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml scene old: !include_dir_merge_list scenes # Light groups light: - platform: group name: Essbereich 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: Wohnbereich Deckenlampen entities: - light.wohnzimmer_deckenlampe - light.kuche_deckenlampe - light.esszimmer_deckenlampe_west - light.esszimmer_deckenlampe_mitte - platform: group name: Garten Lichter entities: - light.garten_vorne - light.garten_spot_magnolie - light.garten_spot_beet - light.garten_stehleuchte - light.aussen_terassenlicht - platform: group name: Arbeitszimmer Lichter entities: - light.arbeitszimmer_deckenlampe - light.arbeitszimmer_fluter - light.arbeitszimmer_stehlampe_unten - light.arbeitszimmer_stehlampe_oben - platform: group name: Wohnbereich Lichter entities: - light.kuche_deckenlampe - light.esszimmer_deckenlampe_west - light.esszimmer_deckenlampe_mitte - light.kuche_links - light.kuche_rechts - light.kuche_vorne - light.wohnzimmer_deckenlampe - light.wohnzimmer_kugel - light.wohnzimmer_stehlampe - light.wohnzimmer_stehlampe_oben - light.wohnzimmer_regal_rechts - light.wohnzimmer_regal_links - platform: group name: Arbeitszimmer Oben Fluter entities: - light.arbeitszimmer_oben_fluter_hinten - light.arbeitszimmer_oben_fluter_vorne