Script execution of rule with UID 'Persistence-1' failed: rrd4j does not allow querys without a begin date, unless order is descending and a single value is requested in Persistence
when executing this rule
rule "Testrule"
when
//something happened
then
logInfo("Persistence", item.previousState(true, "rrd4j").state.toString)
end
I am using two persistence services. MapDB and RRD4J. MapDB is configured as standard service.
So, what am i doing wrong? I am trying to get HistoricItem from an rrd4j persisted item. I am calling the previousState right and it is a numerical item. What is happening?
The state is with a dot. e.g. “11.0”
Can you recommend a Persistence service which is easy to setup, stores historicitem and maybe does not grow in size?
I would live to see an embedded version of a persistence service doing that. Influxdb is not working for me, as the openhabian-config installer does not finish the installprocess.