Webview (Grafana chart) and item selector for timezone not working properly

Hello @noppes123!
At the moment I have more time and so I can spend more time for my openhab project.
Actually I try to use this code:

sitemap grafana_chart 
        label="grafana chart" {
    Switch item=room1_chartSwitch
           label="Select"
           icon="sofa"
           mappings=[1="week to date",
                     2="the day so far",
                     3="last 5 minutes"]
    Webview icon="none"
            url="http://192.168.178.38:3000/d-solo/BO_TuAgRz/room1?refresh=5s&from=now/w&to=now&orgId=1&panelId=2" 
            height=10
            visibility=[room1_chartSwitch==1]   
    Webview icon="none"
            url="http://192.168.178.38:3000/d-solo/BO_TuAgRz/room1?refresh=5s&from=now-5m&to=now&orgId=1&panelId=2" 
            height=10
            visibility=[room1_chartSwitch==3,
                        room1_chartSwitch=="Uninitialized" ]   
    Webview icon="none"
            url="http://192.168.178.38:3000/d-solo/BO_TuAgRz/room1?refresh=5s&from=now/d&to=now&orgId=1&panelId=2"
            height=10
            visibility=[room1_chartSwitch==2]
}

I add now in the url a refresh of 5s.
When I switch from one time range to a other I get the message “error parsing query: invalid duration” but after some seconds the message disappear (I don’t know why I get this error message :confused:) and I see the grafana chart and is constantly updated.
In the debug mode (F12) of chrome I get regular message like this:

GET http://192.168.178.38:3000/api/datasources/proxy/1/query?db=openhab_db&q=SELECT%20mean("value")%20FROM%20"room1_temperature"%20WHERE%20time%20>%3D%20now()%20-%205m%20GROUP%20BY%20time(1y)%20fill(null)%3BSELECT%20mean("value")%20FROM%20"room1_humidity"%20WHERE%20time%20>%3D%20now()%20-%205m%20GROUP%20BY%20time(1y)%20fill(null)&epoch=ms 400 (Bad Request)

It is possible that is it do do with this:

When I change on my smartphone the time range on the browser I see simultaneous the same change on my browser of the pc. It is impratical.
It is possible to do the change seperatily?

Thank you for the support!!!