Is it possible to persist only certain values for an item?
I have a fronius solar set up and I am logging error codes especially error code 567 and graph that one code so I know if I am getting over voltage condition.
Over night when there is no solar the fronius sends out a warning error code 307 which is no power produced.
I end up with a graph with a lot of those error codes. It would be nice if only the 567 codes were graphed/persisted or any other code not equal to 307?
My persistence file at the moment is like this:
Strategies {
// default = everyChange
everyHour : "* 0 * * * ?"
}
Items {
// persist all items on every change and restore them from the db at startup from mapdb
* : strategy = everyChange, everyHour
}
I have looked for a solution but not sound anything so maybe it cannot be done (which is OK)
Thanks