nielsfaber / alarmo

Easy to use alarm system integration for Home Assistant
1.24k stars 117 forks source link

Possibility for noficiations/actions for "sequence of events" in Triggered-state #974

Open MANDELAZZA opened 3 weeks ago

MANDELAZZA commented 3 weeks ago

When Alarm is triggered, there is today only the possibility to get 1 notification/action with wildcard of Open Sensors at the moment when alarm is changes from Armed to Triggered.

My alarm "structure" consists of:

I set up in that way for a sort of "Tier-structure" where I was hoping to be alerted by notifications when;

  1. Motion sensor - If motion is triggered (could be somone just sneaking around) I want to be alerted by notification. Maybe also do action to turn on lights outside.
  2. Vibration sensors - If someone elevated their threat profile from sneaking around in my garden to tampering with my windows/doors, I want to be alerted by notification again.
  3. Opening sensors - House is now breached. I want to be alerted again of this now serious threat

This thinking would allow me to assess what is happening, threat profile, rule out false alarms, etc. Today however, I can only set Alarmo up so that I get a notification when the Motion sensors detect motion and then no more notifications when Vibration or Opening are triggered too.

Proposal

I read in the documentation that only the first sensor that causes Triggering is stored. Would it be possible to change so that instead the latest sensor that "triggers" is stored (even if Alarm is already in Trigger-state) + the possibility to do actions/send notifiations again with each triggering?

Tried workaround

I tried to lower the Triggered duration to as low as possible (5 seconds), and it might work sort of but then I cannot properly use notifications for when Alarm is Armed, because it will notify of that 5 seconds after each trigger when it changes state again...

Big thanks!