openhab-ios
openhab-ios copied to clipboard
Images not refreshed when used as Image in sitemap
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.
Yes, I too have very patchy image refreshing. Not always broken, but sometimes broken.
Anybody?
bump
Same problem here, is there a work around or a fix coming?
It's very frustrating - the iOS app is broken in several ways...
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.
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.
thanks, that's really appreciated. Wish there was a way I could help.
any update on this ?
could you share the part of the code with the issue so we can work on it ?
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
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?
SwiftUI indeed hasn’t implemented refresh yet. Do you want to give it a try?
Sure, I'll give it a try :)