Guys, im trying to add 2 Wyze Pan Cams via RTSP as direct entities in the config yaml. But no matter what format i use I can only see one camera come up in states. Any idea.
I am guessing your indentation is off in this snipit (but not in your system - just the copy paste messed up) but after ffmpeg it should be indented for the first camera.
After that, you do not repeat “camera” (unless you are using a certain configuration.yaml design).
So try removing the second “camera” before your second “platform: ffmpeg”.
I think there are some “-” missing too (one for each camera at the start of each camera) but my current system is offline due to a SSD failure, so I can’t confirm my setup.
Thanks for the reply. I tried the following but get this when I goto check my config. I never know when to insert “-” or not in alot of devices but I think i have them placed right.
Invalid config for [ffmpeg]: [camera] is an invalid option for [ffmpeg]. Check: ffmpeg->ffmpeg->camera. (See /config/configuration.yaml, line 165). Please check the docs at FFmpeg - Home Assistant
It doesn’t have to be ffmpg, just seems that is the only one I can get to come up and stream. technically these are just rstp ip cameras. Ive tried using the generic component but again I can only get one camera at a time to show up.
Well i was able to get both added as generic by taking out the ffmpeg but i now lost the still image support on the front end. Guess its just trial and error. Anyone know the url for wyze rtsp still images?
They both show up now and I can add them to lovelace, but the still image that rotates every 10 seconds stopped. Although i can click on the area where it was and get the stream fine
By auth, I don’t mean user and pass.
There is basic vs digest - I don’t know much about it, but I had to set mine to get the still image to work.
I had to add this:
Well so far ive been able to get both cameras up without the still images at least with the below config. Can see them in montioneye as well. Just cant get the static images so its almost there.
Wow finally found it with this latest update. Edit the card in lovelace and put this below the entity. Works beautifully. Testing it now as im wondering if its going to be a huge hit on bandwidth or not.
I haven’t been able to use this yet since my system is still waiting for a new hard drive - but doesn’t that just remove the still image and use the live feed all the time?
It could be that your authentication is not digest… could be basic.
You’d have to check your camera setup.
Yea I noticed that. I ended up separating my config yaml and making a separate cameras.yaml. I then went and remade the ffmpeg entities I had before except with authentication set. Once I did that and recreated the UI cards they seemed to start showing up properly without the live tag. I think a lot of my issue is just the proper formatting of yaml but what rules are listed here is somewhat limited. Such as when to add a “-“ to a line.
Anyway I think I have it working now, it’s running 2 ffmpeg cameras instead of generic as the current WyzeBeta firmware doesn’t seem to support static images over RTSP but ffmpeg does and seems to be available in that same stream. I really hope Wyze keeps up with the RTSP protocol or otherwise gets a component integration to Home Assistant as I could see this and the HA community being a huge boon to the Wyze company if they properly support us. The price point and ability in my opinion are in rivaled currently in the market.
The next feature I would like to see would be a MQTT client built in so that the PTZ features could be accessed via MQTT topics and then controlled via the front end. I originally tried the Defangs Hack firmware with very mixed results. But I seriously doubt Wyze will do this. Again I really hope they see how many people would probably by their cameras in the Home Assistant Community and continue support around that goal. If they keep working to make it more compatible with what in my opinion is quickly becoming the standard in home automation software, I could see it being a staple product in the design, build, and overall execution of many HA project builders. Time will tell.