I have a bunch of numbers, which are pulled via shell script on a RPi2.
The numbers are defined as items, and showing properly on a sitemap.
I want to chart these numbers, have defined the persistence, by simply adding the item to the existing weather* Weather_Chart*, INET_* : strategy = everyMinute, restoreOnStartup
… however, the chart is empty.
Sitemap:
Text label="Internet Speed" icon="gauge" {
Text item=INET_PING icon="ping"
Switch item=INET_Chart label="Chart Period" mappings=[0="Hour", 1="Day", 2="Week"]
Chart item=INET_PING period=h refresh=300 visibility=[INET_Chart==0]
Chart item=INET_PING period=D refresh=1800 visibility=[INET_Chart==1, INET_Chart=="Uninitialized"]
Chart item=INET_PING period=W refresh=3600 visibility=[INET_Chart==2]
}
Items:
Number INET_PING "Ping [%.1f ms]"
Number INET_Chart
Any ideas / hints why the graph does not show?
Could I also only add the chart item in the persist config for rrd4j, rather then INET_*?
(by the way: my weather persistence and graphing is working > ergo sum: I must have done something wrong.)
EDIT: Also checked with URL /chart?items=INET_PING&period=W --> which is empty. So it looks like persistence does not work??
Event log says:
2016-11-04 19:00:47 - INET_PING received command 46.322
Sitemap shows it: