In HA, services are one-directional. By calling a service you will not get a result back, only trigger an action (like arming the alarm).
You would have to check the states of the sensors directly to see if the alarm is ready.
You probably need to provide a code for arming to succeed (depends on your configuration).
You can always find back the reason why arming didn’t work in the HA logs (or alarmo-card).
this maybe a trivial question but how does one set up a max end time for the alarm sirens to turn off after trigger?
ie if I am on vacation and the alarm is triggered (real event, false entry etc) and the sirens go off, is there a way to make them stop after lets say 15 minutes? other wise do they just keep being on until I get back from vacation…hehe
You can configure the trigger time (duration) for Armed Away / Armed Holiday to 15 minutes, as a result the alarm will remain in triggered state for that time (unless you interrupt it yourself).
You can choose whether the alarm goes to Disarmed state or back to Armed Away/Holiday state after the trigger time has ended.
You can define the behaviour while the alarm is in the triggered state. One way to do so by creating an action to turn on the siren when alarm triggered, and an action to turn it off when the alarm is disarmed (and/or when Armed, depending on the setting you choose in step 2)
Repeat step 3 for all sirens, lights, notifications you want. It can also be done with automations outside of Alarmo.
Thx so much @neliss for your answer and your wonderful work, its really amazing!
I followed all your steps and it works well apart from one thing that keeps me scratching my head…
when I trigger the alarm via any sensor (contact, motion etc) and in any mode (away, vacation etc) the alarm goes off within 1 second and stops immediately after 2-3 seconds…
I have the alarm entry delay to 20 and the trigger time to ``51` minutes…
What do you mean by ‘alarm goes off’ and ‘stops’ ?
The alarm is just cycling between states, so for me it’s more clear to talk in terms of Armed/Triggered/Disarmed etc.
By default the entry delay is only used by motion and door sensors. Opening a window would cause the alarm to trigger without delay time (because this is not how you enter you home).
You can configure the type and behaviour per sensor in the ‘Sensors’ page. Clicking the ‘5 sensors active’ link should bring you there.
There is a ‘Use entry delay’ setting which might be relevant for you.
thx @neliss and sorry for the confusion with the right terms ill use Armed/Triggered/Disarmed from now on!
ok I think I know what the problem is. I think the siren entity in Home assistant (in using the HEIMAN siren) when triggered turns on and then off after 2 seconds.
does anyone knows if the Wildcards are available in HA outside Alarmo panel? I read in github that for advanced notification-automation it is suggested to use builtin functionality in HA.
Well knowing which bypassed_sensors are still open can be useful outside Alarmo.
Click on the button ‘run’ to select this as your action.
For scripts this is the only available action so it’s a bit cumbersome to have to select it.
But for e.g. a siren switch it would allow you to choose between turn on / turn off.
is there any chance to get alarmo in popup fullscreen after activation?
for me, there is no point in still having everything visible and accessible on wall-tablets.
also the open windows are written pretty small…
@paddy0174 Thanks, I hadn’t seen that. I went through a script suddenly to adjust the volume.
Also, I’m facing another problem: I want to have 2 different actions when I turn off the alarm from night mode or away mode. It works for other functions but not for deactivation.
So, in a script that would be launched during deactivation, how to recover the previous state of the arming to use an if/then according to the night mode and the away mode