I have a silly question: what do you mean by “onvif camera support?”
I briefly went through onvif specification, it contains many parts. The most important part is so-called “Profile S” which dictates the video streaming.
My question for you are:
Since onvif CAN use rtsp for video streaming, what is the differences, in the home-assistant context, between your onvif component and ffmpeg component?
exactly how to use onvif component in conjunction with ffmpeg component?
I just got this cheap German/Chinese camera claim to support onvif/rtsp with h.264 high. here is my current setup:
I got the still image working which refreshes now and than.
However clicking the image should open a live stream but nothing seems to happen.
It seems to do some camera_proxy calls which result in 200 response codes but nothing shows.
[UPDATE]
capturing rtsp stream via ffmpeg to avi works in command prompt.
[UPDATE]
tried the exact command from the logging for rstp and in a command prompt that works, however no stream in frontend.
ffmpeg -i rtsp://admin:[email protected]:554/11 -an -frames:v 1 -c:v mjpeg -q:v 2 -f image2pipe -
latest home assistant update, streaming worked with set up like this:
- platform: onvif
host: 192.168.5.132
port: 8090
name: hikamS6onvif
username: user
password: password
You’ve must done some magic that I wasn’t aware of. thank you so much
Have you figure out how to use onvif camera as motion sensor yet?
my other camera use proprietary amcrest platform, has a amcrest component which can configure it as a motion sensor easily.
i know that onvif suppose to support it. i am just wondering have you managed to figure out how to configure it in home assistance, if it is implemented, that is.
Mayby someone will be looking for configuration on how to get Sricam 360 camera to work, along with PTZ.
My camera is Sricam SP012, cheap 360 nigt vision camera.
But be aware that there is some backdoor on it … Once it started to get a look around my appartment by itself … So I suggest to lock down outside communication
I’ve removed/denied internet access from every camera through my router, mostly because the security on these things and the amount they get updated is particularly poor, so they can suffer from all sorts of vulnerabilities that can give someone a route in if they went looking, so your suggestion is one I’d agree wholly with on all these P2P based IP cameras!
I’m also struggling to have my Revotech PIR ip camera recognized and properly configured in Hassio. I’ve tried lots of combinations with unsuccessful results. I’ve also used ONVIF Device Manager for spotting the right URL and not even then have I managed to integrate the stream into Hassio. If I run VLC on a Windows machine I do access the stream. If I access the camera ip address, I can access the stream as well in the embedded website.
Thanks for your answer. My problem is that if I access the stream from VLC I do see what is being shot by the camera m. If I use that very same steam configuration and replicate it in HASSIO, nothing happens; I don’t even see any information in the log file.
Yesterday I also tired with my iOS and an app specific for RTSP, and I too accessed the stream even from an iOS device very quickly.
There is this thing above with the custom component, and it seems to be tied to increasing the log verbosity. Could anybody clarify what needs to be done if one wants to see in the logs what is going on with the camera?
I suspect there is something going on with my HASSIO as I’ve even tried with the Shinibi add on, and that won’t work either.
You have full configuration above. I don’t know what I can add …
Simply configure your cams using ONVIF platform.
Then use camera.onvif_ptz service to get PTZ functionality.
That’s all …
Hi MrUkleja
I tried your setting and it worked, just one quick question: Can you stream the video on your hassio web interface?
I have picture refreshed every 10 seconds.
That is correct. But if you tap on video, you will see pop-up with live stream.
On my Sricam it takes few seconds to show onvif live stream. I use Shinobi CCTV solution on second raspberry and I’m downsizing video to make it work faster when I’m on mobile network.