Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opener and KeyPad 2.0 - no KeyPad entities visible #298

Closed
gunnm80 opened this issue Feb 13, 2024 · 16 comments · Fixed by #373
Closed

Opener and KeyPad 2.0 - no KeyPad entities visible #298

gunnm80 opened this issue Feb 13, 2024 · 16 comments · Fixed by #373
Labels
enhancement New feature or request
Milestone

Comments

@gunnm80
Copy link

gunnm80 commented Feb 13, 2024

Hello
Thank you very much for the great work. I'm currently experimenting a bit.
I have an opener running via the ESP hub in the Home Assistant (2024.2.1). These entities are all displayed. But now I have also connected a KeyPad 2.0. Unfortunately, its entities are not displayed. I have already reset everything several times, reinstalled, recoupled... Without success. In other articles, I could see in pictures that entries such as "KeyPad status" should appear under "Diagnostic". In MQTT I receive corresponding messages from the KeyPad.
What am I doing wrong or what have I overlooked?
Thank you for your help.

image

image

image

@technyon
Copy link
Owner

Try this binary.

nuki_hub-8.33-pre-1.zip

@gunnm80
Copy link
Author

gunnm80 commented Feb 13, 2024

image

Are already one step further... Thank you. But in my opinion, entities of the KeyPad are still missing. as "KeyPad status"

@gunnm80
Copy link
Author

gunnm80 commented Feb 13, 2024

image

@technyon
Copy link
Owner

I think the answer is unfortunately not as easy as adding the auto discovery topics for home assistant. Checking the code again, the keypad is actually not yet implemented for the opener - mostly because it's a rare thing that someone want's to use an opener and a keypad together. I'll have to go through the code and see what's necessary to add keypad support for the opener - it's mostly duplicating some code.

@gunnm80
Copy link
Author

gunnm80 commented Feb 13, 2024

Thank you for your efforts. If there's anything I can do to help, I'm very happy to do it!

@gunnm80
Copy link
Author

gunnm80 commented Feb 14, 2024

image

The view has changed...

@gunnm80
Copy link
Author

gunnm80 commented Feb 14, 2024

with FingerPrint:

image

[
{
"index": 158,
"authorizationId": 3431651,
"authorizationName": "Keypad",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 8,
"timeMinute": 51,
"timeSecond": 46,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "undefined"
},
{
"index": 157,
"authorizationId": 3431651,
"authorizationName": "Zutrittscode (Keypad)",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 8,
"timeMinute": 50,
"timeSecond": 52,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "success"
},
{
"index": 156,
"authorizationId": 3431651,
"authorizationName": "Keypad",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 7,
"timeMinute": 52,
"timeSecond": 40,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "undefined"
},
{
"index": 155,
"authorizationId": 3431651,
"authorizationName": "Zutrittscode (Keypad)",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 7,
"timeMinute": 52,
"timeSecond": 2,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "success"
},
{
"index": 154,
"authorizationId": 3431651,
"authorizationName": "Keypad",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 7,
"timeMinute": 48,
"timeSecond": 43,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "undefined"
}
]

@gunnm80
Copy link
Author

gunnm80 commented Feb 14, 2024

With Pin:

image

[
{
"index": 159,
"authorizationId": 3431651,
"authorizationName": "Zutrittscode (Keypad)",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 8,
"timeMinute": 54,
"timeSecond": 5,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "success"
},
{
"index": 158,
"authorizationId": 3431651,
"authorizationName": "Keypad",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 8,
"timeMinute": 51,
"timeSecond": 46,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "undefined"
},
{
"index": 157,
"authorizationId": 3431651,
"authorizationName": "Zutrittscode (Keypad)",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 8,
"timeMinute": 50,
"timeSecond": 52,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "success"
},
{
"index": 156,
"authorizationId": 3431651,
"authorizationName": "Keypad",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 7,
"timeMinute": 52,
"timeSecond": 40,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "undefined"
},
{
"index": 155,
"authorizationId": 3431651,
"authorizationName": "Zutrittscode (Keypad)",
"timeYear": 2024,
"timeMonth": 2,
"timeDay": 14,
"timeHour": 7,
"timeMinute": 52,
"timeSecond": 2,
"type": "KeypadAction",
"action": "Unlock",
"completionStatus": "success"
}
]

@technyon
Copy link
Owner

Hi, I think first thing to do is to add the missing code, not that much you can do.

@gunnm80
Copy link
Author

gunnm80 commented Feb 28, 2024

Hi
Any News?
best regards

@technyon
Copy link
Owner

technyon commented Mar 2, 2024

Hi,

actually there's not as much missing as I thought. I think I only have to recheck all auto discoveries for the opener keypad

@technyon
Copy link
Owner

technyon commented Mar 2, 2024

Check this binary please

nuki_hub-8.34-pre-1.zip

@gunnm80
Copy link
Author

gunnm80 commented Mar 6, 2024

THX. much better. must test it.
image

@iranl
Copy link
Collaborator

iranl commented Apr 23, 2024

Is this working as expected?

@technyon: Has this been merged into master yet?

@sjors-lemniscap
Copy link

I've manually build a nuki_hub.bin from #373 and can confirm this is working. I've tested:

  • Opener with a paired Keypad showing up correctly
  • Deleting, updating, creating keycodes

@iranl iranl added the enhancement New feature or request label May 30, 2024
@iranl iranl added this to the 8.35 milestone May 30, 2024
@technyon
Copy link
Owner

technyon commented Jun 1, 2024

Merged into master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants