How to view snapshot camera image in my cloud?

Hi Guys,

I have a Reolink camera which provides a snapshot jpeg file and a rtsp stream. AFAIK, it is no possible to stream video via my cloud to be accessible from “outside” . Can I do this with snapshot image? I tried to provide link to snapshot image (with camera IP), but it didn’t work in my cloud. I assume that, I have to save a snapshot file to static folder and then share this in my cloud. However, I have some doubts if it will kill my sd card inserted in RPi. Any other ideas?

In case you use ZRAM check if you have enough of free ZRAM. Put the picture into a directory that is in ZRAM then.

Did you try with 3.2 Stable? the newer ipcamera binding serves on the static URL location.

Yes, I’ve tried. The URL from camera binding worked only when I was connected to the local network. When I connected by cloud there is no image on the Page.

were you using https? you can not use a non https url for the camera if your using https to view the openHAB UI. Also see this security setting that some browsers are using now.

Display streams and snapshots from ipcamera binding in oh-image - Add-ons / UIs - openHAB Community

I found the solution… In an Image Card widget I had to provide Item which consists the URL snapshot. Previously, I provided the URL in the URL field and it wasn’t working.

UPDATE:
Above works on mobile App and Firefox. It seems that Chrome is affected by issue mentioned by @matt1 .

Thanks guys!

Hi,

I am running in the same problem.
Working remote and local with all browsers perfect. Also with Firefox Remote, but not with Chrome or the OH androird app :frowning:

Any ideas or suggestions?

Same as .mentioned in earlier post: http url inside a https page.

And without the possibility to switch to https locally?

a proxy in front of the camera that translates/redirects between https and http ?

The ipcamera serves the camera streams on the normal ports that openhab serves on. You can use https for the camera streams you just need to change to the port that openhab uses for https.

Hmmm, sounds possible, but time-consuming because I have no experience with it.

I’m not sure if I understood.
Just change openhab’s httpS port? Unfortunately, the camera does not support httpS.

No.
@matt1 wrote that you need to use the ipcamera binding.
Configure the binding to connect to the cam’s http port.
Then use openhab’s https port to connect to openhab and the binding will use http to connect to your cam. The cam’s images resp. video stream then will be shown ‘inside’ of OH.

That is what I already doing.

// Thing

// Channel and tem

// Image Card

// Log in Chrome

In OH-Image-Card use ( in your case ) /ipcamera/ffcabc999c/ipcamera.jpg as url.
This should work with http as well as with https.

Thx a lot.
That is really working. Cool.

Last question;
I created the item inside the UI baased on the existing binding and I have to use this item inside the image-card.

=> Is there any way to change (manually) the item or cretae a new item with the adapted url?

Or is it posible to define a item with a pre-defined/hard value?

I have not found a way to change/edit the ipcams url.

But I think it is possible to use a string item - have you tried to create a string item that contains the URL ?

Just read this IpCamera: New IP Camera Binding - #2840 by andree_b post.
That may help as well.

1 Like