Sitemap Frame item selection

What is wrong with my sidemap selection below.
The item KeukenGrafanaWindow never gets a value.
I tested this with Switch, Selection, Setpoint and slider.

Frame label="Grafieken"  icon="chart" {
	//	Switch item=KeukenGrafanaWindow icon=chart mappings=[1="6 Uur", 2="12 Uur",3="24 Uur",4="7 Dagen"]
	// Setpoint item=KeukenGrafanaWindow icon=chart minValue=1 maxValue=4 step=1
	Slider  item=KeukenGrafanaWindow icon=chart minValue=1 maxValue=4 step=1

Well 1 first look there is a } missing or you forgot to post the complete frame. Then more information about your number item ?

Your item remark triggered me. I started with the Switch option and created the used item as a Switch. Now all options are working. The only problem I have that after a selection change the Frame is not refresh/reprocessed. How can I force this?

Frame label="Grafieken"  icon="chart" {
	// Switch item=KeukenGrafanaWindow icon=chart mappings=[1="6 Uur", 2="12 Uur",3="24 Uur",4="7 Dagen"]
	// Setpoint item=KeukenGrafanaWindow icon=chart minValue=1 maxValue=4 step=1
	// Slider  item=KeukenGrafanaWindow icon=chart minValue=1 maxValue=4 step=1
	Selection item=KeukenGrafanaWindow icon=chart mappings=[1="6 Uur", 2="12 Uur",3="24 Uur",4="7 Dagen"]
	Webview icon=line url="http://192.168.100.92:3000/d-solo/c0888acd-5068-4f9a-b4a9-2c904a0970bb/keuken-apparatuur?orgId=1&panelId=2&from=now-6h&to=now&refresh=1m" height=5  visibility=[KeukenGrafanaWindow=="1"]
	Webview icon=line url="http://192.168.100.92:3000/d-solo/c0888acd-5068-4f9a-b4a9-2c904a0970bb/keuken-apparatuur?orgId=1&panelId=2&from=now-12h&to=now&refresh=1m" height=5  visibility=[KeukenGrafanaWindow=="2"]
	Webview icon=line url="http://192.168.100.92:3000/d-solo/c0888acd-5068-4f9a-b4a9-2c904a0970bb/keuken-apparatuur?orgId=1&panelId=2&from=now-1d&to=now&refresh=1m" height=5  visibility=[KeukenGrafanaWindow=="3"]
	Webview icon=line url="http://192.168.100.92:3000/d-solo/c0888acd-5068-4f9a-b4a9-2c904a0970bb/keuken-apparatuur?orgId=1&panelId=2&from=now-7d&to=now&refresh=1m" height=5  visibility=[KeukenGrafanaWindow=="4"]
	// Webview icon=line url="http://192.168.100.92:3000/d-solo/c0888acd-5068-4f9a-b4a9-2c904a0970bb/keuken-apparatuur?orgId=1&panelId=2&from=now-7d&to=now&refresh=1m\" width=\"450\" height=\"300\" frameborder=\"0\"" height=10 visibility=[KeukenGrafanaWindow=="4.0"]
}

I added a simple Group to the frame but see the same problem. I can change the value of item WoonkamerTemperatuur but the GUI is not updated on a PC (I need to do a refresh of the page to make it visible) and not on Android.
So what do I wrong?

	Group item=BG_Woonkamer
	{
		Setpoint item=WoonkamerTemperatuur minValue=18 maxValue=24 step=0.2 
		Text item=ShellyWoonkamerHTSensorsTemperature
	}

I don’t know how you create your sitemap but one important thing is that your sitemap name is equal to the prefix of your sitemap file. So if your file is home.sitemap, you should use “home” as name in your sitemap.

I create the sitemap file as a file with VSC and yes I use the mentioned naming convention

This is the only known reason to not have live updates.

I checked again and are 100% sure the name of the file (OH3Sitemap.sitemap) is the same as the sitemap name (sitemap OH3Sitemap label=“Overichten” ).
The events.log file shows the changes correct
How to debug the this?

Is it just one particular sitemap element which is not updated or is it all elements?

All elements are not updated.

Is your sitemap loaded without any warning (look at your OH logs) ?
Do you have at least one sitemap working ?

Is the problem specific to a particular UI app or you have the problem with all sitemap UIs (Basic UI, Android app, iOS app) ?

Is your setup unusual, I mean for example behind a reverse proxy you setup yourself ?

Is your OH running in docker ?

Sitemap is loaded without any warning.
I only have one sitemap at the moment
I tested with Basic UI and Android. Both show the same problem.
Not unusual but running in a docker.
When I save a change in the sitemap all items are updated.

Try with a very simple sitemap example (showing just one item(. If it works, this will confirm a problem with your current sitemap. If not, this will indicate a general problem of your setup.

I reduced it to one line and no update.

sitemap OH3Sitemap label="Overichten" // name sitemap moet overeenkomen met de filenaam
{
	Setpoint item=TestSitemap minValue=18 maxValue=24 step=0.2  
}

Please try only with that:

sitemap OH3Sitemap label=“Overichten” {
Text item=TestSitemap
}

Using an item you are sure it is updated (confirmed by logs).

The same result. No update.

So this is probably not a sitemap problem but more a general setup problem, maybe something in link with your use of docker. Maybe your browser is not able to establish a SSE connection with your OH server.
Does live update work in MainUI?

Main UI is working fine on PC and Android.

If it works in Main UI, this is probably not a network issue.

I have no other idea.

Thanks. I will upgrade to 4.1 when released and check if the issue has gone.