Hi everyone, I’m currently trying to integrate an IP camera into my openHAB setup, but I’m running into some issues. I thought I’d share my experiences and see if anyone can shed some light on what might be going wrong.
Setup Details:
- Hardware: Raspberry Pi
- OS: Raspbian 4.14.79-v7+
- Java Version: 1.8.0_201
- openHAB Version: 2.4.0
- Camera: Zosi IP Camera (China knock-off)
What I’ve Tried So Far:
I’ve attempted several methods to get the camera feed to display in my HabPanel. This includes using both frame and image widgets, as well as setting up the binding. I’ve also experimented with different HTML configurations from ISPY, but none seem to work consistently. Interestingly, when I input the camera feed URL directly into a web browser, it downloads an image, which suggests the link is functional.
Configurations:
Here’s a snippet of my current configuration:
markdown
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_OVERRIDE=“http://192.168.1.50/view.html?usr=admin&pwd=######>”, PORT=80, POLL_CAMERA_MS=2000]
Sitemap Configuration:
markdown
Frame label=“Motion Alarms” {
Text label=“KittenCam” icon=“camera” {
Image url=“http://google.com/leaveLinkAsThis” item=KittenCamImage refresh=2000
Switch item=KittenCamUpdateImage
}
}
Seeking Assistance:
I’ve followed the instructions from the IP camera binding documentation and various forum posts, but I’m still stuck. If anyone has successfully integrated a Zosi IP Camera or has any troubleshooting tips, I’d be incredibly grateful for your insights.
Thanks in advance for your help!
Best regards,
Mike