Hello,
after updating OH from 4.2.1 to 4.3 the items of a page won’t be updated, after a page with IP cam content was active. To rule out side effects from other components, I set up a new OH instance (4.3) and only installed the IP Camera Binding. I can reproduce it up to 100%, when a page has at least 4 x MJPEG streams provided by this Binding.
STR’s:
- Open page ‘Overview’ and refresh by browser (refresh is important)
- Open page with IP cams
- Navigate back
- Open page with items => All controls stays in initial state and don’t show the current item states (after manually refreshing page all controls shows the right item states)
I have the following IP cams in use:
- 3 x HikVision clones
- 1 x DoorBird
When I enter directly the URL’s of the IP cams (and don’t use the MJPEG url of this binding) and reproduce the STR’s, everything works fine. So I could imagine that it has something to do with this binding.
What I have alredy tried:
- Cleared cache and tmp files by
openhab-cli clean-cache
- Cleared cookies and website data of the browser
- Checked with Firefox on Win11 and Safari on iOS
- Activated log level ‘Debug’ for this binding (nothing special visible)
- Checked the console of the browser tools (no errors visible)
Does anyone else have similar problems or ideas on how to narrow down or solve the problem?
For reproducing this issue, here the code of my pages:
config:
label: Overview
blocks:
- component: oh-block
config: {}
slots:
default:
- component: oh-grid-row
config: {}
slots:
default:
- component: oh-grid-col
config: {}
slots:
default:
- component: oh-label-card
config:
title: IP cams
action: navigate
actionPage: page:page_Test1
- component: oh-grid-col
config: {}
slots:
default:
- component: oh-label-card
config:
title: Items
action: navigate
actionPage: page:page_Test2
config:
label: IP Cams
blocks:
- component: oh-block
slots:
default:
- component: oh-grid-row
config: {}
slots:
default:
- component: oh-grid-col
slots:
default:
- component: oh-image
config:
url: http://192.XXX.YYY.215:8080/ipcamera/IPCam-1/ipcamera.mjpeg
- component: oh-grid-col
slots:
default:
- component: oh-image
config:
url: http://192.XXX.YYY.215:8080/ipcamera/IPCam-2/ipcamera.mjpeg
- component: oh-grid-row
config: {}
slots:
default:
- component: oh-grid-col
slots:
default:
- component: oh-image
config:
url: http://192.XXX.YYY.215:8080/ipcamera/IPCam-3/ipcamera.mjpeg
- component: oh-grid-col
slots:
default:
- component: oh-image
config:
url: http://192.XXX.YYY.215:8080/ipcamera/IPCam-4/ipcamera.mjpeg
config:
label: Items
blocks:
- component: oh-block
config: {}
slots:
default:
- component: oh-grid-row
config: {}
slots:
default:
- component: oh-grid-col
config: {}
slots:
default:
- component: oh-toggle-card
config:
item: TestItem