Anyone with an idea why speedtest is not storing values automatically?
speedtest-cli is installed on the container where openhab is running and I would expect the values to be stored according to the thing configuration (refresh interval). Manual trigger does work and stores the values.
If a Thing’s Channels are not linked to Items, the Thing does nothing with the values. You must link the Channels you want to store to Items. Once linked to Items, what gets stored under what circumstances depends on your persistence configuration. The default persistence strategy for most of the persistence add-ons is everyChange and restoreOnStartup. rrd4j also has an everyMinute strategy.
Please use code fences instead of quotes for logs and code.
```
code goes here
```
It really doesn’t matter what the binding is doing. What are the Items doing? Are they updating? Are they changing? Are they updating to the same value?
Since you have everyMinute, that means that there should be values in rrd4j so long as the Items themselves are not NULL or UNDEF. So what state are the Items?
When the binding does the test on it’s own, do the Items change state? You’ll only see different values if the binding is changing the Item’s state. Otherwise you get a straight line.
The fact that it’s storing values when you manually run the speed test and that you can get any graph at all indicates that there’s nothing wrong with persistence. Persistence is very simple and straight forward. With an everyMinute strategy, rrd4j will save the current state of the Item, what ever it happens to be, every minute. There’s not logic that could make it fail for Items linked to one binding and not others. It’s the same logic for all Items, all of the time.
But there might be a problem with your Items updating or they are updating to NULL or UNDEF. Those states do not get saved to the database and rrd4j will continue to use the last valid state everyMinute.
So you need to watch the states of the Items. That’s the only thing that matters right now.
In the items I see the values which I see in the log (e.g. downloadBandwidth). So they change every 15 minutes. But looking at a chart of the item these 15 minutes datapoints are not there.