Updated configuration
This commit is contained in:
parent
9d490f8ce4
commit
ee983c305d
|
@ -27,6 +27,9 @@ cameras:
|
|||
enabled: true
|
||||
width: 1920
|
||||
height: 1080
|
||||
motion:
|
||||
mask:
|
||||
- 1384,1058,1384,1009,1872,1009,1872,1058 # Timestamp
|
||||
front_door:
|
||||
enabled: true
|
||||
ffmpeg:
|
||||
|
@ -42,13 +45,15 @@ cameras:
|
|||
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:
|
||||
#- 165,777,140,451,0,509,0,817 # Flower bed
|
||||
- 167,1080,511,1080,328,744,234,456,140,451,0,509,0,804 # Flower bed and hedge
|
||||
- 359,85,542,0,0,0,0,288 # Sidewalk
|
||||
- 1153,847,1112,838,1042,896,1023,988,1023,1080,1525,1080 # Drainpipe
|
||||
doorbell:
|
||||
enabled: true
|
||||
|
@ -74,9 +79,9 @@ cameras:
|
|||
- front_door_zone
|
||||
zones:
|
||||
front_door_zone:
|
||||
coordinates: 957,783,1920,1080,0,1080,539,817
|
||||
coordinates: 964,677,1920,1080,0,1080,539,754 # Near front door
|
||||
driveway:
|
||||
enabled: true
|
||||
enabled: false
|
||||
ffmpeg:
|
||||
inputs:
|
||||
- path: 'rtsp://{FRIGATE_DRIVEWAY_RTSP_USERNAME}:{FRIGATE_DRIVEWAY_RTSP_PASSWORD}@192.168.0.148:5543/live/channel1'
|
||||
|
@ -105,6 +110,9 @@ cameras:
|
|||
enabled: true
|
||||
width: 1920
|
||||
height: 1080
|
||||
motion:
|
||||
mask:
|
||||
- 1920,46,1442,46,1442,0,1920,0 # Timestamp
|
||||
objects:
|
||||
filters:
|
||||
person:
|
||||
|
|
|
@ -35,7 +35,7 @@ class FrigateEventListener:
|
|||
|
||||
if not self.camera_zones[camera]:
|
||||
# No required zones, send notification on receipt of new event
|
||||
if payload['type'] == 'new' and object_label == 'person':
|
||||
if payload['type'] == 'new':
|
||||
event_id = payload['after']['id']
|
||||
score = payload['after']['top_score']
|
||||
|
||||
|
|
Loading…
Reference in New Issue