Issues Starting and Stopping Stream
See original GitHub issueDescribe the bug
Ok let me first try and explain what I’m trying to do and my current setup. Like many of us I’m an IT person so I get most of this but I’m not a programmer by trade. I’m a Network Engineer so very familiar with Cisco, Wireshark, Fortigate, etc.
I have several Wyze cameras already setup with RSTP through FFMPEG and eventually I plan on building a DeepStack AI Facial Recognition with a Jetson Nano soon, so I would like to be able to add this to that mix. Now I bought the 1080p version of the wired camera but it’s somewhat confusing as far as their 2K camera vs the 1080p. But anyway the model number is T8201.
I have everything setup like you have in your install script. Including the 2 conditional cards for viewing. I’m able to see all of the sensors and the last captured image. If I click on the still image it starts the generic Eufy Start Stream and the stream then progresses through the WebRTC plugin. So the problem comes after the 3 min stream and trying to reset the environment for another viewing. So after a fresh boot of HA, I can click the image and the stream works fine. If I then run camera.turn_off and turn_on accordingly, the stream still stays hung. I end up having to restart both the Eufy and RSTP add-on and then reloading the Eufy integration before everything resets and I’m able to view the stream again. That or restart HA
To Reproduce
Steps to reproduce the behavior:
See above
Expected behavior
Person clicks on latest still image captured and live stream starts, after so many min it goes back to the last image captured and if you want to view the stream again, just click the image
Or even better, click the image and it stays streaming until the person leaves the page. But can still go back, click the pic again, and get a live stream.
Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.
Versions:
- Client version: <0.5.3>
- Node version: <node-version>
- Operating system: <Home Assistant>
Additional context
Add any other context about the problem here.
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (5 by maintainers)
Top GitHub Comments
@LordNex , eufy-security-client is a library consumed by eufy-security-ws docker image and i have wrapped eufy-security-ws in a home assistant add-on and created an integration to communicate with add-on. So, @bropat does not have any internals of home assistant. I will go through thread and try to understand the issue.
From ownership perspective; i prefer to receive all HA related issues and triage them to check if they are integration or add-on configuration related, if not, i am redirecting users to here.
Edit: can you move this issue to here @LordNex ? https://github.com/fuatakgun/eufy_security
@LordNex
Please open your issue here: https://github.com/fuatakgun/eufy_security