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!