There is no modifiable persistence service registered with the id 'rrd4j'

Hi,

I’m trying to overwrite some bad values in my rrd4j database.

The following should work

let targettime = time.toZDT('2025-01-11T13:26')
let state = '3000000 Wh'

items.getItem('A_Modbus_Data_Value_as_Number').persistence.persist(targettime,state,'rrd4j')

but I get an error in the log

There is no modifiable persistence service registered with the id 'rrd4j'

Can anyone see what I’m, doing wrong?

The message is correct. You can only store at the current time (and query) the rrd4j persistence service. You cannot store at another timestamp, so existing persisted values are not modifiable. This is a limitation of rrd4j.

Thanks. Good answer, even though it’s not what I was hoping to hear.
Do you know of another way to edit this database?

I have never done any change to it before, but have a look here: Rrd4j: smoothen data and edit rrd-files