I installed recently influxDB add-on on OH3 (3.1.0M4) for testing with some items only, using following influxdb.persist
config file - for all other items I still used rrdj4.
//influxdb.persist
Items
{
Bewaesserung_Rasen_LetzteBewaesserung_Verbrauch : strategy = everyUpdate
Bewaesserung_Rasen_Schalter : strategy = everyChange
item_HM_Sw4_Bewaesserung_1_STATE : strategy = everyChange
}
After updating OH3 to 3.1.0M5 I realized that some item data was not restored anymore, but item state was NULL only.
I found that from some items no records are available in rrd4j db, others are stored properly.
I do not have any rrd4j.persist
config file defined, but use the default. rrd4j is the default persistence service.
I uninstalled the rrd4j persistence binding and installed it again, but no change.
I also stopped OH3, deleted tmp
and cache
folder and installed OH3 3.1.0M5 in a Docker again - still the same problem, for always the same items.
Example item not stored in rrd4j:
API Explorer item status:
{
"link": "http://192.168.5.22:8192/rest/items/Bewaesserung_Vorne_Timer_Startzeit",
"state": "2021-06-17T08:45:00.000+0200",
"stateDescription": {
"pattern": "%1$td.%1$tB, %1$tH:%1$tM",
"readOnly": false,
"options": []
},
"editable": true,
"type": "DateTime",
"name": "Bewaesserung_Vorne_Timer_Startzeit",
"label": "Bewässerung Büsche Vorne Timer Startzeit",
"category": "",
"tags": [
"Point"
],
"groupNames": [
"gBewaesserung_Vorne"
]
}
API Explorer Persistent status:
{
"name": "Bewaesserung_Vorne_Timer_Startzeit",
"datapoints": "0",
"data": []
}
Any clue why some item states are not stored?
Thanks for your help
Stefan