When I click into the camera, the stream is working, but it breaks everywhere else (such as on Area cards) until I restart Frigate.
I have some errors in the go2rtc logs:
[INFO] Starting go2rtc...
2023-05-02 16:06:49.290807176 curl: (7) Failed to connect to 127.0.0.1 port 1984: Connection refused
2023-05-02 16:06:49.294740120 [ERROR] The go2rtc service is not responding to ping, restarting...
2023-05-02 16:06:49.424492204 [INFO] The go2rtc service exited with code 256 (by signal 15)
But I can’t find any errors specific to the camera(s) that are failing like this.
I made a quick and dirty script to restart frigate when a camera is down. Or actually when there is no ffmpeg process associated with the camera. It is best to solve the issue when it happens, but I also do not want my camera not recording anymore. More then once I found that my camera was showing “No frames have been received, check error logs”. Restarting frigate solved the issue.
Small update in regards to this script, it can now copy a log file before restart. This way the log can be reviewed later while frigate, hopefully, comes back online with a fresh connection to your camera(s)
usually this happens because you are also running HA with the webrtc integration. You need to disable the webrtc integration, get frigate running, then re set up the webrtc integration pointing to frigate_ip:1984 (if you are running the integration, the webrtc integration will find it automatically)
Unfortunately, one camera that suffers this problem frequently has no input args at all (front_door).
It does appear that those that have intermittent network interruptions are the most prone to this occurring. Though I’ve removed all the input args, and continue to suffer this problem on more unreliable (wifi) cameras. I’m having to do away with go2rtc for these, disappointingly.
Hi, i want to detect person that come in the specific zone that i have defined. but the zone is not working the camera is detecting everything. can someone help me?
this is my config:
required_zones:
- oprit_huis
enabled: true
timestamp: true
bounding_box: true
objects:
track:
- car
- person
zones:
oprit_huis:
coordinates: 65,421,186,720,1053,720,1215,279,1203,223,771,99
I started out with 2, then 4, then 6 (!) cameras on an HAOS raspberry-4, which was understandably struggling at 85% CPU… Working, but struggling all the same, it was an interesting learning curve. Mostly it was detecting movement well with some masks to reduce the load from wavy trees.
I’m now running an HAOS mini-PC with a coral stick and an SSD. It’s blistering along at 25% CPU with 6 cams and detecting people, dogs, cats, umbrellas and all sorts. Wonderful!
Don’t get me wrong, I love the raspberry, and I’ve another providing excellent service as a home security system with little or no video. Also, to clarify, the raspberry did well with a couple of cameras, no complaints, but with 6 I needed to move up a shelf.
Hey boyz & grilz,
need assistance. I have a remote camera that sometimes glitches due to communication.
I have seen that when it glitches frigate see 0fps. Is it possible somehow to read the fps, so i can send some notification?