OK, I was able to track down my old key. It was located in my backup here:
openhab2-userdata/jsondb/org.eclipse.smarthome.core.thing.Thing.json
Search for “security_networkkey”
I then went into OH3, opened the zwave controller thing and under advanced, copied the new sec key out to a file (to have a backup just in case) and pasted in this old key from my OH2 install.
All devices went off line briefly while the controller item reinitialized then all came back online.
Next I went into my lock’s thing in OH3 and saw that “zwave_secure” was still marked as False. I tried reinitializing the item, that didn’t work, I tried going into the console and stopping, restarting the binding, that didn’t work, finally I stopped the OH server, cleaned the cache and restarted, now it was marked as zwave_secure=True!
This works for me now!
…at least with one lock - side door now functions - back door lock does not…
Lock #2, my back door lock which doesn’t get used often had a dead battery when OH3 started up the first time and never parsed the info from the lock. I think this battery was dead for some time and went unnoticed. I replaced the batteries and reinitialized the thing in OH (I manually locked and unlocked the device several times to wake it up to communicate with the controller), but it still never could read the vendor info, so it was just a device of unknown type. There is a check on the device to see if it thinks it is included in a network. You disconnect the battery, and reconnect, if the inside Schlage button blinks it thinks its included. My lock that now works did this before I changed the key, but my back lock didn’t before nor after I changed the sec key. So I believe this lock did not think it was included in any network.
So, I decided that I would try to exclude and re-include this device. I tried using the “Remove Device From Controller” which I suspect is Exclusion. I did that while holding the button on the device and I believe it was successful as the device went offline in OH. Now, however, I cannot get the device to get included in the zwave network. Every time it is unsuccessful. I’m not sure if I am doing this correctly. The instructions manual says you are supposed to hit “Inside Schlage button->your programming code->0” and it puts the device into inclusion mode. It appears to work, but it always blinks the red check indicating it failed. Does anyone have advice on how to deal with this device? Am I still running into some kind of issue with the security feature on this?