IpCamera: New IP Camera Binding

What i did to make images work on my openhabcloud is to transform the image url from an absolute URL to an relative URL. This works on mainui widgets which open the image then relativly to their base URL (however you opened the UI).

To achieve this i set the Profile of the Image URL channel to “REGEX” with the following RegEx:

s/http\:\/\/192\.168\.xxx\.1[0-9][0-9]\:8080\//\//g

If the original image url was “http://192.168.xxx.123:8080/ipcamera/xxx/ipcamera.jpg” it should show now “/ipcamera/xxx/ipcamera.jpg”

(i can’t remember if i came up with this myself or someone posted this solution on this forum before if so credit to original)