If you configure in the UI and you add a configuration, there is an option for all items. In text files it is represented by a *.
Where do I find the option in the ui for all items? I am not able to see it
What version of OH are you running? I know it was missing in the UI initially. In the UI of the last snapshot (and maybe already before), if you add a Configuration, there is a switch on top for all items.
For textual configuration, look at the Items section of the Persistence documentation: Persistence | openHAB.
I am using the version 4.1.3, maybe there the switch is not implemented yet?
Indeed, it didn’t exist there.
If you want to use the UI for persistence configuration, the only option then is to create aroup Item with all items in it. Alternatively, you can use a text configuration, which is probably easier in this case.
Ok, than I will go with text configuration.
Do you have some ideas how I can adjust the file that I already have to make it work like I want to use some strategy for all items?
Strategies {
everyMinute : "0 * * * * ?"
default = everyChange, everyMinute
}
What do I have to add that it works?
Have a look at the persistence documentation I shared above, and look for the Items section. It is explained there. There are also examples.
You are missing the Items section in your definition.
Yeah, i understand that. I asked if you have some hint how to achieve my needs. Now I already have the solution.