[Custom Component] Alarmo - browser managed alarm system

I just got myself a Aqara U200 lock, I added it to Home Assistant via Matter. I got the “controls” - Lock/Unlock.
Can I in some way present that as a binary sensor, so that my Alarmo can see it ? I have tried various template sensores without luck.

I made this one, but when the lock changes, the state does not.
{% if is_state(‘lock.door_lock_lock’, ‘lock’) %}
Locked
{% elif is_state(‘lock.door_lock_lock’, ‘unlock’) %}
Unlocked
{% else %}
Unknown
{% endif %}

TemplateRookie :slight_smile:

Try this instead:

template:
  - binary_sensor:
      - name: "My Lock"
        state: "{{ is_state(‘lock.door_lock_lock’, ‘locked’) }}"
        availability: "{{ is_state(‘lock.door_lock_lock’, ‘locked’) or is_state(‘lock.door_lock_lock’, ‘unlocked’) }}"
        device_class: lock

Note that this sensor will be active when the lock is closed/locked.
Assuming this is the normal/safe state, you may want to invert this by changing the template above to:

state: "{{ is_state(‘lock.door_lock_lock’, ‘unlocked’) }}"

Thanks for your answer.
When I put that in my conf.yaml it gives me a Syntax error and I cant figure out why ?

Here is the log

2024-10-24 09:46:09.489 ERROR (MainThread) [homeassistant.config] Invalid config for ‘template’ at configuration.yaml, line 283: invalid template (TemplateSyntaxError: unexpected char ‘‘’ at 12) for dictionary value ‘binary_sensor->0->state’, got ‘{{ is_state(‘lock.door_lock_lock’, ‘locked’) }}’

Invalid config for ‘template’ at configuration.yaml, line 284: invalid template (TemplateSyntaxError: unexpected char ‘‘’ at 12) for dictionary value ‘binary_sensor->0->availability’, got ‘{{ is_state(‘lock.door_lock_lock’, ‘locked’) or is_state(‘lock.door_lock_lock’, ‘unlocked’) }}’

Hello, I am experimenting with Alarmo. I have Ring through ring-mqtt which allows me to expose the ring contact sensors in HA and Alarmo but I would need to remove ring-mqtt to be completely local ,correct? Which also means I would also need to re-pair all sensors? What do I do with the doorbell camera? Is that something I can have in Alarmo? Would love to go without Ring completely but too much invested. Also, does the Chime-Pro work in Alarmo with tones when a door is opened? I saw the post on integrating the keypad so I am good there. Thank you for any insight.

Hi, welcome to the forum!

AFAIK Ring always is cloud based ring-mqtt is a way to use your devices in HA.
The easiest way to check this is to disconnect your internet to see what happens with your Ring devices in HA.

Of course, by removing the ring-mqtt config, you go local but your Ring devices probably will not be usable with HA.
That’s the price for having cloud-only devices.
From the Settings → Devices & services panel you can see which integration depends on the cloud

1 Like

Hi, I have a problem with my garage doors. Alarmo doesn’t see them among the available sensors. Is there a way to add them manually?

Dear all, thank you for your effort to build a alarm system. I am new to HA.
I was wondering how is possible a sensor to trigger arm an area.
My idea is that I have a motion sensor my apartment door. I would like to arm the door contact if door is closed and no other arm is running for 30 seconds. If no more movement is activated, I like to turn off the arm of the contact (or area/zone)

This may help people that forget to arm the alarm at nights.

Hi guys! Looks like an interesting component, since I’m a noob hopefully someone can help me.

I’d like to put Alarmo on top - being the keypad for the entity “alarm_control_panel.aqara_hub_m1s_xxxx_security_system”, which I believe was setup using the Homekit integration. Is it possible to configure alarmo in such a way to control this other alarm_control_panel.

I have been tingkering with Alarmo for the past days. Everything is working great except one thing… how can I style the alarmo keypad card? I have tried with card_mod but everything interesting (buttons) seem to be locked away in shadow roots, which makes it impossible for me to style. Please advise. The integration is wonderful, but now I have a virtual keypad that looks nothing like my dashboard…

Can’t get the Android Home Assistant widget configured. The Mode doesn’t seem to arm. Any working mode?

Figured it out, the action cannot be alarmo…, needs to be alarm_control_panel. and the entity id needs to identify the alarmo system.

You can access Shadow Root items using Card Mod - have a look here Mushroom Cards Card Mod Styling/Config Guide in the ‘What the $ and .: | symbols do’ section

1 Like

Hi All, new to HA and moving my setup from a different automation system. I have a very extensive workflow on that system to integrate House Modes and a real alarm panel (Vista20p using Envisalink EVL3)

A few questions…

  1. Anyone using Alarmo with an Envislink (EVL-3 or EVL-4) device?
    – any pro tips, learnings you can share?

  2. Does this integration allow for checking a set of entities to ensure they are ‘closed’ before setting any secure mode (Stay, Away, etc)
    … how many times can we set it to ‘retry’ to close the house before it fails?
    … after it fails, will it notify you to which items are not ‘closed’?

@neliss Do you have any enhancements planned for Alarmo? I’m very interested in integrating a real alarm system (per above) and House Modes into a single system. I did this all manually in Homeseer but trying to not do that from scratch again. I think what you have built is a solid foundation for House Modes, which seems to be a big gap in HA.

From the looks here and on Git, Alarmo development and support is dead? Too bad since it could have been a great basis for a full fledged House Mode and Alarm system. :frowning:

It still works perfectly…

1 Like

It may work great for basic alarm stuff but from what can tell it would require a lot of work to make it more advanced/smart.

I installed it and tried it out a bit and think what they have done is very nice, and easy to use… looks like it has not been worked on for a long time.

I’d love to see ‘smart’ features like…

  • sensors rechecks when checks fail (example: user could set up to 3 retries)
  • re-arm after recheck passes
  • asking the user to bypass open sensors when detected, then arming
  • adding multiple custom house/security modes

Considering the last update was only 3 months ago I think your comment above is a bit extreme.

Why not post these as feature requests on the Github repo then.

However if you read through the docs properly you see things like this:

action Description Suitable events
ALARMO_RETRY_ARM Repeats the command that failed before.
Will only succeed in case the issue blocking the arming before has been restored. Failed to arm

Switch to YAML mode. Look for the part that has data, and extend it as follows:

data:
  ... # your message and title should be here already
  data:
    actions:
      - action: ALARMO_RETRY_ARM
        title: Retry Arm # feel free to change this text
      - action: ALARMO_FORCE_ARM
        title: Force Arm # feel free to change this text

that last update was 3 small fix PRs. I did post on git asking some questions, no responses yet… and none of the posts there have had any responses in a long time.

the built-in Retry is doesnt help much, or at all. It needs some ‘smarts’

example: motorized Door Locks love to jam, or report incorrectly (I’ve had a bunch, I know first hand).

to be smart, Alarmo would need to have this after a Arming failure…

If Any door lock <> locked, relock ~entity~ equal to Unlocked

Alarmo would also need to have a ‘sleep’ time between retries, to allow time for the actions to happen and the automation/device reporting to update.

I do this today on my current system. It notifies me telling me exactly what sensor is open, and which retry its on. I have it do 3 retries, pausing 20 before each (after it resends the needed actions: lock doors, close garage, etc)

@sparkydave your post made me to take another look. While I’d much prefer it to be ‘built-in’ I think I will try to make this work.

I’m going see if I can make this work using Alarmo Actions (when Arming fails) to set a Helper which triggers an automation to…

‘Secure the house’ (lock locks, etc)
Wait 10 second
Force Alarmo to try to arm again