jsondb zwave entry
"zwave:serial_zstick:0f30e162": {
"class": "org.eclipse.smarthome.core.thing.internal.BridgeImpl",
"value": {
"label": "Z-Wave Serial Controller",
"channels": [
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"zwave",
"serial_zstick",
"0f30e162",
"serial_sof"
]
},
"channelTypeUID": {
"segments": [
"zwave",
"serial_sof"
]
},
"configuration": {
"properties": {}
},
"properties": {},
"defaultTags": []
},
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"zwave",
"serial_zstick",
"0f30e162",
"serial_ack"
]
},
"channelTypeUID": {
"segments": [
"zwave",
"serial_ack"
]
},
"configuration": {
"properties": {}
},
"properties": {},
"defaultTags": []
},
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"zwave",
"serial_zstick",
"0f30e162",
"serial_nak"
]
},
"channelTypeUID": {
"segments": [
"zwave",
"serial_nak"
]
},
"configuration": {
"properties": {}
},
"properties": {},
"defaultTags": []
},
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"zwave",
"serial_zstick",
"0f30e162",
"serial_can"
]
},
"channelTypeUID": {
"segments": [
"zwave",
"serial_can"
]
},
"configuration": {
"properties": {}
},
"properties": {},
"defaultTags": []
},
{
"acceptedItemType": "Number",
"kind": "STATE",
"uid": {
"segments": [
"zwave",
"serial_zstick",
"0f30e162",
"serial_oof"
]
},
"channelTypeUID": {
"segments": [
"zwave",
"serial_oof"
]
},
"configuration": {
"properties": {}
},
"properties": {},
"defaultTags": []
}
],
"configuration": {
"properties": {
"controller_softreset": 0,
"security_networkkey": "9E **** EDITED ***** 0B 81",
"security_inclusionmode": 0,
"controller_suc": false,
"controller_sync": 0,
"port": "/dev/ttyACM0",
"controller_master": true,
"inclusion_mode": 2,
"controller_wakeupperiod": 3600,
"heal_time": 2,
"controller_exclude": 0,
"controller_inclusiontimeout": 30,
"controller_hardreset": 0
}
},
"properties": {},
"uid": {
"segments": [
"zwave",
"serial_zstick",
"0f30e162"
]
},
"thingTypeUID": {
"segments": [
"zwave",
"serial_zstick"
]
}
}
}
}
I will remove it to see if i can start OH.
Edit 1: zwave entry brutally removed.
Edit2: Added zwave manually thru PaperUI and inbox.
Deliberately set port to /dev/noSuchPort
NO ERRORS !!! Except for zwave device being online which was expected.
OH still runs !
Edit 3:
Changed device to ‘correct’ device i.e, /dev/ttyACM0.
Saved and OH crasched !
From here on, any help is appreciated.
Edit 4:
Interesting and it surprised me:
The jsondb file said:
"controller_suc": false, "controller_sync": 0, "port": "/dev/noSuchPort", "controller_master": true, "inclusion_mode": 2, "controller_wakeupperiod": 3600, "heal_time": 2, "controller_exclude": 0, "controller_inclusiontimeout": 30, "controller_hardreset": 0
Note that the device entry is not updated with the one that crasched…
And I can restart, and it still holds the fake device.
So it crasched immediately when I put in /dev/ttyACM0 , without even saving it to the DB.
What gives ?
Edit 5:
stopped OH.
Entered /dev/ttyACM0 in jsondb.
started OH and it crasched immediately