I’ve configured Z-wave as the built-in Z-wave integration in Home Assistant. When I was configuring it, I didn’t explicitly set a network key as it said that leaving it blank will auto-generate one for me. Now everything is working, including the lone secured device that I have (Schlage Conect Deadbolt).
Question is: how can I get the exact network key that was auto-generated for me?
No network key is set. If you have a key configured in configuration.yaml, then it will use that. If not, you are not using any key (unless you also manually entered a key into the file options.xml, which is never recommended). If you check the beginning of OZW_Log.txt it will tell you whether a key is being used or not.
Thanks much! As the saying goes, “you sometimes can’t see the wood for the trees…” I honestly did not see the work “network_key” because I was so focussed on everything below “zwave”…
The OZW log (from an older backup) just says
2019-06-29 22:39:04.679 Always, OpenZwave Version 1.4.3440 Starting Up
2019-06-29 22:39:10.927 Info, Setting Up Provided Network Key for Secure Communications
2019-06-29 22:39:10.927 Warning, Failed - Network Key Not Set
I used a more specific (and longer) command (cat /config/.storage/core.config_entries | jq '.data.entries[] | select(.domain == "zwave_js") | .data') to get the keys: