Hi,
This question has been asked before, but the solution offered there did not work for me.
I am trying to get historical data to compute change
val weatherChange = Weather_Temperature.historicState(now.minusMinutes(2)) as DecimalType
But I am getting the following warning, and as a result the variable remains ‘null’.
19:03:00.022 [WARN ] [nce.extensions.PersistenceExtensions] - There is no default persistence service configured!
19:03:00.025 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'null'`
Default persistence is set to rrd4j in runtime.cfg (org.eclipse.smarthome.persistence:default=rrd4j), also there is data in rrd4j files as the graphs that use the same data display it correctly.
Many thanks,