Hi all, I need some expert help here please. I have a Danalock V2 which I am trying to incorporate into my HA. My HA is running on RPI3 with a Aeontec Z Stick.
I have read that the lock needs to be paired securely and a network key needs to be generated and added into the options file. The problem is that I cannot locate the options file at all. My HA is installed using the AIO installer.
For anyone struggling to work the OSX command to generate a network key, use the following
cat /dev/urandom | LC_CTYPE=C tr -dc '0-9A-F' | fold -w 32 | head -n 1 | sed -e 's/\(..\)/0x\1, /g'
This works because it fixes the tr: Illegal byte sequence issue that OSX gives you by prepending LC_CTYPE=C to the command. Checkout this writeup for more detail.