nuki_hub icon indicating copy to clipboard operation
nuki_hub copied to clipboard

[Feature Request] Check if keypad code and codeId combination is valid

Open iranl opened this issue 1 year ago • 4 comments

Discussed in https://github.com/technyon/nuki_hub/discussions/479

Originally posted by jkrenzer October 3, 2024 Hi!

After setting a key-code it would be helpful if there was an endpoint for checking a given 6-digit code against a codeId. This way an external interface updating the code could afterwards verify, that the new code is now set without publishing all codes in the mqtt permanently.

Something like:

Request:

{
  "action": "check",
  "codeId": 1234,
  "code": 654321
}

Response:

{
  "valid": true
}

Kind regards, Jörn

iranl avatar Oct 11 '24 18:10 iranl