I’m trying to persist a Dimmer item using rrd4j persistence. The item definition of the item is the following:
Dimmer Shutter_AutoShutterPosition "Auto-Mode P [%d %%]"
In the logs I see the save and restore of the item:
Stored 'Shutter_AutoShutterPosition' with state '66' in rrd4j database
Restored item state from 'Aug 21, 2015 11:08:00 PM' for item 'Shutter_AutoShutterPosition' -> '0.66000000000000003108624468950438313186168670654296875'
The dimmer state is obviously being saved and restored using different datatypes.
I was just stumbling upon it because I still fight with the fact that all non persistent items are UNDEFINED after I change an item in one of the items files. Even items that are bound (via the Homematic binding for instance).
As this leads to a system which is partially not reliable anymore, I tried to made all relevant items persistent via RRD4J… including my Rolllershutters and Dimmers.
To my surprise my rollershutters start moving after I edited an item file
After I checking the logs it was clear why