home-assistant-configuration/config/packages/camera.yaml

85 lines
2.1 KiB
YAML
Executable File

###############################################################################
# @author : Jeffrey Stone
# @date : 06/10/2020
# @package : Camera
# @description : All the Camera related stuff
###############################################################################
#######################################################################
# Using the HACS Arlo Integration
aarlo:
host: https://my.arlo.com
username: !secret arlo_user
password: !secret arlo_pass
db_motion_time: 30
db_ding_time: 10
recent_time: 10
last_format: '%m-%d %H:%M'
refresh_devices_every: 2
verbose_debug: True
tfa_host: 'imap.gmail.com'
tfa_username: !secret GV_USER
tfa_password: !secret GV_PASS
# Arlo Integration
alarm_control_panel:
# Uses the custom arlo integration found in HACS
- platform: aarlo
home_mode_name: home
away_mode_name: Armed
sensor:
- platform: aarlo
monitored_conditions:
- last_capture
- total_cameras
- battery_level
- captured_today
- signal_strength
binary_sensor:
- platform: aarlo
monitored_conditions:
- motion
- sound
- ding
#######################################################################
camera:
- platform: mjpeg
name: Garage Door Cam
mjpeg_url: !secret garage_cam # foscam
- platform: aarlo
ffmpeg_arguments: '-pred 1 -q:v 2'
- platform: ffmpeg
input: !secret livingroom_cam # wyze cam v2
name: livingroom camera
- platform: ffmpeg
input: !secret kitchen_cam # wyze cam v2
name: kitchen camera
- platform: ffmpeg
input: !secret theater_cam # wyze cam v2
name: theater camera
- platform: ffmpeg
input: !secret laundry_cam # wyze cam v2
name: laundry camera
ffmpeg:
ffmpeg_bin: /usr/bin/ffmpeg
image_processing:
- platform: doods
url: http://192.168.7.187:8080
detector: default
scan_interval: 10000
source:
- entity_id: camera.driveway
file_out:
- "/media/images/{{ camera_entity.split('.')[1] }}_latest.jpg"
labels:
- name: person
confidence: 50