My apologies. I wasn’t aware of that but even the other values aren’t stored. I had checked other values then too. Here is a log of another parameter. It seems only some values were stored after clearing the cache:
{"name":"Masterbed_Temperature","datapoints":"10","data":[{"time":1587630960000,"state":"21.0"},{"time":1587631200000,"state":"21.0"},{"time":1587631440000,"state":"21.0"},{"time":1587631680000,"state":"21.0"},{"time":1587631920000,"state":"21.0"},{"time":1587632160000,"state":"21.0"},{"time":1587632400000,"state":"20.934444444444445"},{"time":1587632640000,"state":"20.8"},{"time":1587632880000,"state":"20.8"},{"time":1587633120000,"state":"20.8"}]}
I can confirm that new values were collected by openhab (when I grep for this element in events.log), but not stored. As mentioned earlier, the timestamp still corresponds to the most recent element value read by Openhab, and NOT of the content in the rrd file.
Well, the graph is still using those files. It just seems that when using the REST URL, there is a default time start used. When I chose an earlier date to start showing the values, they were all there. Of course when I remove the old files, that data is not shown.
Sure, but I can really confirm that for some elements all data is stored, while for the rest, no updates are made, just file time-stamp is updated.