openhab / openhab1-addons

Add-ons for openHAB 1.x
Eclipse Public License 2.0
3.43k stars 1.71k forks source link

[rrd4j] error: rrd4j does not allow querys without a begin date, unless order is descending and a single value is requested #5913

Open BeistleA opened 4 years ago

BeistleA commented 4 years ago

Expected Behavior

rule "Teufel_Amp_ON" when Item harmony_activity changed then logInfo("TEST", "prev" + Media_Aktion.previousState(true, "rrd4j").state) } end

I want to get the last not similar to the actual state out of the rrd4j database

Current Behavior

This message appears: 2019-11-01 17:28:52.890 [ERROR] [ntime.internal.engine.RuleEngineImpl] - Rule 'Teufel_Amp_ON': rrd4j does not allow querys without a begin date, unless order is descending and a single value is requested

Your Environment

Openhabian 2.4.0-1 --Stable release RPI3 persistence-rrd4j - 1.13.0

9037568 commented 4 years ago

Questions should be posted in the community forum.

Yours is probably answered in this thread.

BeistleA commented 4 years ago

Hey Chris,

I came from the Community Forum, where Rich Koshak suggested to file an issue on GitHub in this case, see Topic: https://community.openhab.org/t/rrd4j-only-stores-one-datapoint/84639/18 Your recomended post did not solve my Problem with rrd4j. I am now using mapdb which works, but I think this is an issue with rrd4j which Maybe should be solved.

Greetigns Andy

R

9037568 commented 4 years ago

Reopened.