I created a tool to fetch data from a (non-rrd4j) persistence service and put it into an RRD4J type file.
See Github Repo
[Edit] Changed the Repo.
Now the Java project contains a single method and the two dependecies (rrd4j and json).
I created a tool to fetch data from a (non-rrd4j) persistence service and put it into an RRD4J type file.
See Github Repo
[Edit] Changed the Repo.
Now the Java project contains a single method and the two dependecies (rrd4j and json).
Sort of off-topic - but for completeness or companionship - a method of importing e.g. an OH2 rrd4j dataset into OH3?
Hoping it’s as simple as copy files - so long as you have kept same Item names!
It works exactly like this.
sorry to revive this old thread, @opus!
First off: Thanks for the JAR, works with me for number-items. and even works still with OH4.
I just lost all my rrd-files (OH4.3.4-release / openHABian: deletes rrd4j completely, no more var/log/openhab) and I’d like to try it out for rebuilding my entire rrd4j-persistence rather than restoring my backup from tonight.
As switch and contact items are stored 1/0 instead ON/OFF or CLOSED/OPEN… is there a way to add rewriting rrd-files for those types too? I’m completely out of my zone when it comes to JAVA!