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
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.
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.
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.
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.