[Support]: Frigate detecting 2 separate events which start and end and then stitches them up to 1 event. #12144
-
Describe the problem you are havingI'm pretty happy with my frigate installation but here is a little thing that keeps bothering me. I live in an apartment bulding and I have a front door camera pointing at elevators. Here is the thing I'm getting: I have an automation setup in homeassistant which is triggered when a frigate event ends and grabs the event id and sends me a notification with full link to the video or snapshot. Sometimes what happens is I get a notification with a link to a short video like 8-10 seconds and it ends with elevator doors opening and person just about to come out. Then I get a second notification with a link to a short video about same length where person is exiting the elevator and going to their door that's where the video ends. Finally I'm getting the 3rd notification with a link to the full video which is from the beginning to the end. Interestingly enough, after I get the last notification with a full video the first 2 links that I got with short videos no longer work, as that event is gone from the system. My question is that how do I configure it so that it sends me the full event and not its parts. Here is the automation. Any help is appreciated. Thank you. If any other information is needed I'll be happy to provide. Here is my automation:
Version0.13.2-6476F8A Frigate config filego2rtc:
streams:
doorbell:
- rtsp:https://user:[email protected]/cam/realmonitor?channel=1&subtype=0
- ffmpeg:doorbell#audio=opus
doorbell_sub:
- rtsp:https://user:[email protected]/cam/realmonitor?channel=1&subtype=1
- ffmpeg:doorbell_sub#audio=opus
webrtc:
listen: :8555 # address of your local server (TCP)
candidates:
- x.x.x.x:8555 # if you have dynamic public IP-address
ffmpeg:
output: -user_agent ffmpeg/go2rtc -rtsp_transport tcp -f rtsp {output}
hwaccel_args: preset-vaapi
api:
origin: '*'
rtsp:
listen: :8554
log:
level: info # default level
api: trace
exec: debug
rtsp: warn
streams: trace
webrtc: fatal
####FRIGATE CONFIG BELOW####
ffmpeg:
hwaccel_args: preset-vaapi
mqtt:
host: ha
user: user
password: pass
#
database:
path: /media/frigate/frigate.db
#
#
detectors:
coral:
type: edgetpu
device: usb
#
snapshots:
enabled: true
quality: 100
height: 360
#
record:
enabled: true
sync_recordings: true
retain:
days: 7
mode: motion
events:
retain:
default: 7
mode: active_objects
#
birdseye:
enabled: true
restream: true
width: 1280
height: 720
quality: 1
mode: continuous #objects #motion
#
cameras:
frigate_doorbell:
enabled: true
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp:https://localhost:8554/doorbell
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp:https://localhost:8554/doorbell_sub
input_args: preset-rtsp-restream
roles:
- detect
detect:
width: 640
height: 360
motion:
mask:
- 400,31,612,32,613,0,404,0 Relevant log outputn/a FFprobe output from your cameran/a Frigate statsn/a Operating systemProxmox Install methodDocker Compose Object DetectorCoral Network connectionWired Camera make and modelamcrest Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
this is most likely multiple "events" (person objects) getting detected, frigate has logic to remove duplicates in 0.13 so most likely that is why they are no longer visible. I can't think of a good way to weed out those in 0.13 Frigate 0.14 (currently in beta) has a new type of review system along with a new /reviews topic that combimes multiple detections into a single review item allowing for simpler notifications, automations, etc. |
Beta Was this translation helpful? Give feedback.
this is most likely multiple "events" (person objects) getting detected, frigate has logic to remove duplicates in 0.13 so most likely that is why they are no longer visible. I can't think of a good way to weed out those in 0.13
Frigate 0.14 (currently in beta) has a new type of review system along with a new /reviews topic that combimes multiple detections into a single review item allowing for simpler notifications, automations, etc.