homeassistant: name: Tannenhof latitude: 47.673915 longitude: 9.198320 elevation: 410 unit_system: metric time_zone: Europe/Berlin customize: !include customize.yaml whitelist_external_dirs: - '/snapshots' zone: - name: HTWG latitude: 47.6677028 longitude: 9.1669044 radius: 250 icon: mdi:school - name: Work latitude: 47.6626744 longitude: 9.1721211 icon: mdi:briefcase # Enables the frontend frontend: themes: !include midnight.yaml #logger: # default: critical # logs: # homeassistant.components.http.ban: warning system_health: # Enables configuration UI config: #emulated_hue: octoprint: host: 192.168.1.126 port: 5000 bed: true number_of_tools: 1 api_key: 4C627EC30E884B1D9B65A7058FC67925 weather: - platform: openweathermap name: Weather api_key: a4ed09bb6876088218126eb856cc06b5 map: ffmpeg: ffmpeg_bin: /usr/bin/ffmpeg camera: - platform: ffmpeg name: Webcam input: -i /dev/video0 homekit: filter: exclude_domains: - script - automation exclude_entities: - switch.coverdirection - switch.coverenable - switch.lightrelay logbook: history: input_number: porch_animation_speed: name: LED Strip Animation Speed initial: 150 min: 1 max: 150 step: 10 device_tracker: - platform: fritz host: 192.168.1.1 new_device_defaults: track_new_devices: False hide_if_away: False mobile_app: mqtt: password: Mindabew1 pi_hole: host: 192.168.1.3 sensor: - platform: command_line name: CPU Temperature command: "cat /sys/class/thermal/thermal_zone0/temp" # If errors occur, remove degree symbol below unit_of_measurement: "°C" value_template: '{{ value | multiply(0.001) | round(1) }}' - platform: netdata host: 5.45.105.15 resources: load: data_group: system.load element: load15 cpu: data_group: system.cpu element: system - platform: dht sensor: DHT22 pin: 18 monitored_conditions: - temperature - humidity - platform: fritzbox_callmonitor host: 192.168.1.1 name: Phone username: homeassistant password: !secret fritz_password phonebook: 0 prefixes: - '+49' - platform: mqtt state_topic: "/sensor/dht/humidity" name: "Outside Humidity" unit_of_measurement: "%" value_template: '{{ value | round(1) }}' - platform: mqtt state_topic: "/sensor/dht/temperature" name: "Outside Temperature" unit_of_measurement: "°C" value_template: '{{ value | round(1) }}' binary_sensor: - platform: rpi_gpio ports: 14: pir - platform: mqtt name: 'Door' state_topic: '/sensor/door/state' payload_on: 1 payload_off: 0 - platform: mqtt name: 'BlindsLeft' state_topic: '/BlindsLeft/Open/State' payload_on: 1 payload_off: 0 - platform: mqtt name: 'BlindsLeft' state_topic: '/BlindsLeft/Close/State' payload_on: 1 payload_off: 0 history_graph: temperature: name: Temperature entities: - sensor.dht_sensor_temperature hours_to_show: 12 refresh: 60 humidity: name: Humidity refresh: 60 entities: - sensor.dht_sensor_humidity hours_to_show: 12 pihole: name: Queries over the last 24 hours refresh: 60 entities: - sensor.pi_hole_ads_blocked_today - sensor.pi_hole_dns_queries_today hours_to_show: 24 octoprint: name: OctoPrint refresh: 1 entities: - sensor.octoprint_actual_bed_temp - sensor.octoprint_actual_tool0_temp - sensor.octoprint_target_bed_temp - sensor.octoprint_target_tool0_temp hours_to_show: 1 light: - platform: flux_led devices: 192.168.1.104: name: Davids Led Strip 192.168.1.105: name: Led Strip Ceiling 192.168.1.123: name: Led Strip Bed - platform: group name: LED Strips entities: - light.led_strip_ceiling - light.led_strip_bed - platform: template lights: hdmi: friendly_name: "HDMI" turn_on: service: shell_command.turn_on_hdmi turn_off: service: shell_command.turn_off_hdmi room_light: friendly_name: "Room Light" turn_on: service: switch.turn_on entity_id: switch.lightrelay turn_off: service: switch.turn_off entity_id: switch.lightrelay - platform: mqtt name: "WS2812B Strip" state_topic: "bruh/porch" command_topic: "bruh/porch/set" effect_list: - bpm - candy cane - confetti - cyclon rainbow - dots - fire - glitter - juggle - lightning - noise - police all - police one - rainbow - rainbow with glitter - ripple - sinelon - solid - twinkle optimistic: false qos: 0 switch: - platform: wake_on_lan name: Desktop mac: "4C-ED-FB-94-9D-24" host: 192.168.1.10 turn_off: service: shell_command.turn_off_desktop - platform: mqtt name: "Bedroom Switch" state_topic: "bruh/wifirelay" command_topic: "bruh/wifirelay/set" payload_on: "ON" payload_off: "OFF" state_on: "ON" state_off: "OFF" optimistic: true qos: 0 - platform: rpi_rf gpio: 24 switches: lightrelay: pulselength: 315 code_on: 999915 code_off: 999910 anet: code_on: 17745 code_off: 17748 subwoofer: code_on: 20817 code_off: 20820 coverdirection: pulselength: 315 code_on: 999925 code_off: 999920 coverenable: pulselength: 315 code_on: 999935 code_off: 999930 media_player: - platform: spotify client_id: !secret spotify_client_id client_secret: !secret spotify_client_secret scan_interval: 10 cover: - platform: template covers: blinds: friendly_name: "Rollladen" position_template: "50" open_cover: service: script.coverup close_cover: service: script.coverdown stop_cover: service: script.coverstop - platform: mqtt command_topic: "/BlindsLeft/Cover/Set" payload_open: 1 payload_close: 2 payload_stop: 3 state_topic: "/ha/cover/state" state_open: 1 state_closed: 2 shell_command: turn_off_desktop: 'echo net rpc shutdown --ipaddress 192.168.1.10 --user Joshua%CYNTWyZkRBFik | ssh pi@192.168.1.3' turn_on_hdmi: 'echo vcgencmd display_power 1 | ssh pi@192.168.1.4' turn_off_hdmi: 'echo vcgencmd display_power 0 | ssh pi@192.168.1.4' api: alexa: smart_home: filter: exclude_domains: - automation - group exclude_entities: - sensor.octoprint_target_bed_temp - sensor.octoprint_target_tool0_temp - switch.coverdirection - switch.coverenable - switch.lightrelay http: base_url: http://localhost:8123 #base_url: https://home.rutschmann.tech #ssl_profile: intermediate #ssl_certificate: /config/ssl/fullchain.pem #ssl_key: /config/ssl/privkey.pem ifttt: key: !secret webhooks_key sun: group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml