frigate
frigate copied to clipboard
Car nitification but no events
Describe the problem you are having
I setup automation to notify me when car drives to/from the driveway and it has been working for some time but now after upgrading I get notifications and when I tap them on my phone I get "Forbidden" message.
If I go into events there is no event for a car !
Version
0.13.1-34fb1c2
Frigate config file
# frigate.yml
detectors:
cpu1:
type: cpu
mqtt:
# Required: host name
host: xxxx
# Optional: port (default: shown below)
port: 1883
# Optional: topic prefix (default: shown below)
# WARNING: must be unique if you are running multiple instances
topic_prefix: frigate
# Optional: client id (default: shown below)
# WARNING: must be unique if you are running multiple instances
client_id: frigate
# Optional: user
user: frigate
# Optional: password
# NOTE: Environment variables that begin with 'FRIGATE_' may be referenced in {}.
# eg. password: '{FRIGATE_MQTT_PASSWORD}'
password: xxx
# Optional: interval in seconds for publishing stats (default: shown below)
stats_interval: 60
rtmp:
enabled: false
#motion:
# contour_area: 100
# delta_alpha: 0.2
# frame_alpha: 0.2
# frame_height: 80
# threshold: 25
birdseye:
# Optional: Enable birdseye view (default: shown below)
enabled: False
# Optional: Width of the output resolution (default: shown below)
width: 1280
# Optional: Height of the output resolution (default: shown below)
height: 720
# Optional: Encoding quality of the mpeg1 feed (default: shown below)
# 1 is the highest quality, and 31 is the lowest. Lower quality feeds utilize less CPU resources.
quality: 8
# Optional: Mode of the view. Available options are: objects, motion, and continuous
# objects - cameras are included if they have had a tracked object within the last 30 seconds
# motion - cameras are included if motion was detected in the last 30 seconds
# continuous - all cameras are included always
mode: continuous
cameras:
driveway:
zones:
sidewalk:
coordinates: 114,64,231,43,366,36,425,39,474,50,521,80,553,84,529,51,414,16,302,12,167,21,147,34
objects:
- car
drive_way:
coordinates: 274,47,441,62,508,76,562,189,550,260,562,286,429,352,0,352,30,207,108,66
objects:
- person
objects:
track:
- person
- car
filters:
person:
mask:
- 114,64,231,43,368,39,415,42,474,50,521,80,553,84,529,51,414,16,302,12,167,21,147,34
threshold: 0.58
min_area: 3200
# max_area: 30320
ffmpeg:
inputs:
- path: rtsp://xx:[email protected]/2
roles:
- detect
- path: rtsp://xx:[email protected]/1
roles:
- record
detect:
width: 640
height: 352
fps: 7
motion:
mask:
- 0,0,181,0,100,81,0,304
- 640,0,473,0,489,65,571,100,640,191
- 234,14,399,18,504,45,464,0,161,1,151,27
record:
enabled: true
retain:
days: 0
events:
required_zones:
- drive_way
- sidewalk
retain:
default: 5
mode: active_objects
snapshots:
enabled: True
bounding_box: True
required_zones:
- drive_way
- sidewalk
timestamp: True
retain:
default: 7
################################################
front_porch_camera:
objects:
track:
- person
filters:
person:
mask:
- 148,348,171,122,173,12,377,8,518,57,640,80,640,0,0,0,0,352
ffmpeg:
inputs:
- path: rtsp://xx:[email protected]/2
roles:
- detect
- path: rtsp://xx:[email protected]/1
roles:
- record
detect:
width: 640
height: 352
fps: 5
motion:
mask:
- 148,348,171,122,173,12,377,8,518,57,640,80,640,0,0,0,0,352
record:
enabled: true
retain:
days: 0
events:
retain:
default: 5
mode: motion
snapshots:
enabled: True
bounding_box: True
timestamp: True
retain:
default: 7
Relevant log output
NA
FFprobe output from your camera
NA
Frigate stats
No response
Operating system
HassOS
Install method
HassOS Addon
Coral version
CPU (no coral)
Network connection
Wireless
Camera make and model
Chortau
Any other information that may be helpful
No response
frigate doesn't handle notifications so that would likely be an issue with the notification automation
I understand that it doesn't handle notification but the automation picks the information from the message queue which means there is an event but there isn't. I didn't change anything except an upgrade
https://community.home-assistant.io/t/frigate-mobile-app-notifications-2-0/559732
an event is just a period of time where an object was detected, it can exist for a notification but not have met the criteria to be saved and shown in the UI
there's not really enough info here to know what happened
I am open to providing information, the problem is that car detection in general is not as good as the 0.12 version for some reason
nothing has changed in terms of the model that is used by default. Maybe your motion detection isn't sensitive or something else is going on, only way to know for sure is to watch the debug live view
Looking at the debug window, I see the car detected but nothing gets recorded. I also see the CPU usage increased considerably from the previous version which tells me something changed.
I also see the CPU usage increased considerably from the previous version which tells me something changed.
motion detection changed, which was listed in the release notes. There is a walkthrough on the docs for how to tune it https://docs.frigate.video/configuration/motion_detection
Here is what is happening
I get notification with a snapshot but when i tap it i get the following
{"message":"Event not found","success":false}
And now there is no event recorded, this never happened with the previous version I also have no car notification or event which was there before. Looking at the debug window, the car was detected
An example the car on the right wasbacking up on the driveway. Debug window shows it was detected not no event recorded
If no event was recorded either the object didn't enter the required zone or didn't score high enough. I see you have two required zones and don't see other of them in the camera view but maybe they're disabled.
Do You See The Last Photo I shared? 77% score for a car. I haven't changed a thing except upgrading to the latest release. It intermittently works, sometimes it picks objects since the last update
What do your zones look like?
I have the same problem you describe. Any chance of result ?
I thought I was the only one. I am facing the same issue with only one of my cameras. All configs are the same including the automations. in my case however, the event is there.
- [x] Core 2024.2.5
- [x] Supervisor 2024.02.0
- [x] Operating System 12.0
- [x] Frontend 20240207.1
- [x] Frigate addon 0.13.2
Same issue after update :( nothing else changed
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Same problem here. "message":"Event not found","success":false"