So I figured I could make a shell command out of this, and us that to save the snapshot somewhere. The only problem is, that taking a snapshot takes a lot of time, I read here https://www.home-assistant.io/components/ffmpeg/#troubleshooting that ffmpeg does some kind of autodetection, so maybe thatās whatās taking a lot of time. The output from the command looks like this:
Well, Iām not yet sure if Iām satisfied with this cam. I took me a lot of trouble to get it on the wifi. You have to use the yoosee app to get it configured. The app was constantly telling me that connecting to the wifi failed, after I while I checked my router and I saw in there that a new IP was actually given to a device, turned out wifi was working properly, but the app is just a bit buggy.
After getting the IP from the camera, I was able to fetch the stream on rtsp://admin:123@/onvif1 and I no longer needed the app.
I did not yet figure out if the camera has a still image url, that would be quicker than fetching the image from the stream.
The camera seems to be a bit slow (thereās a 2 second delay between what happens, and what the camera shows), also it comes with some annoying cabling:
a bit hard to get those installed out of sight. A last issue I have with the camera is that the cable from the power adapter is very short, also a bit annoying.
Iām now going to run the camera for a week anyway, to see how it does as a snapshot camera.
Just chiming inā¦
Iāve had a couple of these cameras for about 2 years now.
Have run into the same issues as mentioned in this thread.
Having had the same issues as mentioned in this thread, I decided to experiment with the wired network port. The camera behaves in exactly the same way as when accessed through wifi. Always a few seconds delay, and sometimes the image is distorted.
The only thing that helps is accessing the low-resolution stream. Even then, sometimes the first image is distorted, but the subsequent frames are always good.
Solution ? Always grab 2 frames, and discard the first one.
The dealbraker for me, is the fact that these āYooseeā cameras are calling home to a whole bunch of China-based servers, and there is no way of blocking this without crippling many of the cameraās features.
If you firewall the cameras they begin to spam your network in attempts to reach out to the mothership, talking about hundreds-of-thousands of requests per day !!!
This then slows down the camera even moreā¦
Iām still on the look-out for a cheap, reliable, safe camera compatible with Home Assistant.
Thanks for sharing your experience Tommmii, the things you figured out where exactly the things I had in mind to test, so you saved me a lot of time
The ācalling homeā that this camera probably also does (have to check it) will be a deal breaker for me, maybe I will switch to a Foscam FI9800P (that does have a still image url, which makes it much easier to take a snapshot)
except that the Foscam devices cost 5-6 times more than those Yoosee things.
There are 20-40ā¬ āYooseeā cams around that have a web interface, you can disable the P2P options, these ones do not call home, and also allow accessing a still image.
Thing is, they are hard to discover on the usual Chinese marketplaces, because of incomplete descriptions by most sellers. There are hundreds of listings to read through, and yo need to read all the feedbacks as wellā¦ just to end up with a few possible candidates.
I tried it the āstupidā way, by just executing this command twice, but that didnāt seem to work. The ffmpeg command has quite a lot of options, but I couldnāt find the proper one to grab the second frame.
Youāve made me revisit my script, turns out my memory was mistaken,
this is what iām using : avconv -i rtsp://192.168.11.12/onvif2 -frames:v 1 /home/pi/camera.jpg > /dev/null 2>&1