-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since Frigate, and frigate card updates, my dashboard using frigate card in extremely slow and inconsistent #1773
Comments
Maybe a few issues? This is a big one:
Your stream is not loading. Instead, the card is trying to show you something and so is showing you one still image / second, until the stream loads. I recommend you set this:
... and this will disable that "masking" behavior. Instead, you'll probably just see an empty video playing that's trying to load the screen. If you're lucky, it will give you some hint as to what the issue is. Also recommend you access the Javascript console (F12 in Chrome) and you may see a hint.
This suggests your browser is unable to load the card correctly. As above, your Javascript console may include a clue. But this is definitely something outside of the card's control. Could you be experiencing network connectivity issues between your browser, and your HA instance? Are they on the same network? |
Are you saying the blue circle showed up even though you had The error log refers to |
I think you're running into some kind of browser max connections limitation. 6 is a common limitation browsers may enforce.
FWIW: I can have 8 cameras running at the same time in Chrome on Linux without issue. |
I have been using the same configuration for months now. How come this is happening now?
And why is it that Linux can display 8 cameras, and Win 11 Chrome can not? FYI:
Recording.2024-12-20.054026.mp4And in Frigate's Birdseye's view, I can see all the cameras live! New error under Home Assistant Core logs
One more observation: Recording.2024-12-20.074354.mp4Do you think Home Assistant OS is causing this? |
That shows the card is not initializing. That is certainly the fault of the card. The errors you show from the logs are not related. How about you give me that whole dashboard config here, and I'll try it out on Firefox on Windows and see if I can reproduce? |
@dermotduffy |
Always hope! I just need time to get a Windows machine and test it out -- and haven't been able to do that yet. |
@dermotduffy |
@dermotduffy Happy New Year I added my 8 IP cameras utilizing the "Generic Camera" integration to HA. Then I added these 8 IP cameras, 5 other Ring cameras, and a Ring doorbell (all with live feed), in a dashboard, using the "Picture Glance Card". Looking forward to a solution with the Frigate Card, or Frigate. Thank you |
Checklist:
[REQUIRED] Card diagnostic information:
[REQUIRED] Description of problem:
Issue 1: After installing the system and the new firgate updates, the cameras started to load extremely slowly , and a blue circle that is now appearing on the top right corner of the stream display, when the firgate card in my dashboard is in use. This blue circle sometimes stays on a couple of streams for a long time, and sometimes it moves to the other camera streams! I have 8 camera streams.
Issue 2: While using the firgate-card in the dashboard, the CPU works harder , sounding louder than before!
Issue 3: While in dashboard, trying to edit the card, I sometimes can only see and use the "SHOW CODE EDITOR", visual editor is not available. Today the visual "config" is showing up.
Note: In frigate itself, clicking on "Live", "Birdseye" and "All Cameras", camera stream show a lot faster, with out the blue circle!
Detail:
I never saw this before, but I am NOW getting a blue progress bar circle on the top right corner of the camera display in my dashboard. When I hover over it, it says "Waiting for live stream to load ...". It is very inconsistent, sometimes it stays there for a long time, sometime it goes away after 3 to 5 minutes. When I page refresh chrome while viewing a dashboard, it just hangs there, without displaying any other streams. But when I click on browser stop and refresh again, it displays other cameras fast, with the "blue circle" on some the cards.
I know the actual camera stream is not slow, because when I test the stream in VLC > Open Network Stream ..." it pulls and show the high resolution camera stream in 3 to 5 seconds. I am guessing there is something wrong with the frigate card add-on.
While viewing in frigate (not the dashboard) every thing seems to be normal.
I also noticed that as soon as I go to the dashboard containing the "Frigate cards" the CPU fan starts racing very fast.
UPDATE: 12/16/2024 - After seeing the circle for around 5 minutes of a frozen in time camera scene, I get following image in the Frigate Car, with the "blue circle" still on the top right"
What's going on here?
Current OS versions:
Add-ons:
Frigate (Full Access) Current version: 0.14.1
Frigate Home Assistant Integration: Release v5.6.0
Frigate Card:
[OPTIONAL] Last working release (if known):
Unfortunately have not logged it.
[OPTIONAL] Javascript errors shown in the web inspector:
Do not know how to accesses it.
Typical frigate.yaml camera setting.
Logs > Frigate (Full access) log:
Here is the card config for Camera 2:
Card config for Camera 6
All other cameras settings are similar to the above.
[OPTIONAL] Additional information:
The text was updated successfully, but these errors were encountered: