nuki_hub icon indicating copy to clipboard operation
nuki_hub copied to clipboard

Opener and KeyPad 2.0 - no KeyPad entities visible

Open gunnm80 opened this issue 1 year ago • 13 comments

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

gunnm80 avatar Feb 13 '24 07:02 gunnm80

Try this binary.

nuki_hub-8.33-pre-1.zip

technyon avatar Feb 13 '24 10:02 technyon

image

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

gunnm80 avatar Feb 13 '24 12:02 gunnm80

image

gunnm80 avatar Feb 13 '24 13:02 gunnm80

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.

technyon avatar Feb 13 '24 15:02 technyon

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

gunnm80 avatar Feb 13 '24 16:02 gunnm80

image

The view has changed...

gunnm80 avatar Feb 14 '24 07:02 gunnm80

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 avatar Feb 14 '24 08:02 gunnm80

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" } ]

gunnm80 avatar Feb 14 '24 08:02 gunnm80

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

technyon avatar Feb 14 '24 10:02 technyon

Hi Any News? best regards

gunnm80 avatar Feb 28 '24 20:02 gunnm80

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 avatar Mar 02 '24 02:03 technyon

Check this binary please

nuki_hub-8.34-pre-1.zip

technyon avatar Mar 02 '24 11:03 technyon

THX. much better. must test it. image

gunnm80 avatar Mar 06 '24 08:03 gunnm80

Is this working as expected?

@technyon: Has this been merged into master yet?

iranl avatar Apr 23 '24 15:04 iranl

I've manually build a nuki_hub.bin from https://github.com/technyon/nuki_hub/pull/373 and can confirm this is working. I've tested:

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

sjors-lemniscap avatar May 30 '24 12:05 sjors-lemniscap

Merged into master

technyon avatar Jun 01 '24 02:06 technyon