Synchronize Ring Alarm Keypad v2 with Alarmo

If Alarmo adds a different state for environmental alarms, definitely. Until then, the easiest approach is probably going to be to make a separate automation with whatever triggers you need, and as part of the actions turn off this automation to prevent it from changing the state of the keypad under you.

So if U understand it correctly, I should make an automation that triggers for smoke detection. And have that automation, disable the ring keypad automation. Then have it call the script I posted above to turn on the fire-alarm from the keypad. Then re-enable the ring keypad automation.

Is that what you meant? I just wonder if my automation will run before the ring keypad automation so that one would not trigger.

Basically right. I would leave this automation off until youā€™re ready to have the keypad switch back to normal operation, set it to the appropriate mode, then turn this automation back on to resume tracking Alarmoā€™s state. Itā€™s a bit finicky (which is exactly why I donā€™t want to try to add any state-tracking).

I see, but if I donā€™t directly re-enable it, then I canā€™t use the keypad to disarm the fire alarm.
Iā€™m testing now with this idea, and it seems that one time it is faster to disable it and call the fire alarm mode to the panel and the other time it isnā€™t. But then still is able to set the mode to fire. Strange bc then I donā€™t see the reason to even have it disable the automation. But it might be changing to fire bc Iā€™m spamming the X button on the keypad as I want to stop the sound so I donā€™t wake up sleeping people atm. I will test this out more later in the day!

Edit: Iā€™m just thinking I can add my own js listener for disabling when the code + disarm is entered. And manually setting the state from alarmo to triggered. Thatā€™s probably what you meant. Will try this in the morning :smiley:

Can you use this keypad without the ring alarm unit? Iā€™m a bit confused when reading this

ā€œ A few folks asked for a Blueprint for the automations necessary to synchronize the keypad with an alarm_control_panel . Iā€™ve finally got that in a state I like, so here it is.ā€

Yes, it works perfectly fine with HA (and required zwave dongle)

I setup Alarmo using a ring v2 keypad using this blueprint. Alarmo imported into homebridge and in the iOS home app. However I cannot get the alarm system to arm from my phone. I attempted to edit the config.yaml file with this

homekit:
- filter:
include_domains:
- alarm_control_panel
entity_config:
alarm_control_panel.alarmo:
code: 1234

and also attempted with alarm_control_home. The keypad just flashes and will not arm when I use it from the iOS home app. Can anyone assist with this?

I tried to follow the instructions here, but have had no luck.

Youā€™ll probably have better luck asking on the main Alarmo thread. The keypad, driven by this blueprint, just reflects the current state of Alarmo.

Hello, Iā€™m a new HA user coming from Smarttings 2 weeks ago. Till now everything OK, even with my Ring Keypadd v2, Alarmo and the amazing blueprint from ImSorryButWho. So congratulations. You saved a lot of time to a lot of people.

I only wanted to ask here if following conditions can be improved:
I have motion sensors to switch-on lights and also configured in Alarmo only when Armed Away. The thing is that motion sensors do not switch-on lights while Entry Delay is counting down neither in Armed Away, nor in Armed Home.
This way, when I open the door and Entry Delay starts counting, I have to enter home and entering the pin code in the dark, then motion sensors start to work turning lights on.
Iā€™d like motions sensors turning lights on even while Entry Delay counting.

Thanks in advance for support on this.

Hi @bernfp,

It doesnā€™t sound like this blueprint is involved in your issue. In the interest of not derailing the thread, could I ask you to start a new thread in the Configuration category? If you DM me the link to your new thread, Iā€™ll be happy to try to help you out over there.

Hi @ImSorryButWho
After some testing, I agree, it seems to be related to Alarmo.
At the moment, I fixed the issue with additional automation ā€œWhen entry/exit delayā€¦ light onā€
Thanks for your interest and again congratulation for the blueprint.

I connect mine Ring keypad 4AK1SZ with Firmware: 1.8.0 and strangely enough the keypad code enter events has event_type: 1 instead of 2, Iā€™m pretty sure I pressed checkmark button after finish entering the code.
Does that mean I need to upgrade the firmware of the keypad? If so, how can I do it without Ring base station?

Event type 1 is sent when the key cache is full. I suspect youā€™re using an unusually long code. You should increase the size of the key cache - see this post and the next couple of posts in that thread.

It should be possible to upgrade the firmware on the keypad, but Ring doesnā€™t make firmware updates available outside their closed system. But the only major firmware difference weā€™ve noticed between 1.8 and 1.15 is that 1.15 also reports motion sensor events.

1 Like

Thanks for the insight, yes that is exactly same as the problem Iā€™m facing however since Iā€™m running Z-Wave JS(Non-UI) addon it seems really painful to migrate to Z-Wave JS UI addon:

And it seems Z-Wave JS(Non-UI) is not offering an option in UI to change KeyCacheSizeā€¦

I understand. Looks like you can do it directly from HA - in the developer tools, call the zwave_js.set_value service like so:

service: zwave_js.set_value
data:
  command_class: "111"
  property: keyCacheSize
  value: 8
target:
  device_id: d3b1a89bf6937f9ed9c385839e792025

Substituting in the device_id for your keypad, or switching that to entity_id and picking any of the many entities exposed by the keypad. And setting the value to the value you need - pick something longer than the code youā€™re using.

1 Like

Thanks a ton! Yes this solved my problems, I think it would be great if you can add an option to your blueprint for configuring the length of the keycode easily?

    - service: zwave_js.set_value
      target:
        device_id: !input keypad
      data:
        command_class: "111"
        property: keyCacheSize
        value: !input keycodeLength

Thanks again!
Regarding firmware upgrade I think Iā€™ll be looking into buying a second hand base station?
Not sure if the charging port on the keypad can be used for firmware upgrading,

@ImSorryButWho
Sorry for bothering you but I recognize that the bypass if a sensor is open comes in after the exit delay. What I saw in many videos (I guess the ring alarm) is, that the bypass will trigger before the exit delay starts. That would be better than after the exit delay.

Is there a way to change this?

Any state changes or tracking like that are handled by Alarmoā€™s logic ā€“ all this blueprint does is reflect what Alarmo is doing to the keypad. If thereā€™s some logic that needs changing, itā€™ll have to be changed there, not here.

That said, Alarmo already behaves this way. Look at the advanced settings for the sensor youā€™re having trouble with. Is ā€œUse Exit Delayā€ turned on? If so, Alarmo assumes this is a sensor thatā€™s normally triggered by someone leaving (e.g. a motion sensor covering the area around the door, or the door itself), so of course it wonā€™t throw an error if itā€™s triggered when youā€™re trying to leave. Turn that setting off for sensors that you want arming to immediately fail if theyā€™re open.

1 Like

You are absolutely right! THX!

Just FYI. I made the switch from non-UI to UI a week or two ago and it was completely painless. Just make sure you follow the steps exactly as listed in the link.

I will say that I didnā€™t have that many zwave devices added to my stick when I made the switch, but I donā€™t see why that would make a big difference.

I guess thereā€™s always the chance you might have to re-pair a couple items but itā€™s not like you would be starting your zwave setup from scratch or anything.