PMFJI, but have you really got a different JPG running, or the same JPG as the PNG (which is loaded instead)? I opened a thread yesterday to a similar problem, and just found this thread here, that first did not help me, but at least explained to me, why I cannot display the weather-warning map from DWD as an im.age (which I would prefer over loading it as a webview which is working - as the Image has a refresh value) in openHAB 1.8.3.
Using this Code in my sitemap:
Text label="Wetterwarnungen" icon="light" {
Image url="http://www.dwd.de/DWD/warnungen/warnstatus/SchilderHA.jpg" }
I always get a broken link icon. The same Image works as webview. But as this Image is external, I have no chance to
get a PNG of it.
Hi, please can you point me in the right direction of where to find help or examples for this feature? - I have been scouring for days but cant find anything but I would like to proxy local webcam streams via OpenHab externally as my setup doesnt lend itself to making the cameras directly available externally - it sounds like this approach would work.
.[quote=“watou, post:24, topic:2592, full:true”]
See here and here.
[/quote]
Thank you for the prompt response but maybe I am missing something? - the pages in the example all appear to be public facing rather than internal? - I did try the examples you linked to just in case but I still get the same symptoms and error.
To clarify, my issue is that I have a couple of camera streams that are on private address space (192.168.0.x) and I cant publish them onto the internet (I probably wouldnt want to either). I can get still images from the camera onto the OpenHAB server by using FTP but I would like a way to see the live stream. This works perfectly when I am at home on the same private network using this sitemap item;
When using Image or Video sitemap widgets, the URLs behind them are proxied, so that their content is as network reachable at the openHAB UI itself. So you can see them from an openHAB Cloud instance just as you can locally. I have a proposal for doing this safely for non-sitemap-based UIs as well.
Hi. I don’t want to open a new Topic. So I post here. I have tried all suggested ways here.
I cannot get a simple image work on the sitemap.
I am using the openhabian raspberrypi image which runs perfectly.
I am also able to run a stream from my ctronics security cam.
However I cannot get an image to be displayed on the sitemap. The image is in the /etc/openhab2/icons/classic folder and is named capture_motion.jpg
sitemap:
on the raspberry openhabian os
the icons are stored in /icons/classic/.
/etc/openhab2/conf does not exist.
However I finally managed. I found out the the url of the standard icons in the browser is http://openhabianip:8080/icon/sofa.png
and if I put the picture test.png in the folder:
If it’s not an icon file (which it doesn’t appear to be as you’re presenting the image with the Image sitemap widget) then correct place would be /etc/openhab2/html then.
I know this is an old conversation, but I ran into my images getting locked by OpenHAB on my Windows machine running OpenHAB 2.2.0. I started using HABPanel to display my images on a wall mounted tablet, and as a result, my images were getting locked.
In the OPENHAB_ROOT/runtime/etc/jetty.xml file, I set the minMemoryMappedContentLength value to -1. Here is a snippit of the xml.