I have configured in my sitemap my camera Dahua IPC K35 , on the Video element,
Video item=Camara1 icon="camara" url="http://admin:email@example.com/axis-cgi/mjpg/video.cgi/" encoding="mjpeg"
It works very fine in Openhab App for android movil but on Habpanel Viewer (Wich is a wonderfull App for android Tablet) Widget Camera Feed does not show the video (I have put the same URL)
.In habpanel when i modified via PC it show the video correctly.
Could someone help me about???
One other thing to note, check your code paste above, I believe you left in your username and password…if that’s true and even though you are behind a router with a private IP address I would recommend changing to be on the safe side since it’s posted in a public forum.
Another way is to let this binding handle the authentication for you as it gives the snapshot to an Openhab IMAGE. Some cameras do not support BASIC auth (what your URL is doing) and only do DIGEST, other cameras allow you to select the type of auth used, in which case make sure it is set to BASIC for that url format to work.
Yes it should work with cameras behind an NVR provided it is made by a brand with a supported API. Since I don’t own an NVR the chance of hitting a bug is higher than using the camera stand alone. I would not try and turn Openhab into a DVR when other software already does this which are mentioned at the first post of the binding thread. That is also another option for the OP, that is to use one of the software packages on a server to remove the cameras authentication.
Thanks for your contribution, I know that the function of the image carousel is to display images one by one, regarding my issue I don’t understand why this image carousel behaves different to widget camera feed.I have made some test with URL without username-password but the browser anyway display a prompt asking for them.
Could you explain me what’s the reason for what image carousel allows the image or video on browser (Chrome).