Skip to content
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

Request to check if stuck, then restart stream #1647

Open
borgqueenx opened this issue Oct 15, 2024 · 5 comments
Open

Request to check if stuck, then restart stream #1647

borgqueenx opened this issue Oct 15, 2024 · 5 comments

Comments

@borgqueenx
Copy link

[REQUIRED] Describe the feature you'd like:

The card checking if it received new frames or data, if not, restart the card/camera.

[OPTIONAL] Describe alternatives you've considered:

There are not any?

[OPTIONAL] Additional context:

Quite often i have the card becoming stuck, no longer receiving updates. almost a full day difference on the following screenshot:
photo_2024-10-15_15-52-31

@dermotduffy
Copy link
Owner

There are not any?

Fix the "stuckness"? :-) I'm not a fan of "just automatically restart it", it shouldn't be hanging in the first place. If every website automatically restarted when it had an issue, our browsers would be continually restarting ...

In this case, is the card itself still responsive, but the video stream has stopped? What live provider are you using?

@borgqueenx
Copy link
Author

borgqueenx commented Oct 15, 2024

the live provider is JSMpeg, to make the work load light for these devices that do not have much horsepower.
I understand your reason. It's sad these devices have quite some plagues to them when using home assistant it seems.

@dermotduffy
Copy link
Owner

Did you try using the image provider instead? Wonder if that's any more stable.

@borgqueenx
Copy link
Author

i have tried it but unfortunately no.
although i do have a update to share: i have a automation that checks if entity's created by frigate are online. if they go offline for over 15 seconds, frigate add-on is restarted. i have seen that at this time, a frigate card also got stuck on the same image without loading more.

@sircoynie
Copy link

i have tried it but unfortunately no. although i do have a update to share: i have a automation that checks if entity's created by frigate are online. if they go offline for over 15 seconds, frigate add-on is restarted. i have seen that at this time, a frigate card also got stuck on the same image without loading more.

Can you share this automation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants