IP camera Image Issue

  • Platform information:
    • Hardware: Rasberry Pi
    • OS: Rasbian 4.14.79-v7+
    • Java Runtime Environment: oracle-java8-jdk
      java version “1.8.0_201”
      Java™ SE Runtime Environment (build 1.8.0_201-b09)
      Java HotSpot™ Client VM (build 25.201-b09, mixed mode)
    • openHAB version: 2.4.0 release build

I have tried several method and have failed to get a IP Camera to link up dispaly image to Openhab.

I’m trying to build a HabPanel and can’t seem to get the image to show up.

I’ve tried just a frame & a image widget. And I’ve also tried setting up the Binding.

I have had this working back in 2017 with a old test panel I was playing with but something has changed that this no longer works.

Camera info. It’s a Zosi IP Camera (China knock off I think)
IP Address: 192:168:1:50
Port 80
Password = ########

ISPY HTML for camera feed

I’ve tried different HTML configs from ISPY hoping to get one which might work.

If however, I put those into web browser Chrome downloads an image so I feel the links are good.

I’ve read and followed to the posts for the IP camera binding and those haven’t seemed to help either.


But here are my configs anyways with the hopes maybe someone can help me to get connected.


Image KittenCamImage { channel=“ipcamera:HTTPONLY:001:image” }
Switch KittenCamUpdateImage “Get new picture” { channel=“ipcamera:HTTPONLY:001:updateImageNow” }

Ip camera.things


Again I’ve tried different URL here too trying to find one that will work.


Frame label=“Motion Alarms” {
Text label=“KittenCam” icon=“camera”{
_ Image url=“http://google.com/leaveLinkAsThis” item=KittenCamImage refresh=2000_
_ Switch item=KittenCamUpdateImage_
_ }_

If anyone has any ideas on what my problem is or how to fix this that would be great thanks.


The parameters are the wrong way around
Mine for example:

        Video url="http://xxxxx:xxxxx%4001@" encoding="mjpeg"

That’s for a video stream but the same should apply for an image

Well that did seem to get the camera feed into the basic UI panel. With the following link.

Replacing URL TO

However when I apply this same url to the Habpanel it still will not work. I have tried a frame & image widget. Niether seem to want to pull the camera image correctly.

Any Ideas?

if the link works in a normal browser and is a static image perhaps try this…

Image url="http://admin:#####@" refresh=2000

If you use an item= method then you need a binding handling the authorisation for you. If using the binding first get the picture working in PaperUI’s control tab before trying to get the sitemap or habpanel working.

  1. Test in a browser
  2. Get binding working in paperUI
  3. Then worry about using the image item in sitemaps and habpanels.

BTW the IOS app does not work at displaying the image, only the android app or you can use the basic UI in a browser on your iphone.