Im wondering if anyone here can help me out, if gone through multiple threads and cant find an answer that works. What im trying to do is, add a card on the HA dash which grabs a still image from my Hikvision Camera. I’ve figured out the correct url to get a still image, however im unable to add it to the dash.
Any suggestions? I’ve tried Stream component and failed with getting it to work.
I just tried this code, im not getting no errors however no image or video is being loaded. the url provided is definately correct as ive got the same IP as the one youve provided and ive changed my login details saved, restarted server still showing blank. Do i need to add any addons or make changes anywhere else for this to work?
I struggled with a HikVision camera for a while: stream worked great but still image not at all. Other non-HikVision cameras worked first time. What I found is that, while the still image worked fine typed into the browser address, it didn’t work for the still_image_url unless I added username and password. The still image doesn’t accept username:password@ in the URL. And while they aren’t necessary when typing the URL in the browser address, they are necessary when HA asks for them. The camera knows it’s not me, I guess. Here’s the only configuration that worked for me
Thanks Dave for you suggestion,
Just wanted to add my experience with HikVision Cameras and NVR:
stream_source uses NVR IP, with a dedicated “display only” user and password after RSTP://
still_image_url must use IPs of Cameras, so User and Password are the Camera Admin ones!
It’s not good, from a security point of view, but I could not find any other solution, to get the still image!
In the end I decided to have live stream in my dashboard (not still images), to avoid security issues!
All my attempts to get the still image via the NVR (and not via Cameras) gave no result, unluckly!
This is the respose i have:
<ResponseStatus xmlns="http://www.hikvision.com/ver20/XMLSchema" version="1.0">
<requestURL>/ISAPI/Streaming/channels/101/picture</requestURL>
<statusCode>6</statusCode>
<statusString>Invalid XML Content</statusString>
<subStatusCode>badXmlContent</subStatusCode>
</ResponseStatus>
But if some of you had a suggetion, it would be welcome!
Hope it helps