Trying to follow the steps here to get notifications that my Schlage lock is locked at night
Hi Fellow HAers-
I struggled with trying to add the Schlage Deadbolt to Home Assistant. The answers are buried in multiple thread posts and component posts. I hope this helps and consolidates it for folks!
Steps to Add Schlage Deadbolt Z-Wave Connect to HA
if you already added your lock but not securely scroll to bottom of this post to learn how to remove it first
In order to add secure ZWave device (which the Schlage lock is) you need to add a network key to your ZWave configuration.
A…
My config yaml shows this (Key was generated from the website in the link)
zwave:
usb_path: /dev/tty/ACM0
network_key: "YT6yc5r^^^"
I get an error when trying to restart Homeassistant or check the configuraiton
Invalid config for [zwave]: does not match regular expression (0x\w\w,\s?){15}0x\w\w for dictionary value @ data[‘zwave’][‘network_key’]. Got ‘YT6yc5r74k’. (See /config/configuration.yaml, line 15).
I’m such a newbie that I don’t understand what is wrong…Am I missing spacings or quotes or something?
The zwave integration has been deprecated
Use Zwave-JS
finity
November 26, 2021, 3:28am
3
That and the format for the network key is completely hosed.
Not sure how the “website” (didn’t follow the link) generates the key but it’s definitely not right.
usually the key is in hex format and is 16 segments long.
example for the old deprecated zwave:
0xDD, 0xBD, 0xE8, 0x5A, 0x36, 0x3A, 0x9E, 0x97, 0x93, 0x4E, 0xBB, 0xE9, 0xBA, 0x67, 0xD7, 0x62
using the new zwavejs the same key is used but in a different format:
DDBDE85A363A9E97934EBBE9BA67D762