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'
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.