I just changed my persistence to have more control over which items are persisted.
Strategies {
everyMinute : "0 * * * * ?"
everyDay : "0 0 0 * * ?"
default = everyChange
}
Items {
pCha* : strategy = everyChange, everyDay, restoreOnStartup //Group pCha for items with persistence every Change
pMin* : strategy = everyMinute, restoreOnStartup //Group pMin for items every minute
//Group pNed for items which shouldnt be persisted
}
Now I discovered, that Im not able or more correct I dont know how to use the persistence rules on things!
For example the systembinding generates things like "systeminfo_…cpu_load"
I use this for creating my item “Numer CPULoad (Group) {channel=…}” --> doesnt need to be persited
But now the “thing” will be persited and I dont know how to change that.
Maybe another example
Item: Number Sun_Elevation "Sun Elevation [%.2f]" <sun> (Weather, pNed) {channel="astro:sun:local:position#elevation"}
Item is in Group “pNed” --> will not be persisted
BUT there is a thing “astro_sun_local_position_elevation” which will be persisted.
Maybe I can change default persistence to “no” in the .persist file but I havnt found a description anywhere if this is possible.
Or should I name my items the same way the things are named?
One aspect upfront, “astro_sun_local_position_elevation” is not a thing, it’s an item in your system automatically linked when you imported the astro thing through PaperUI.
Answering your actual question: Only items and/or groups mentioned in your persist file will get persisted. Thereby, looking at your file above, the groups Ned will not be persisted to begin with.
Yes there is, in the newer builds. Since around four weeks (I think including beta 4) autogeneration of items can be disabled through PaperUI settings.