# Configure a default setup of Home Assistant (frontend, api, etc) default_config: # Text to speech tts: - platform: google_translate # Wake on lan wake_on_lan: # Google maps device_tracker: - platform: google_maps username: "kenwood364@gmail.com" # Discord notify: - platform: discord name: lab_discord token: !secret discord_token - name: lab_server platform: group services: - service: lab_discord data: target: '505468673754923049' # Motion Detection binary_sensor: - platform: ffmpeg_motion name: Foyer Motion Detection input: !secret foyer_camera_url - platform: ffmpeg_motion name: Front Porch input: !secret front_porch_camera_url - platform: ffmpeg_motion name: Lab Camera input: !secret lab_camera_url # Device tracker - platform: template sensors: people_home: value_template: >- {{ is_state('person.joe', 'home') or is_state('person.mark', 'home') or is_state('person.dawn', 'home') }} # Alerts alert: shop_door: # Alert if the shop door is left open name: Shop Door is open message: Alert! The downstairs door is propped open <@377660880323608576>! done_message: The shop door is closed again. entity_id: binary_sensor.shop_door_sensor state: "on" repeat: 15 can_acknowledge: true skip_first: true notifiers: - lab_server # Octoprint octoprint: host: 10.85.5.31 api_key: !secret octoprint_api_key # Projectors and media players media_player: - platform: pjlink name: Lab Projector host: 10.85.5.33 # Poe switch! switch: - platform: command_line switches: lab_camera_power: command_on: bash /config/scripts/hpe_switch.sh 2 on command_off: bash /config/scripts/hpe_switch.sh 2 off group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml camera: !include cameras.yaml