Hello together,
I do have a serious problem and do not know how to solve that.
To say it as first: I do like OH, do not want to offend anybody and just look for a direction I could look into.
Since upgrading to OH2 almost a year ago, I do have problems displaying information on the various different methods I know about.
The Config:
My sitemap starts with a weather info:
Webview url="/static/weather-data/layouts/weather.html?locationId=home&layout=example&iconset=colorful" height=2
followed by a simple item:
Text item=PV_Consumption
(The item is defined as follows:
Number PV_Consumption "Aktueller Verbrauch [%.0f W]" <energy> (PV,PV_Chart)
)
Then we have a frame with a chart:
Frame
{
Selection item=PV_Chart_Period label="Periode" icon="line" mappings=[0="Stunde", 1="4 Stunden", 2="12 Stunden", 3="Tag", 4="Woche"]
Chart item=PV_Chart period=h refresh=5000 service="rrd4j" visibility=[PV_Chart_Period==0, PV_Chart_Period=="Uninitialized", PV_Chart_Period=="NULL"]
Chart item=PV_Chart period=4h refresh=5000 service="rrd4j" visibility=[PV_Chart_Period==1]
Chart item=PV_Chart period=12h refresh=5000 service="rrd4j" visibility=[PV_Chart_Period==2]
Chart item=PV_Chart period=D refresh=30000 service="rrd4j" visibility=[PV_Chart_Period==3]
Chart item=PV_Chart period=W refresh=30000 service="rrd4j" visibility=[PV_Chart_Period==4]
Text item=MyPV
}
So, now the problems:
Habdroid 1.8.0.5:
- does not show the webview.
- Updates the text items properly
- Refreshes the chart, but flashes heavily (blanks out for one or two seconds and reappears)
Google Chrome on Windows and Android:
Shows all data (webview, items, chart) but does not refresh automatically at all, I have to do it manually.
Edge:
Shows all data, refreshes the number items automatically (missing the format string somehow, so showing 1353.41 instead of 1353 W as defined in the item,
does not refresh the webviews or charts.
Internet Explorer:
Does not run some scripts in the Webview, so not replacing most of the elements with meaningful text.
Number items are refreshed, but not formatted properly (same as with Edge).
Charts are not refreshed.