I’m trying to setup an IP camera, and I’m having some trouble with it.
As far as i understand i should probably use this component: Generic IP Camera, however, my problem is that, as far as i know, my ip camera does not support a generic still image url. I can ONLY get it to work with a rtsp stream, and thats my problem, because even though the component has a stream_source variable, to place such a url in, the still_image_url seems to be required, and i don’t have such a thing.
Does anyone have any suggestions? The camera i have is Sricam SP012, and from the various guides I’ve found around the web, my camera only seem to support the rtsp protocol, all the suggested Urls i’ve found using http, to get either MJPEG or JPEG doesn’t work for me
You should substitute your camera username and password values for the bracketed and capitalized values. Do not include the brackets in your URL. If you can use this in your browser, it should work in your configuration.yaml file.
Yeah as i stated, I’ve already tried all those URLs, but to no avail. Of course substituting the USERNAME and PASSWORD with mine. CHANNEL is, as far as i can tell, supposed to be 0, but not of them work. I simply get a “refused to connect” message. I’ve tried loads of other URLs too, but none work. I can only get rtsp to work through VLC.
Even though i can get the rtsp url to work through VLC i cannot get the same url to work in Home assistant. It just buffers forever in Home assistant. My configuration.yaml looks like so:
The above stream_source url works in VLC even without username and password, which i have also tried without in the configuration.yaml. Also tried with the quotation marks
It takes RTSP and displays still in frontend that’s updated every 10s
Video shows when click on still
Generic is OK but video loading was slower for me when compared to ffmpeg but is best if stream to Chromecast is needed. Using both ffmpeg and generic is possible in that case
This actually works in the preview. However when i try to open the card it just loads forever. The miniature card (before i click it) is also updated every 10 seconds as you say. Wonder why it wont show when opening the card hmm…
thanks for the hint, ffmpeg camera works form me as it initially worked for generic_camera.
maybe a tad slower, but still better than nothing and I have proper still picture in frontend.
On RasPi I almost never got this to load.
Old Synology was same.
I move to beefier server and this loaded faster. Basically never load to loads within 2seconds. This is on 2010 Intel chip so still slow image processing but infinitely better.
Recent HA updates (about time Stream component was added) I notice load time increase but not sure if it is HA related or several related server side changes I made
It works, thanks.
Next, I want to configure my USB webcam through motion eye. Do you know how? I am running on home assistant OS in raspberry pi 3. I can’t find any walkthrough. Thanks before.
Thanks. I have one of these. Can work on it via mobile CareCam app but not from browser. Prompts for user id and password which I do not have and manual is lost.