[Config Support]: Home Assistant + Tapo C320WS #21008
Replies: 4 comments 3 replies
-
|
Your configuration has a critical issue: you have Motion detection in Frigate works by detecting movement areas (motion boxes) that then trigger object detection.(2) When you disable detection, motion detection cannot function properly to create the events you're expecting. To fix this, you need to:
cameras:
dima-cam:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/dima-cam_main
input_args: preset-rtsp-restream
roles:
- detect
- record
detect:
enabled: True
detectors:
cpu:
type: cpu
record:
enabled: True
retain:
days: 3
mode: motion
alerts:
pre_capture: 30
post_capture: 120
retain:
days: 30
mode: motionNote that with detection disabled, Frigate cannot create the review items and events you're expecting to see in the UI.(1) Motion detection is required for object detection - setting detection to False while leaving motion enabled will result in an error on startup.(3) ** 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
Your updated configuration looks much better and should now create motion events. However, there are a few points to note: What's working correctly:
Important clarification about events: To see motion events in the review/events UI:
Configuration notes:
The configuration should now generate events visible in the Frigate UI when motion occurs and objects are detected within those motion areas. ** 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
By default, Frigate only tracks To detect persons and animals, add this to your camera configuration:(1) cameras:
dima-cam:
objects:
track:
- person
- dog
- catThe available animal objects you can track include: How it works: So your understanding is correct - Frigate doesn't create events for all motion, only when motion leads to the detection of objects you've configured to track.(1) 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
To be clear, Frigate does not have the concept of a "motion event". Motion detection is intentionally very lightweight and non-specific, because Frigate is designed around object detection. The AI has given you correct advice related to object detection and saving footage before and after objects are detected. For more on how motion and object detection work, see this page in the official docs: https://docs.frigate.video/configuration/masks/#further-clarification |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
What I want to achieve is, that Frigate takes a screenshot and a video if motion is detected. In case of the video Frigate should record 30sec before motion and 2mins after motion. I currently do not want to use object detection, that may come later. I have go2rtc in Home Assistant running - at the moment I use another one in Frigate (will potentially change that later on).
My current problem is that I get history data somehow but I do not see real motion events in Frigate. My expectation would be that if I go to the check menu that I see when a motion happend and what exactly happend.
Version
16.0
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
No response
Operating system
Home Assistant OS
Install method
Home Assistant Add-on
docker-compose file or Docker CLI command
no relevant, as no error occures, I just have basic config questionsObject Detector
Other
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions