openhab-ios icon indicating copy to clipboard operation
openhab-ios copied to clipboard

Images not refreshed when used as Image in sitemap

Open rush131 opened this issue 6 years ago • 13 comments

Configuration is this:

Frame label="Kamera Ulaz" {		
	Image url="http://192.168.7.102/tmpfs/auto.jpg" refresh=1000
}

Worked without a problem on old openhab IOS app, image got refreshed every second. Now i only see the new image when i leave the frame and re-enter it.

rush131 avatar Dec 04 '17 07:12 rush131

Yes, I too have very patchy image refreshing. Not always broken, but sometimes broken.

Dan1001 avatar Dec 11 '17 10:12 Dan1001

Anybody?

rush131 avatar Dec 19 '17 20:12 rush131

bump

Dan1001 avatar Dec 26 '17 10:12 Dan1001

Same problem here, is there a work around or a fix coming?

federic0 avatar Mar 16 '18 15:03 federic0

It's very frustrating - the iOS app is broken in several ways...

Dan1001 avatar Mar 17 '18 16:03 Dan1001

Hi, unfortunately we are short on IOS developer resources right now, i wish we had some other volunteers to help out. If I can find a little time tomorrow I'll take a look and see about a fix.

digitaldan avatar Mar 17 '18 22:03 digitaldan

I took a look and don't yet have a fix. It looks like we are grabbing the image at the refresh interval, but the row in the table is not being redrawn, so the new image(s) is never displayed.

digitaldan avatar Mar 19 '18 00:03 digitaldan

thanks, that's really appreciated. Wish there was a way I could help.

Dan1001 avatar Mar 19 '18 07:03 Dan1001

any update on this ?

could you share the part of the code with the issue so we can work on it ?

gelsas avatar May 10 '18 20:05 gelsas

I still have the problem with the images not reloading. It works on browser (classicUI & basicUI), but not with the beta ios app version 2.3.14

RobZe89 avatar Feb 21 '20 15:02 RobZe89

I think it's safe to assume that cache shouldn't be used if refresh is set.

@timbms I think the SwiftUI version doesn't have refresh implemented yet?

weakfl avatar Feb 21 '20 18:02 weakfl

SwiftUI indeed hasn’t implemented refresh yet. Do you want to give it a try?

timbms avatar Feb 21 '20 19:02 timbms

Sure, I'll give it a try :)

weakfl avatar Feb 21 '20 19:02 weakfl