[Solved] Webview, no refresh/update

  • Platform information:
    • Hardware: Synology DS214+
    • OS: DSM 6.2.1-23824 Update 1
    • Java Runtime Environment: 8.0.161-0015
    • openHAB version:

I used the weather binding and display the actual weather-information in the Android OpenHab App (v 2.5.0) in a webview.

If i start des App i see the last updated weather information. That works fine.
But it looks like there is no update / refresh of the information. There is only an update if i switch bewteen other sitemaps manually. The weather provider is configured in the weather.cfg to update all 10 minutes.

my configuration of the sitemap for the webview…

		Webview url="" height=8


and the weather.cfg


I have no idea why the webview will not get an update.

Does it refresh the info within the webview when using BasicUI?

Can you run curl and post the output here (remove api keys and exact location before) to see if there are any no-cache flags set?

there is also no refresh of the webview when i using the BasiUI

i have checked the file example.html again wich is used. I changed the meta information

This is from the example layout file

	<meta http-equiv="Content-type" CONTENT="text/html; charset=utf-8">


<meta http-equiv="refresh" CONTENT="60"">

With this changing the refresh works now.
Thanks for you help.

1 Like