I have a working setup with Home Assistant 2024.3.0 and Frigate 0.13.2-6476f8a running on different computers.
Sometimes, I’ve noticed the Frigate machine gets bogged down. CPU is 100% pegged, and the log shows very frequent requests to /api/<camera>/latest.jpg coming from Home Assistant for one of my two cameras. It’s requesting dozens per second at least.
Normally, the CPU for the Frigate box is maybe 15% on this 8-core machine. But when this condition happens, all cores are pegged at 100%. Restarting either Home Assistant or Frigate will reset things back to normal with no other config changes. It might be fine for a long time. Then at some point it might climb back to 100% over 1.5 hours or so.
I’ve tried removing the camera from all dashboards. I’ve switched to using go2rtc for streaming the camera feed, and I’ve used both the picture entity and the Frigate custom card for the camera view. Nothing seems to fix it permanently.
Can anyone tell me what config in HA might affect how frequently these requests are made? I don’t know where else to look to understand why the requests are made at all, and why with such high frequency sometimes.
Thanks!