Hi,
I create live graphic with Grafana and will show some graphs in a “submap” (not on the startmap), but don’t know how or if this is not possible.
In a sitemap I use (successfull) Webview url=…, but how can I use this in a “Group” (submap) ?
Here my example sitemap:
sitemap mHOME label="mHOME"
{
Frame label="Locations"
{
Group item=GF
Group item=FF
Group item=OS
Group item=DIV
}
Frame label="Kompakte Infos" icon="smiley"
{
Switch item=AtHome label="Zuhause, anwesend" mappings=[OFF="Unterwegs",ON="Zu Hause"] icon="parents_5_2"
Text item=Rain_1h label="Regenmenge letzte Stunde [%d Liter]" icon="rain"
Text item=Rain_24h label="Regenmenge letzten 24 Stunden [%d Liter]" icon="rain"
Text item=e_consumption_day label="Stromverbrauch gestern: [%.0f W]" icon="poweroutlet_eu"
Text item=w_consumption_act label="Wasserverbrauch Aktuell [%.1f L/h]" icon="water"
…
// THIS URL/Graphic WORKS, on „MAIN-SCREEN“:
// (But should be part from a group (sub-page) like FF (FirstFloor) or DIV)
Webview url="http://openhabianpi:3000/d-solo/Il-rxxxzRk/strom-live-01?refresh=5s&orgId=1&panelId=2\" width=\"650\" height=\"200\" frameborder=\"0\"" height=6
}
}
The graphic should be shown (i.e.) when clicking on the subscreen “DIV” (actuall there is shown the time from sunrises etc).
Configured in a climate.items file:
...
DateTime Sunset
"Sonnenuntergang [%1$tH:%1$tM]"
<sunset>
(DIV)
{channel="astro:sun:home:set#end"}
...
How can I add here a Webview URL (or link to a graph) ?