Well, this is certainly something. Thank you very much for posting!
If you have any questions, respond to the two issues I created on the kroo/wyzecam repo. I follow GitHub more closely than this forum.
Doesn’t get much easier than this:
These instructions would work on Windows 10 too if you enable WSL2 and install Ubuntu or Debian from the Microsoft Store.
@noel this is tremendously cool. I suggest you start a new Tips thread about it. The only other post that mentions the Kroo (apparently his real name!) technique is
Together (along with the NBLavoie team) you seem to have cracked a much-in-demand nut.
Pass on WSL/WSL2. It’s just a fancy name for a virtual linux machine running under Windows. Better to just build a cheap headless PC from parts.
For this task I agree it’s best to have a dedicated machine that would most likely have a Coral TPU and host some NVR software along with everything needed to pull the Wyze streams. For doing a quick PoC, WSL is the perfect tool. But no, I wouldn’t say WSL is just a “fancy name for a VM”. Would you say Docker is just a fancy name for a VM? Sure it uses virtualization but it’s not a traditional VM.
Has any armature done this working using WSL on W10?
Another user packaged up my script and dependencies into a docker compose. All you have to do is set your credentials in the docker-compose file and then start it up. It then generates a stream for ALL of your Wyze cameras. You don’t need to bother with setting up Nginx either because it’s included in the container. I just tested it in Docker for Windows and it worked perfect: GitHub - mrlt8/docker-wyze-bridge: RTMP/RTSP/LL-HLS bridge for Wyze cams in a docker container
Thx noel, but for a 69 yr old that use to program cobal and machine language, this still reads like chinese. So I get WSL and Docker installed and they suck all the memory resources and crash my machine. Is it worth all this aggregation just because Wyze will not do RTSP for my newly purchased v3s? Can I get this stream into iSpy or TinyCamPro?
Take it from a 66 year old who also started programing in cobol back in the day. You can get the stream into iSpy or any other nvr that supports RTSP. You will need to get the wyze-to-rtmp working – that’s the key to all of this. It will create an RTMP stream for you.
So then, if you want to go from RTMP to RTSP, you can use RTSP Simple Server. See my note on the subject: Feed Wyze stream into RTMP server · Issue #56 · kroo/wyzecam · GitHub
If, on the other hand, you want to use an nvr that supports RTMP, then nginx will be a good bet for you (in addition, of course, so wyze-to-rtmp).
thx sysop. But I need baby steps and results at this point. I do not even know howto or if I need to “clone a github” or " Clone a Git repository", like in Clone a Git repository | Bitbucket Cloud | Atlassian Support Is this something I need? I already installed WSL, Python, Docker and Notepad++ and do not know where to proceed.
Let me try to read this whole thread and not get side tracked. If I just had a simple pointer… I just replied ONE TIME on this thread and my email lit up with teasers…kind of like the Nextdoor thing. WOW, OUCH, I use to be good at this.
I’m with you on the baby steps…I had fun with some complex batch files back in the MS-DOS days on a 286… a programmer I am not.
but, I make a few baby steps… and a lot of bruises… here… still haven’t got it completely working, yet.
I installed portainer from:
and used it to “add a stack” and pointed it at GitHub - mrlt8/docker-wyze-bridge: RTMP/RTSP/LL-HLS bridge for Wyze cams in a docker container and it appears to have set this up on my Docker setup on my QNAP NAS.
I have no clue what I’m doing… but I’m making some headway here…
SJ
At this point, I have this in a browser, and it’s spinning away…so not sure what i’m missing right now:
SJ
Hang in there. WLS, Python and Docker give you the Linux environment to work in. I just dedicated an old laptop to Linux and installed Ubuntu on it. If you are using this for a 24/7 surveillance system, then it’s got to run 24/7. Better a dedicated machine than on your workstation pc.
Once you’ve got your Linux environment, It’s best to get wyze-to-rtmp installed first.
GitHub - kroo/wyzecam: Python package for streaming video from wyze cameras over the local network (followed instructions for installing on linux)
Feed Wyze stream into RTMP server · Issue #56 · kroo/wyzecam · GitHub (followed step by step instructions here)
They say it’s best to install docker and use that, but I just installed the kroo/wyzecam project (wyze-to-rtmp) following the above instructions.
I also installed nginx. But, since I am streaming from Wyze → RTMP → RTSP, I do not need the nginx server.
One you get that done, the rest is a piece of cake. I installed If you want to stream from Wyze to RTMP to RTSP, I highly recommend RTSP Simple Server. It’s really simple to install and use: GitHub - bluenviron/mediamtx: Ready-to-use SRT / WebRTC / RTSP / RTMP / LL-HLS media server and media proxy that allows to read, publish, proxy and record video and audio streams.
One easy command (I’m using port 1940 for RTMP instead of 1935 to avoid conflict with nginx):
ffmpeg -re -stream_loop -1 -i rtmp://127.0.0.1:1940/show/wyzecam301 -c copy -f rtsp rtsp://localhost:8554/wyzecam301
If you are trying to test your hls output from nginx, I got the same thing trying to use a video.js script Test instead with VLC. I was able to see my hls and rtmp streams from nginx on VLC player.
media->network stream
Then enter your hls or rtmp url.
It’s not /camera.doorbell-cam
It would just be /doorbell-cam
using just /doorbell-cam produces the same issue in my case. So, not sure why it’s doing so. I’ll see if VLC can view the stream
SJ
This is mostly working for me and is very cool. But it only picks up 2 out of 7 cameras. Those 2 are perfect, though. Once it’s 100% working this will completely solve RTSP for me. I’ll put minimal Linux on a low-power NUC-type box and leave it running 24/7 and then I can run Frigate, Shinobi, Blue Iris, or whatever on a different system. Or check on a camera from Windows, even.
Just added a feature request for the kroo wyze cam integration to be added into home assistant in case anyone wanted to vote for it.
What models aren’t working? I’ve tested with a V3 and Doorbell and both work perfect.