If I remember well there was a ask for a rrd4j edit tool during the investigation for OH 5. Is this available or does anyone have a external tool in java or …. I can get.
I am a Windows11 user and on OH 5.2.0-SNAPSHOT #5090. I still use “rrd4j-3.3.1-inspector”. It’s not very luxury but it does the job. See an example of a persisted item, here the battery SoC of my PV system (today all values 0%).
Thanks. How can I change a value? I get NaN
You click into a field under “Archive Data“ and use the format 12345E-67 without a comma.
Thanks. The comma was the issue
What may also be interesting for you to avoid strange persisted values, which might occur damaging the graphics scale, is the range setting of the new persistence tool under “Configure Persistence Policies”. It existed probably earlier, using text config, but i didn’t know.
Example: i sometimes had 4E9 as value for my PV battery SoC which can only vary between 0% and 100%. It came from my PV inverter, always in the night, and i used the RRD file inspector to edit and eliminate such values. Got rid of this now by setting a range between 0…100% within the persistence policies.
well in those cases you should better apply a profile to the item so it doesn’t change to invalid values right in the first place.
That could lead to much more trouble than just a broken graph.
The (I think) SCALE profile should do, or simple inline JS script called via profile.

