Error when using a lock after pairing #46
-
Hello, I'm trying to setup a new lock on a raspberry pi using PN532.
When trying to use the lock, I'm getting an error:
Can you please advise? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, The reason is, that your primary Home device didn't seem to have had a chance to provision the encryption key into the reader (the one which is all zeroes in your config), hence why it fails the authentication. In my set up it happens pretty quickly (in under a couple of seconds after adding the lock), so one thing I could suggest would be to "interact" with that virtual lock from your primary Home controller, which could cause it to try to update the keys. There doesn't seem to be any problems apart from that, you can even see that one of your devices provisioned itself into the lock, so overall communication and command handling works as needed. |
Beta Was this translation helpful? Give feedback.
Hi,
The reason is, that your primary Home device didn't seem to have had a chance to provision the encryption key into the reader (the one which is all zeroes in your config), hence why it fails the authentication.
In my set up it happens pretty quickly (in under a couple of seconds after adding the lock), so one thing I could suggest would be to "interact" with that virtual lock from your primary Home controller, which could cause it to try to update the keys.
There doesn't seem to be any problems apart from that, you can even see that one of your devices provisioned itself into the lock, so overall communication and command handling works as needed.