72 lines
1.9 KiB
YAML
Executable File
72 lines
1.9 KiB
YAML
Executable File
|
|
# Configure a default setup of Home Assistant (frontend, api, etc)
|
|
default_config:
|
|
|
|
# Text to speech
|
|
tts:
|
|
- platform: google_translate
|
|
|
|
# Google maps
|
|
device_tracker:
|
|
- platform: google_maps
|
|
username: "kenwood364@gmail.com"
|
|
|
|
# Discord
|
|
notify:
|
|
- platform: discord
|
|
name: lab_discord
|
|
token: NzIwMDI0NDc5MTE1NTA5ODMx.Xt_9DQ.FPqUrmvBRX50dzqDI1vRTn5DEBQ
|
|
- name: lab_server
|
|
platform: group
|
|
services:
|
|
- service: lab_discord
|
|
data:
|
|
target: '505468673754923049'
|
|
|
|
# Motion Detection
|
|
binary_sensor:
|
|
- platform: ffmpeg_motion
|
|
name: Foyer Motion Detection
|
|
input: https://homeassistant:homeassistant@bluecherry.kitsunehosting.net:7001/media/mjpeg.php?id=7&multipart=true
|
|
- platform: ffmpeg_motion
|
|
name: Front Porch
|
|
input: https://homeassistant:homeassistant@bluecherry.kitsunehosting.net:7001/media/mjpeg.php?id=2&multipart=true
|
|
- platform: ffmpeg_motion
|
|
name: Lab Camera
|
|
input: https://homeassistant:homeassistant@bluecherry.kitsunehosting.net:7001/media/mjpeg.php?id=4&multipart=true
|
|
|
|
# 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') }}
|
|
|
|
# Sensors
|
|
sensor:
|
|
- platform: temper
|
|
name: Batic Air Temp
|
|
|
|
# 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
|
|
|
|
|
|
group: !include groups.yaml
|
|
automation: !include automations.yaml
|
|
script: !include scripts.yaml
|
|
scene: !include scenes.yaml
|
|
camera: !include cameras.yaml
|