-
Notifications
You must be signed in to change notification settings - Fork 573
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
Eufy cameras no longer work with 1.9.7 (mse: unsupported scheme) #1453
Comments
I am right now working to get my Eufy doorbell T8210 cam that is working good in HA card view (over webrtc-camera) also forwarded to HomeKit. |
Update: still not working any more at all.
And I see now this warning in the log: Can someone guide me how to downgrade to verify? |
Well. The |
I think the scheme is made up of model number and serial number. The setup consists of the eufy-security-ws addon, the Eufy Security Integration, the WebRTC Camera Integration and Go2RTC (in some variant). The use of Go2RTC is actually included in the Eufy Security Integration documentation. Stream provider is P2P and the stream URL is an RTSP. |
I have the same problem. |
Same problem here |
I see the same problem. My Eufy doorbell stream no longer works in Home Assistant when using 1.9.7 This is what I see in config
|
And what you can see in config for old version? |
That is the config as seen once I rolled back to 1.9.6 |
The config is the same for both versions. |
If someone is a developer - it might be helpful to know which commit broke. Just need to build a binary for each commit between 1.9.6 and 1.9.7. Should not be a difficult task, even if you don't know golang. |
You mean just try out nine different builds? |
Yes. Just git checkout, go run. Multiple times |
OK. Looks like we know the problem #1458 |
Sounds great that you found the source of the problem. Can someone please give me some how level instructions how to downgrade to 1.9.6 again until the problem is solved? I am using a Pi4 with standard HAOS Image and did install all over the HA add-on store/hasc as explained in the eufy cam how's to's for HA. Could it be a try to uninstall webrtc-camera and reinstall it in the hope it will install again the older version from go2rtc? |
Fixed in latest master version |
WebRTC camera integration has old go2rtc version - 1.9.4 |
Personally I went to Settings, System then Backups within Home Assistant and looked through the recent backups listed. I saw one entry for go2rtc from the day before when the add-on got automatically updated. I selected that and restored (it only restores that one item not your whole HA). This took about 10 seconds to complete. I then restarted the whole Home Assistant and it fixed the problem. I've now turned off Auto-Update for that particular add-on. Hope this helps. |
Tried it out, it works. Many thanks for the quick fix. |
Also for me its working again. Now because I have some eufy users reading this a quick question: homekit.yaml: go2rtc.yaml |
For AlexxIT. END of File warning12:31:53.503 WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:170 > error=EOF url=http://192.168.XX.XXX:8123/api/camera_proxy_stream/camera.front_door?token=9eaaXXXXeead096c349d5e38ba3984a1a23e2aecc9b3d58be1902824e03b2 New Stream error Warning with unsupported scheme12:32:31.493 INF [streams] create new stream url=rtsp://127.0.0.1:8554/T8423TXXXXXXXXXX As above unsupported scheme error12:35:21.542 WRN [rtsp] error="streams: streams: unsupported scheme: T8170TXXXXXXXXXX" stream=T8170TXXXXXXXXXX I have a whole bunch of Eufy cameras and as stated none are displaying any more. Eufy Floodlight Cam S330 (Model: T8423) Should you need any tests done, please let me know. |
thanks |
Unsupported scheme is correct error. Eufy integration creates an invalid config. This issue should be added to the eufy project. |
What should a valid configuration/schema look like? Use of entity ID? |
I have a list of 19 of my projects that I devote my free time to one by one. There are no definite plans for dates unless there are critical issues. |
@ fuatakgun: i've tried your steps, but it´s not working for me. @ AlexxIT: i thank you for your time and skills, but -with all due respect and understanding- not working security cams (in ha) are critical! i hope you don't get me wrong. |
If you have that critical security cams, I would recommend a professional survilance solution and nothing self build |
As I understand it, the problem is solved with two clicks. Stop release go2rtc addon and start master go2rtc addon. |
Hi AlexxIT, thx for your reply! |
So you have some other problem and the release won't change anything. Because the release won't bring anything new. |
Hi @AlexxIT and @fuatakgun, thanks for your replies. I generally do not have issues with my doorbell, thanks for that. In terms of receiving hundreds of warnings per second, I just want to confirm that this model is supported along with the firmware version and that they are acceptable: T8160 Thanks for all that both of you do! |
Hey guys, this minimal yaml config is working (on a dashboard) with the Add-On master release.
But I can also verify that warnings are flooding the log @AlexxIT @fuatakgun @roflware Cheers |
I am using the latest master version in a Docker container in conjunction with the WebRTC Camera card and the Eufy addon and integration and I have no ongoing warnings in my log. |
Hi. How does that work: "When I switch back to 1.9.6, everything works again."? And is it possible to install an older version of Home Assistant [Add-on]? |
Possibly if you do a local install? Create the folder in the right directory in Home Assistant, wget the URL, unpack the zip, chmod it, and then restart HA. You should be able to find it in the add-ons section under local add-ons and then install it that way. This is just a guess since I installed a different Eufy add-on that way. |
If you do not know this, you are not using the Docker version. To get the latest version in Home Assistant, install the master version of the Home Assistant add-on. It's all here. |
Thank you, but the lastest verion does not work. |
Hey @fuatakgun, can you please confirm that the above-mentioned model and firmware should be supported? Specifically:
Thanks! |
@roflware , it is not realistic to ask me to confirm if a specific device/firmware is working. I own a couple of eufy cameras, I cannot confirm it. Only other users can confirm it. Moreover, this specific issue is about go2rtc, not directly related to eufy. |
@fuatakgun: This, as I learned, was more of a question of what bropat's Eufy integration can support, which you specifically highlight in your readme, so I've already confirmed that. It would have been more helpful if you directed me to there, instead. The reason for me asking this at all is for process of elimination to better understand why it still does not work, even though Alex says otherwise. Since my Eufy devices are supported by bropat and only sometimes works with Alex's go2RTC, I (as well as others) are still unfortunately in the same rut with "mse: unsupported scheme". My only conclusion at this point would be that I would need to find an alternative RTC that has better stability for Eufy, if such exists. |
@roflware if you have go2rtc master, latest eufy-security add-on and integration, that is all. I am responding to 10 different users per week and I am not fine to say "look at readme" anymore, because it is supposed to be the first thing to do. Lastly, if it is working sometimes but not always, it is integration related, not go2rtc. |
@fuatakgun: Regarding device support, it wasn't really clear and took some digging, so there could be some improvements there. The only thing I can glean from this thread is that given the inconsistencies with actually working, this seems to be a go2rtc issue with the s330 cameras, given that the doorbell works relatively fine. |
Hey @AlexxIT, I think I will finally be in a good place with my cameras after figuring this bit out: the Eufy cameras apparently randomly serve up either WebRTC (appears as RTC on the stream itself), MSE, or MJPEG. Any time MJPEG is selected, it takes forever, crashes, or artifacts to a green or gray screen. Via go2rtc, is there a way for me to only enable it to serve WebRTC and MSE only and disable MJPEG from being served? Controlling it from the HA card still doesn't avoid go2rtc serving MJPEG anyway, because if I specify "mode: webrtc,mse", it gives me an error. But if I could guarantee WebRTC or MSE from go2rtc, it would consistently work well for me. |
By default, the mode parameter is set to Also, the stream usually comes with the H264/H265 codec - so only webrtc/mse/hls will work for you. |
That last comment is really interesting. I know that I've seen both RTC/MSE and MJPEG, with the latter being very choppy and terrible. I'm not sure what causes that to happen. But okay, it sounds like this can only be determined by the card, understood. |
@roflware , are your cameras supporting RTSP natively or is it handled by integration? |
This is via the integration by bropat, what I mentioned before. It serving up RTSP would be a completely different conversation, but I imagine that Eufy doesn't support it since it's solar powered. |
If it is coming from eufy-security addon and eufy_security integration, it will always generate rtsp, never webrtc. @AlexxIT does not have full picture of our custom stream generation implementation. |
I clearly don't know the entire flow here, but all I do know is that when referencing the the entity, it is streamed either as WebRTC, MSE, or MJPEG. This is done via eufy-security-ws, Eufy Security integration, and I guess it's handled via go2rtc thereafter and then displayed via the HA card with WebRTC after that. I see in go2rtc that there are HTTP links/streams specifying different modes, but I haven't figured out how to consume anything RSTP. It wouldn't be of value to me in that way anyway, since the cameras need a trigger in order to be enabled since they're solar powered. RTSP inherently implies constant on, which these cameras are not, due to power restrictions. |
Any updates on this? |
@AlexxIT can you please a new version of go2rtc so it will include your latest fixes? I can also help if it requires some work, greatly appreciated |
I'll try release today. Planned to collect more changes. But I may split them into several releases. |
After changing from 1.9.6 to 1.9.7 (Docker), the streams of my two Eufy cameras no longer work.
They are a T8410 and a T8210.
The stream comes via the eufy-security-ws addon in Home Assistant.
The message mse: unsupported scheme is displayed in the video stream.
When I switch back to 1.9.6, everything works again.
Do I have to make any adjustments in the config? This was previously generated automatically.
The text was updated successfully, but these errors were encountered: