Hi,
I have frigate setup with my cameras, but on home assistant, I have 2 main issues:
1- Motion is always detected (it seems to be triggered by small light changes) , is there a way to specify sensitivity?
2- Person detection is showing as unknown all the time.
This is how it’s configured on frigate for that camera:
2025-03-26 00:19:34.428171593 [2025-03-26 00:19:34] peewee_migrate.logs INFO : Starting migrations
2025-03-26 00:19:34.444800315 [2025-03-26 00:19:34] peewee_migrate.logs INFO : There is nothing to migrate
2025-03-26 00:19:34.544915820 [2025-03-26 00:19:34] frigate.app INFO : Recording process started: 397
2025-03-26 00:19:34.562822984 [2025-03-26 00:19:34] frigate.app INFO : Review process started: 406
2025-03-26 00:19:34.570622393 [2025-03-26 00:19:34] frigate.app INFO : go2rtc process pid: 98
2025-03-26 00:19:34.625453810 [2025-03-26 00:19:34] detector.coral1 INFO : Starting detection process: 413
2025-03-26 00:19:34.641946528 [2025-03-26 00:19:34] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:0 2025-03-26 00:19:34.642346191 [2025-03-26 00:19:34] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found 2025-03-26 00:19:34.642459165 [2025-03-26 00:19:34] detector.coral2 INFO : Starting detection process: 419 2025-03-26 00:19:34.658621751 [2025-03-26 00:19:34] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:1 2025-03-26 00:19:34.658633047 [2025-03-26 00:19:34] detector.coralusb INFO : Starting detection process: 432
2025-03-26 00:19:34.666236738 [2025-03-26 00:19:34] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-03-26 00:19:34.699320065 [2025-03-26 00:19:34] frigate.app INFO : Output process started: 466
2025-03-26 00:19:35.178435428 [2025-03-26 00:19:35] frigate.app INFO : Camera processor started for cam7: 545
2025-03-26 00:19:36.013487539 [2025-03-26 00:19:36] frigate.api.fastapi_app INFO : Starting FastAPI app
2025-03-26 00:19:36.836972264 [2025-03-26 00:19:36] frigate.api.fastapi_app INFO : FastAPI started
2025-03-26 00:19:37.313328609 [2025-03-26 00:19:34] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb 2025-03-26 00:19:37.321750050 [2025-03-26 00:19:37] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2025-03-26 00:19:41.200380546 [2025-03-26 00:19:41] frigate.video ERROR : cam7: Unable to read frames from ffmpeg process.
2025-03-26 00:19:41.201601767 [2025-03-26 00:19:41] frigate.video ERROR : cam7: ffmpeg process is not running. exiting capture thread…
2025-03-26 00:19:55.749649907 [2025-03-26 00:19:55] watchdog.cam7 ERROR : Ffmpeg process crashed unexpectedly for cam7.
2025-03-26 00:19:55.749712542 [2025-03-26 00:19:55] watchdog.cam7 ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
I was wondering about 3 Coral TPU-units just for 1 cam
Then: Are those 3 TPUs getting detected and initialized correctly? The log-snipped shows they are
But the snippet also shows that the ffmpeg-stream for cam7 is broken. Hence before going back to the Frigate person detection issue fix your ffmpeg stream because that stream is getting fed into the TPU(s) for getting further analyzed (for object detection).
What version of Frigate do you have installed? The most recent version has much more user friendly interface. Much of the settings can be edited without the need to edit the config. Its more institutive.