I believe this should be every5Minutes : "0 0/5 * * * ?" (look at example 1). Maybe this is preventing the rest of the file from loading? Are there any validation errors in the log during a startup or save of this file?
How do you know that the values aren’t being persisted (are you actually looking into the db)? You could try debugging the persistence binding that you are using. You would probably use log:set DEBUG org.openhab.persistence.influxdb (I use JDBC). Running list -s |grep org.openhab.persistence in Karaf should provide the name of the bundle. It woul dbe interesting to see what it logs when values are changed.
Any chance you originally set the item up as a type other than Number? My items are in files, and sometimes when I first setup an item, I’ll get the type wrong and need to change it. But when I do this, I also need to go into the db (I use MariaDB) and change it there too.
the restart solved the problem.
before restarting, the persistence only stored “everyMinute” not “everyChange”
after restarting the persistence stores everyChange AND everyMinute.
working fine now
I was asking if the restart resolved this because you hadn’t restarted after initially changing the file, or because of correcting the error in your strategies?