Iāve implemented the json storage idea I mentioned above - seems to work well. Iāve implemented it as separate files per data table, so we get one for items, things, links, inboxā¦
The things looks like so -:
{
"zwave:device:155e57cafb9:node2": {
"class": "org.eclipse.smarthome.core.thing.internal.ThingImpl",
"value": {
"label": "Lounge Lights (Node 2)",
"bridgeUID": {
"segments": [
"zwave",
"serial_zstick",
"155e57cafb9"
]
},
"channels": [
{
"acceptedItemType": "Dimmer",
"uid": {
"segments": [
"zwave",
"device",
"155e57cafb9",
"node2",
"switch_dimmer"
]
},
"channelTypeUID": {
"segments": [
"zwave",
"switch_dimmer"
]
},
"label": "Dimmer",
"configuration": {
"properties": {}
},
"properties": {
"binding:Command:OnOffType": "SWITCH_MULTILEVEL,BASIC",
"binding:*:PercentType": "SWITCH_MULTILEVEL,BASIC"
},
"defaultTags": []
}
],
"configuration": {
"properties": {
"config_30_1": 3,
"config_11_1": 1,
"config_10_1": 1,
"group_1": [],
"group_3": [
"node_1_0"
],
"group_2": [],
"switchall_mode": "SWITCH_ALL_INCLUDE_ON_OFF",
"action_reinit": "-232323",
"config_16_1": 1,
"config_17_1": 0,
"config_18_1": 0,
"config_39_2": 600,
"config_12_1": 99,
"config_19_1": 0,
"config_13_1": 1,
"config_14_1": 0,
"config_15_1": 1,
"config_20_1": 110,
"action_failed": "-232323",
"powerlevel_level": 0,
"action_remove": "-232323",
"binding_pollperiod": "1800",
"action_heal": "-232323",
"config_1_1": -1,
"config_7_1": 1,
"config_8_1": 1,
"config_9_1": 5,
"powerlevel_timeout": 0,
"config_6_1": 0
}
},
"properties": {
"zwave_class_basic": "ROUTING_SLAVE",
"zwave_class_generic": "MULTILEVEL_SWITCH",
"zwave_deviceid": "262",
"zwave_frequent": "false",
"zwave_nodeid": "2",
"zwave_version": "1.6",
"zwave_listening": "true",
"zwave_routing": "true",
"zwave_beaming": "true",
"zwave_class_specific": "POWER_SWITCH_MULTILEVEL",
"zwave_manufacturer": "271",
"zwave_devicetype": "256",
"zwave_neighbours": "4,6,7,8,9,12,14"
},
"uid": {
"segments": [
"zwave",
"device",
"155e57cafb9",
"node2"
]
},
"thingTypeUID": {
"segments": [
"zwave",
"fibaro_fgd211_00_000"
]
}
}
}
}
and itemsā¦
{
"zwave_serial_zstick_155e57cafb9_serial_sof": {
"class": "org.eclipse.smarthome.core.items.ManagedItemProvider$PersistedItem",
"value": {
"groupNames": [],
"itemType": "Number",
"tags": [],
"label": "Start Frames",
"category": "Temperature"
}
}
}
I want to add auto backups, but as proof of concept, it works wellā¦