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

Feedback and Query Regarding EufyP2PStream Integration with Frigate #12

Open
mercuryin opened this issue Jun 10, 2024 · 1 comment
Open

Comments

@mercuryin
Copy link

Hi [Developer’s Name or Username],

Firstly, I want to extend my thanks for developing the eufyp2p stream addon. It works perfectly with my Eufy s100 camera, and I truly appreciate your efforts in creating this tool. However, I’m encountering an issue where the Eufy Security addon frequently crashes, leading to unreliable stream availability for integration with Frigate.

Since there hasn’t been a response from the Eufy Security plugin developer for a few months, I’ve set up a Home Assistant automation to restart the addon whenever it’s detected as null or unavailable. This workaround somewhat mitigates the issue, but it’s not an ideal solution. Using your addon I got 1 stream with GotoRTC but my goal is to adapt this setup to provide two streams to Frigate: one of high quality and another of lower quality to ease CPU load, similar to how cameras supporting RTSP offer separate URLs for different stream qualities. However, with the current setup, I’m unsure how to properly configure this.

Could you provide guidance on how I might adjust the command to generate two distinct streams for Frigate, or is there another approach you would recommend for managing CPU load more effectively with this type of integration?

Thank you for your time and any assistance you can provide.

@artur-braga
Copy link

Hi @oischinger,
I have the same issue that the eufyp2pstream somehow breaks the eufy add-on. Also interestingly enough, I found that they already know about this problem in their addon/integration as their write in their instruction:
Lastly, your camera would not start streaming magically by itself, you have to call turn_on or turn_off services of respective camera entities. So, when you first install everything, you would not have any video until you call these functions. Moreover, P2P streaming might stop randomly because of low level technical issues, you can restart it again with turn_off and turn_on. You can trigger your automation's on camera states (idle, preparing, streaming).
Source: https://github.com/fuatakgun/eufy_security?tab=readme-ov-file#how-is-this-working
Maybe this helps narrow down the problem.

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

2 participants