Added new back door camera

This commit is contained in:
Ashish D'Souza 2023-10-09 18:08:37 -05:00
parent 2845979497
commit 82b36aa708
2 changed files with 27 additions and 36 deletions

View File

@ -30,31 +30,6 @@ cameras:
motion: motion:
mask: mask:
- 1384,1058,1384,1009,1872,1009,1872,1058 # Timestamp - 1384,1058,1384,1009,1872,1009,1872,1058 # Timestamp
front_door:
enabled: true
ffmpeg:
inputs:
- path: 'rtsp://{FRIGATE_FRONT_DOOR_RTSP_USERNAME}:{FRIGATE_FRONT_DOOR_RTSP_PASSWORD}@192.168.0.108:554/live/ch0'
roles:
- detect
- record
hwaccel_args: preset-intel-qsv-h264 # Use Intel QSV hardware acceleration for H.264
output_args:
record: preset-record-generic-audio-aac # Record with aac audio
detect:
enabled: true
width: 1920
height: 1080
motion:
mask:
- 361,96,565,0,0,0,0,304 # Sidewalk
- 1445,0,1444,46,1920,46,1920,0 # Timestamp
objects:
filters:
person:
mask:
- 167,1080,511,1080,328,744,234,456,140,451,0,509,0,804 # Flower bed and hedge
- 1153,847,1112,838,1042,896,1023,988,1023,1080,1525,1080 # Drainpipe
doorbell: doorbell:
enabled: true enabled: true
ffmpeg: ffmpeg:
@ -80,6 +55,31 @@ cameras:
zones: zones:
front_door_zone: front_door_zone:
coordinates: 964,677,1920,1080,0,1080,539,754 # Near front door coordinates: 964,677,1920,1080,0,1080,539,754 # Near front door
front_door:
enabled: true
ffmpeg:
inputs:
- path: 'rtsp://{FRIGATE_FRONT_DOOR_RTSP_USERNAME}:{FRIGATE_FRONT_DOOR_RTSP_PASSWORD}@192.168.0.108:554/live/ch0'
roles:
- detect
- record
hwaccel_args: preset-intel-qsv-h264 # Use Intel QSV hardware acceleration for H.264
output_args:
record: preset-record-generic-audio-aac # Record with aac audio
detect:
enabled: true
width: 1920
height: 1080
motion:
mask:
- 361,96,565,0,0,0,0,304 # Sidewalk
- 1445,0,1444,46,1920,46,1920,0 # Timestamp
objects:
filters:
person:
mask:
- 167,1080,511,1080,328,744,234,456,140,451,0,509,0,804 # Flower bed and hedge
- 1153,847,1112,838,1042,896,1023,988,1023,1080,1525,1080 # Drainpipe
driveway: driveway:
enabled: false enabled: false
ffmpeg: ffmpeg:
@ -99,7 +99,7 @@ cameras:
enabled: true enabled: true
ffmpeg: ffmpeg:
inputs: inputs:
- path: 'rtsp://{FRIGATE_BACK_DOOR_RTSP_USERNAME}:{FRIGATE_BACK_DOOR_RTSP_PASSWORD}@192.168.0.111:554/live/ch0' - path: 'rtsp://{FRIGATE_BACK_DOOR_RTSP_USERNAME}:{FRIGATE_BACK_DOOR_RTSP_PASSWORD}@192.168.0.202:554/live'
roles: roles:
- detect - detect
- record - record
@ -110,15 +110,6 @@ cameras:
enabled: true enabled: true
width: 1920 width: 1920
height: 1080 height: 1080
motion:
mask:
- 1920,46,1442,46,1442,0,1920,0 # Timestamp
objects:
filters:
person:
mask:
- 242,534,609,527,534,848,89,836 # Plants on patio
- 681,528,832,522,876,834,635,829 # Logs on patio
family_room: family_room:
enabled: false enabled: false
ffmpeg: ffmpeg:

View File

@ -24,7 +24,7 @@ services:
FRIGATE_DOORBELL_RTSP_PASSWORD: ${FRIGATE_DOORBELL_RTSP_PASSWORD} FRIGATE_DOORBELL_RTSP_PASSWORD: ${FRIGATE_DOORBELL_RTSP_PASSWORD}
FRIGATE_DRIVEWAY_RTSP_USERNAME: admin FRIGATE_DRIVEWAY_RTSP_USERNAME: admin
FRIGATE_DRIVEWAY_RTSP_PASSWORD: ${FRIGATE_DRIVEWAY_RTSP_PASSWORD} FRIGATE_DRIVEWAY_RTSP_PASSWORD: ${FRIGATE_DRIVEWAY_RTSP_PASSWORD}
FRIGATE_BACK_DOOR_RTSP_USERNAME: motion FRIGATE_BACK_DOOR_RTSP_USERNAME: frigate
FRIGATE_BACK_DOOR_RTSP_PASSWORD: ${FRIGATE_BACK_DOOR_RTSP_PASSWORD} FRIGATE_BACK_DOOR_RTSP_PASSWORD: ${FRIGATE_BACK_DOOR_RTSP_PASSWORD}
FRIGATE_FAMILY_ROOM_RTSP_USERNAME: frigate FRIGATE_FAMILY_ROOM_RTSP_USERNAME: frigate
FRIGATE_FAMILY_ROOM_RTSP_PASSWORD: ${FRIGATE_FAMILY_ROOM_RTSP_PASSWORD} FRIGATE_FAMILY_ROOM_RTSP_PASSWORD: ${FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}