101 lines
2 KiB
YAML
101 lines
2 KiB
YAML
|
|
# Configure a default setup of Home Assistant (frontend, api, etc)
|
|
default_config:
|
|
|
|
# Text to speech
|
|
tts:
|
|
- platform: google_translate
|
|
|
|
group: !include groups.yaml
|
|
automation: !include automations.yaml
|
|
script: !include scripts.yaml
|
|
scene: !include scenes.yaml
|
|
|
|
climate:
|
|
- platform: myicomfort
|
|
name: thermostat
|
|
username: cochrun
|
|
password: Jesusfreak#21
|
|
system: 0
|
|
zone: 0
|
|
min_temp: 68
|
|
max_temp: 80
|
|
cloud_svc: lennox
|
|
|
|
android_ip_webcam:
|
|
- host: 192.168.1.13
|
|
port: 8000
|
|
sensors:
|
|
- audio_connections
|
|
- battery_level
|
|
- battery_temp
|
|
- battery_voltage
|
|
- light
|
|
- motion
|
|
- pressure
|
|
- proximity
|
|
- sound
|
|
- video_connections
|
|
switches:
|
|
- exposure_lock
|
|
- ffc
|
|
- focus
|
|
- gps_active
|
|
- motion_detect
|
|
- night_vision
|
|
- overlay
|
|
- torch
|
|
- whitebalance_lock
|
|
- video_recording
|
|
|
|
|
|
device_tracker:
|
|
- platform: netgear
|
|
host: 192.168.1.1
|
|
password: !secret router_password
|
|
interval_seconds: 20
|
|
consider_home: 240
|
|
new_device_defaults:
|
|
track_new_devices: true
|
|
|
|
image_processing:
|
|
- platform: doods
|
|
url: http://192.168.1.2:7890
|
|
scan_interval: 6
|
|
detector: default
|
|
source:
|
|
- entity_id: camera.ip_webcam
|
|
file_out:
|
|
- "/config/www/doods.jpg"
|
|
confidence: 50
|
|
# This global detection area is required for all labels
|
|
area:
|
|
# Exclude top 10% of image
|
|
top: 0.05
|
|
# Exclude right 5% of image
|
|
right: 0.95
|
|
left: 0.05
|
|
# The entire detection must be inside this box
|
|
covers: true
|
|
labels:
|
|
- name: person
|
|
confidence: 60
|
|
- name: car
|
|
confidence: 50
|
|
- name: truck
|
|
confidence: 50
|
|
|
|
camera:
|
|
- platform: generic
|
|
name: doods_cam
|
|
still_image_url: https://home.cochrun.xyz/local/doods.jpg
|
|
|
|
shell_command:
|
|
notify_from_server: ssh 192.168.1.3 notify-send hello from homeassistant
|
|
|
|
http:
|
|
use_x_forwarded_for: true
|
|
trusted_proxies:
|
|
- 172.26.0.2
|
|
- ::1
|