- 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
Username=Admin
Password = ########
ISPY HTML for camera feed
http://admin:#####%2521@192.168.1.50/snapshot.jpg?user=admin&pwd=#####%2521&strm=1
I’ve tried different HTML configs from ISPY hoping to get one which might work.
https://www.ispyconnect.com/man.aspx?n=china#
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.
https://github.com/Skinah/IpCamera/blob/master/README.md
But here are my configs anyways with the hopes maybe someone can help me to get connected.
_Camera.Items_
Image KittenCamImage { channel=“ipcamera:HTTPONLY:001:image” }
Switch KittenCamUpdateImage “Get new picture” { channel=“ipcamera:HTTPONLY:001:updateImageNow” }
Ip camera.things
Thing ipcamera:HTTPONLY:001 [ IPADDRESS=“192.168.1.50:80”, PASSWORD="####", USERNAME=“admin”, SNAPSHOT_URL_OVERIDE=“http://192.168.1.50/view.html?usr=admin&pwd=######”, PORT=80, POLL_CAMERA_MS=2000]
Again I’ve tried different URL here too trying to find one that will work.
Sitemap
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.
Mike