Problem within HA has been resolved today - upgrading to 2021.12.9 has resulted in my Hive keypad working as intended. Thank you again for this blueprint, Stefan!
I finally got it working installation the Edge version of Zigbee2MQTT.
I’m not so familiar with HA blueprints/scripts but do you think that it could be possible to the access to the alarmo username/password to decide whenever a pin is valid or not.
I had a look at your Blueprint code and it should be possible IF we can get the alarmo credentials.
Do you think this is possible? (did not find them)
I am familiar with Alarmo.
I’m afraid stored codes cannot be read from Alarmo, since they are stored encrypted.
My suggestion would be to store the code in the secrets file and use that for this blueprint (I suppose it can handle secrets?)
Alarmo cannot read secrets (yet?) so you would have to store the same code there as well.
I think that is not a good idea. MQTT is intended for communication from HA to another system (such as zigbee2mqtt), for internal communication we can use services.
Alarmo supports standard services such as alarm_control_panel.alarm_arm_away etc. which can be used to send the pin code as well. So I think no changes are needed in your bleprint, it’s already compatible.
I think the question from @titom43 was about an option to not have to enter the code in this blueprint and in Alarmo configuration. I think this is currently not possible.
BTW, did not see that you were THE “Niels” from Alarmo.
So what do you think is the best way to integrate Keypads to “your” Alarmo system?
(duplicating the PIN codes is not a good idea… also the pre/post commands that should be handled by Alarmo)
I’ve got it working with your blueprint and a Linkind keypad.
Also it’s working with Alarmo, but it’s really quick & dirty.
More dirty then quick I suppose.
I’ve configured two persons with two individual codes in Alarmo.
With the blueprint I’ve created two automations. The actions in the blueprint call services from Alarmo with the pincode from the person. So the same pincode is set within the automation.
The dirty part is that you need a automation for every person AND the code is readable in the yaml file. But… it works!
Great piece, just orders a linkind keypad. Also watching this post and blueprint Synchronize Ring Alarm Keypad v2 with Alarmo
Seems like between these there is a way to use this keypad with alarmo and setting codes.
Nice looking blueprint here and can almost replace a couple of different automations I already have setup for Alarmo and a keypad. However I don’t like the idea of saving the pin in the automation or having to create multiple automations if you have more than 1 code.
Isn’t it easier to have Alarmo do the pin verification instead of comparing that in the automation itself meaning you can leave the pin out of the automation entirely?
I’ve got a problem, just bought one, synching with zigbee2mqtt fine, but leave it overnight and in the morning it fails to connect, as in red light on keypad, yet zigbee2mqtt shows messages received fine. Remove battery and it’ll work again. I’ve got some debug logs. Is it due to the response is all nulls? Happened two days in a trot.
OK but it looks like the automation is not sending a response back just as described in your instructions " * A successfully paired keypad in Zigbee2MQTT. Don’t panic if the keypads connection LED is still blinking. This is no issue and will be solved later."
i bought the linkind keypad but cant get it to work with z2m any ideas ?
the interview seems to fail.
Log:
Warning Received message from unsupported device with Zigbee model 'ZB-KeypadGeneric-D0002' and manufacturer name 'lk' Warning Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
Warning Received message from unsupported device with Zigbee model 'ZB-KeypadGeneric-D0002' and manufacturer name 'lk'
Warning Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.
Warning Received message from unsupported device with Zigbee model 'ZB-KeypadGeneric-D0002' and manufacturer name 'lk'
Warning Please see: https://www.zigbee2mqtt.io/how_tos/how_to_support_new_devices.html.