[Custom Component] Alarmo - browser managed alarm system

Would be good. Can I find the countdown time via the web sockets interface for my phone app? I don’t think it’s in a state anywhere is it?

Certainly. I would still stop using it once it reaches a certain threshold of bloat.

I’m a very big fan of a small and relatively simple, but perfectly well adapted and functional modular approach. A module that does one single thing, but does it exceptionally well. A lot of projects start this way and things work great. Then more and more features are added, blurring out the initially well defined scope of the module. As more is added, people will ask for even more, with an even wider scope. And the project becomes heavier, harder and more time consuming to maintain, more bugs are introduced and take longer to fix, the attack surface becomes wider and wider (important in a security relevant module such as Alarmo). And at some point the sole developer, who does this in his spare time, may start to lose interest, as the project become more and more consuming.

Not saying that this will happen with this specific project, but it’s a very common scenario. But I trust neliss to make the choices he thinks are best for his component :grinning:

Maybe the Alarmo core and the ‘fluff’ can be separated into two components ?

1 Like

An alarmo card would be great. The features you describe would be very nice.
Also option for (much) larger buttons as it is not very useable on the current alarm card.
Is sound possible? For ex. countdown timer and enter delay?

Thanks for “fixing” (these sensors to be Immediate and Allow open while arming) in 1.5.3 !!

Is it possible to get TTS as an action directly in alarmo?

Yep, via yaml editor

Hi! great job with alarmo!
I have some doubts about functionality that I had with the manual alarm that I am not able to get with alarmo:

  • In an alarm zone I count the number of active sensors before activating the alarm. With alarmo I don’t know how to make it so that from an automation it goes to pending when two or more sensors are triggered. Is this possible?

I think it would be a good feature to be able to add the possibility of counting active sensors in alarmo. False positives could be avoided in outdoor areas (due to animals, wind…).

Thank you!

1 Like

Alarmo does not have such function, I also am not convinced it would be a good addition honestly.
The behaviour seems highly use-case specific and sounds a bit ‘hacky’ to me.
In my opinion it would be better to invest in sensors that provide appropriate selectivity (such as pet-friendly PIR detectors), or cameras with image processing.
But I only use Alarmo for indoors, so I don’t experience the problems you describe.

If you really want such function, you could create a (template) binary_sensor that is activated on consecutive sensor triggering as you describe, such entity could be linked to Alarmo ofcourse.
Otherwise, I think the manual alarm is still the best option for you.

Thank you for your response!

The binary_sensor is already defined for the case I have mentioned.
How could I make Alarmo go to pending when the binary_sensor reaches two? Is this possible?

A binary_sensor only has on/off states, so it cannot be used directly.
My suggestion was to create a template binary_sensor (on top of the actual sensor reading), which uses jinja scripting to represent consecutive triggering.
For instance, you could define an attribute_template to keep a count of triggers (while the alarm is armed) of the actual sensor(s), and make the state turn ON only if the count reaches a certain number.
I guess you could take this as far as you want.

I have not made myself clear. I count shots from different sensors, so I can be sure that it is not a false positive (in the outdoor area). This is not a problem, I already have it configured.
I would like to change the state of Alarmo to pending (if I have Alarmo in ARM_AWAY for example) from automation, so that it executes what I have defined from the alramo UI, is this possible? I haven’t seen a service or something to do it.

thanks

The “beauty” of these alarm solutions (alarmo and others) integrated in HA is to take care of this state machine for you. So, the idea, I think, is to create an additional (virtual) binary_sensor that would be included in Alarmo as a normal sensor and if it becomes true, then alarmo will do its magic.
The binary_sensor value would be the result of an automation eg:

if count_of_outdoors_sensors > 3 then 
  "my_virtual_binary_sensor" = true

This can be done natively with HA or using NodeRed…

2 Likes

That’s exactly what I needed!!! I have created the binary sensor as you said and with that I can do it.

Thank you very much!

1 Like

what do I need to call to arm and disarm it via alexa?

You need the Alexa Cloud service (has a monthly $5 subscription fee).

Merci @neliss

I only knew your scheduler and I discovered your work on this project and it’s great! Adopted. So I made a small article (french)

1 Like

Hi Lionel!
Great to have you here :+1:
Yes, for a while I have been busy with Alarmo, it’s hard to maintain both projects together :sweat_smile:
As always: your suggestions for improvement is much appreciated, I will try translating your article as well to see what you liked and what not.

1 Like

Really nice work and easy to use!

Is there a way to trigger the alarm only when at least 2 of the sensors are triggered (or triggered within a given time period)? Would be a nice feature

I think @DD001 has accomplished this, hopefully he can share some details.
Within Alarmo this is not supported though, it has to be fixed within the sensor entities.

If a lot of users look for such feature, I could reconsider adding it (I always prefer democratic way of determining next steps).
Please create a feature request on GitHub and let people vote on it, if you think this should be part of Alarmo.

2 Likes

Hi
I have a similar issue. I have Sonoff Zigbee Motion Sensors. They stay on for a minute when they get triggered. So I cannot count as it will not trigger immediately. To work around, I am thinking to create a binary sensor that will combine 2 sensors, e.g.
Lounge 1 and Hall 1.
When that binary sensor gets triggered, I set the alarm off.
Do you think that may be possible?
Thank you for your help in advance.