Hello.
How is it possible to switch off the standard persistance for individual items?
I don’t need a history of a switch or a battery charge. I want to disable these write accesses.
i find no entry in the UI.
Thx in advance.
cidi
To disable persistence for everything just remove the persistence service via the UI.
However, if you want to persist only some Items you will have to create/modify the relevant persistence file configuration in the persistence folder. Check the documentation on persistence on how to go about this.
Here is my rrd4j.persist file:
Strategies {
// for rrd charts, we need a cron strategy
everyMinute : "0 * * * * ?"
default = everyChange
}
Items {
// persist items on every change and every minute
//* : strategy = everyChange, everyMinute
sLoftTemperature, nProxmoxTemp, nZ83Temp, nPi3BTemp, nPi0Temp, nSetpointTarget, nCurrentSetpoint, nCurrentTemperature: strategy = everyChange
nPhaseOfDay : strategy = everyChange, restoreOnStartup
gEnergy*, gSecurityLights* : strategy = everyUpdate
}
(There are definitely some redundant lines in there, but meh!)