@rlkoshak I’ve just discovered another strange issue with the changedSince command with rrd4j. On some Switch items the command always returns true, even if the value has not changed. This is the command I’m using:
SW_ZWAVE_Living_Humidifier.changedSince(now.minusMinutes(5), "rrd4j")
I’ve also checked the persistence data using the api. This is the rrd4j data for this item for today:
{
"name": "SW_ZWAVE_Living_Humidifier",
"datapoints": "49",
"data": [
{
"time": 1611054000000,
"state": "ON"
},
{
"time": 1611054060000,
"state": "ON"
},
{
"time": 1611054060000,
"state": "ON"
},
{
"time": 1611054120000,
"state": "ON"
},
{
"time": 1611054120000,
"state": "ON"
},
{
"time": 1611054180000,
"state": "ON"
},
{
"time": 1611054180000,
"state": "ON"
},
{
"time": 1611054240000,
"state": "ON"
},
{
"time": 1611054240000,
"state": "ON"
},
{
"time": 1611054300000,
"state": "ON"
},
{
"time": 1611054300000,
"state": "ON"
},
{
"time": 1611054360000,
"state": "ON"
},
{
"time": 1611054360000,
"state": "ON"
},
{
"time": 1611054420000,
"state": "ON"
},
{
"time": 1611054420000,
"state": "ON"
},
{
"time": 1611054480000,
"state": "ON"
},
{
"time": 1611054480000,
"state": "ON"
},
{
"time": 1611054540000,
"state": "ON"
},
{
"time": 1611054540000,
"state": "ON"
},
{
"time": 1611054600000,
"state": "ON"
},
{
"time": 1611054600000,
"state": "ON"
},
{
"time": 1611054660000,
"state": "ON"
},
{
"time": 1611054660000,
"state": "ON"
},
{
"time": 1611054720000,
"state": "ON"
},
{
"time": 1611054720000,
"state": "ON"
},
{
"time": 1611054780000,
"state": "ON"
},
{
"time": 1611054780000,
"state": "ON"
},
{
"time": 1611054840000,
"state": "ON"
},
{
"time": 1611054840000,
"state": "ON"
},
{
"time": 1611054900000,
"state": "ON"
},
{
"time": 1611054900000,
"state": "ON"
},
{
"time": 1611054960000,
"state": "ON"
},
{
"time": 1611054960000,
"state": "ON"
},
{
"time": 1611055020000,
"state": "ON"
},
{
"time": 1611055020000,
"state": "ON"
},
{
"time": 1611055080000,
"state": "ON"
},
{
"time": 1611055080000,
"state": "ON"
},
{
"time": 1611055140000,
"state": "ON"
},
{
"time": 1611055140000,
"state": "ON"
},
{
"time": 1611055200000,
"state": "ON"
},
{
"time": 1611055200000,
"state": "ON"
},
{
"time": 1611055260000,
"state": "ON"
},
{
"time": 1611055260000,
"state": "ON"
},
{
"time": 1611055320000,
"state": "ON"
},
{
"time": 1611055320000,
"state": "ON"
},
{
"time": 1611055380000,
"state": "ON"
},
{
"time": 1611055380000,
"state": "ON"
},
{
"time": 1611055440000,
"state": "ON"
},
{
"time": 1611055440000,
"state": "ON"
}
]
}
The state in the data is always on, but the command always returns true for some reason. Also the lastUpdate date is also always updated every minute. And for some reason the persistence api returns every timestamp multiple times.
Any idea what could be wrong here? I already tried to delete the rrd file, but that didn’t fix the problem.