Hello openhabians,
I try to persist and visualize yahoo weather data (primary for testing and transfer to other subjects), but rrd4j visualization show no values in charts:
RRD4j.persist:
Strategies{
everyMinute : “0 * * * * ?”
everyHour : “0 0 * * * ?”
everyDay : “0 0 0 * * ?”
default = everyChange
}
Items{
Temperature : strategy = everyUpdate, everyMinute, restoreOnStartup
Humidity : strategy = everyUpdate, everyMinute, restoreOnStartup
}
rrd4j.cfg:
weather.items=Temperature, Humidity
yahoo.items:
Group TemperatureGroup “Außentemperatur”
Number Temperature “Außentemperatur [%.1f °C]” (TemperatureGroup) { channel=“yahooweather:weather:berlin:temperature” }
Group HumidityGroup “Luftfeuchtigkeit”
Number Humidity “Luftfeuchtigkeit [%d %%]” (HumidityGroup) { channel=“yahooweather:weather:berlin:humidity” }
// mappings=[0=“Tag”, 1=“Woche”, 2=“Monat”, 3=“Jahr”]
Number chart_period “Zeitraum”
home.sitemap:
Frame label=“Temperatur” {
Text item=Temperature
Switch item=chart_period label=“Zeitraum” mappings=[0=“Tag”, 1=“Woche”, 2=“Monat”, 3=“Jahr”]
Chart item=Temperature period=D refresh=10000 visibility=[chart_period==0, chart_period==“Uninitialized”]
Chart item=Temperature period=W refresh=10000 visibility=[chart_period==1]
Chart item=Temperature period=M refresh=10000 visibility=[chart_period==2]
Chart item=Temperature period=Y refresh=10000 visibility=[chart_period==3]
}
/var/lib/openhab2/persistence/rrd4j:
Log: [1] Warning
2018-05-11 15:21:07.588 [WARN ] [sitemap.internal.SitemapProviderImpl] - Filename
home.sitemap
does not match the nameHome
of the sitemap - please fix this as you might see unexpected behavior otherwise.
PaperUI:
I have no idea what I can do, thankful for any response,
Martin.