After some replies and me trying to look with fresh eyes to compare their example code and my code, i found out i 1) made a typo using “rstp” instead of “rtsp”, and saw my latest fresh install had a wrong path to ffmpeg …
I have HA (latest 0.95.4) running on an Rpi3 (with a july 2019 Raspbian). I have 4 Wyze cams with RTSP firmware. I can see the video of the cams in the Wyze app as well as in VLC (so i would also say it’s not some option in my router blocking streams). But whatever i do, i can’t get an image in HA. Amongst things i have tried:
I haven’t tried to get a stream in a card, so I can’t help you there, but have you considered fhe motioneye add-on? I prefer it to cards. Maybe you will, too.
Thank you for the reply. Yes, i am considering MotionEye and similar solutions, but that would put extra strain on my Rpi3; as some seem to be able to get cam streams to work in HA ‘natively’, i’m still hoping my ‘problem’ is solvable.
Btw: i’m on the ‘manual install HA’ (and everything else), so not on the add-on/‘app-store’-version of HA.
I know this post is bit older, but I have 4 Wyzecam need to put them in to the Lovelace, ffmpeg is working for me but only for the first camera and I don’t know how to add 4 different cameras together with Config
putting them into a camera.yaml did not work for me. I’m still new to hassio i will figure this later. but putting the code in the configurator is a success. all my 4 WYZE cameras are working. Awesome! couldn’t tell you how happy I am on this Christmas day.
cool yeah that works too, glad you got it working. Aa lot of us with large configuration.yaml files end up ‘splitting’ the config… you can search that or do it how you have it is okay as well.
but basically its inside of configuration.yaml you can do:
camera: !include camera.yaml
then inside camera.yaml you can put the code you are using for the cameras. but without the
Now that you’ve had it running a few weeks, what are your takes on it? Planning to setup the same way but am seeing some people report performance issues with WYZE running RTSP firmware.
Code seems o.k./like what i have. You’re sure about the IP address? In your actual config you do have the actual username and password? Can you access the cam via VLC using the string in camera.yaml (rtsp://userid:[email protected]/live)?
I changed my stream to what @unraidghost listed (took out all the extra stuff), AND it turns out that the username is case-sensitive. Apparently when I was typing it in, the system automatically made the first letter a capital letter.
Works now!
Whew. Now on to add more functionality to this system. Thanks, all!