- Platform information:
- Hardware:Intel
- OS: Ubuntu Linux 18.04
- Java Runtime Environment: 1.8.0_181-b13
- openHAB version: 2.5.12
I’m successfully using the persistence extension Item.averageSince()
. But when I try to use other methods like deviationSince()
or varianceSince()
I always get the following error:
2021-05-30 11:39:38.594 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'Light Sensors Trends': 'deviationSince' is not a member of 'org.eclipse.smarthome.core.library.items.NumberItem'; line 96, column 55, length 58
The source looks like this:
logInfo("deviation", "deviation is: " + BrightnessStreet.deviationSince(now.minusMinutes(15)))
If I replace the devationSince with averageSince, it works.
I’m using a Mysql Persistence 1.14.0.
Do I have to enable the other persistence extensions somewhere?
Thanks for help!
Frank