Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arm after closing #1034

Open
2 tasks done
quentindavid opened this issue Sep 30, 2024 · 6 comments
Open
2 tasks done

Arm after closing #1034

quentindavid opened this issue Sep 30, 2024 · 6 comments
Labels

Comments

@quentindavid
Copy link

Checklist

  • I am using the latest version of Alarmo (latest version can be found here)
  • I checked for similar existing requests (both open and closed) before posting.

Alarmo Version

v1.10.4

HA Version

2024.9.2

Bug description

I am wondering if the "arm after closing" is working as it should. For me, when arming the alarm, the exit delay is starting. Once you open the door configured with "arm after closing" setting, and then close it, it should cancel the delay and arm the alarm.
On my side I think it work, except the exit delay continue decreasing on the lovelace dashboard.
If I open the door though, it start the entry delay (that's why I think in fact the alarm is armed).

Is it a normal behaviour ?

I would expect to see on the dashboard the alarm is armed after closing the door.

Steps to reproduce

Configure a sensor with 'door' type with the following options:

  • Use an entry delay
  • Use an exit delay
  • Arm after closing

Relevant log output

No response

@quentindavid quentindavid added the bug Something isn't working label Sep 30, 2024
@quentindavid
Copy link
Author

I think I understand the behaviour now after some digging, I have configured two sensors with the option "Arm after closing", and in fact it arms after all the sensors have been triggered opened and closed.
Is seems logical when you know it but could you confirm it is n purpose ? If so maybe we could add this information within the docs ? I could propose an update of the doc when I'm sure about the expected behaviour.

@nielsfaber
Copy link
Owner

When the alarm is arming, closing of a door sensor with 'arm after closing' setting applied will cause the remainder of the exit delay to be skipped.
The alarm will then proceed to armed state, but this can only succeed if all doors/windows are closed (otherwise arming fails).
It is possible to apply the setting on multiple doors, but bear in mind that only one door should be opened+closed during the exit delay (otherwise closing of the first door will cause the arming to fail due to the second door being still open).

@quentindavid
Copy link
Author

hi @nielsfaber , thanks for the feedback but it's not what I observe. I configured my main door and my portal gate with "Arm after closing", and when I exit the house by the main door, the delay is still decreasing, alarm is not armed. But once I open my portal gate, as soon as it closes the delay is terminated and the alarm is armed.

@nielsfaber
Copy link
Owner

Perhaps you observe different behaviour due to your own settings.
I just tested it and works as it should for me.

Front door settings:

Back door settings:

Demonstration:
https://github.com/user-attachments/assets/39e27985-aa70-4060-a90c-52d2edb26178

As you can see in the video, opening+closing of the back door to causes the alarm to arm. I don't have to do any thing with the front door.

Note that there is a delay of approx 5 seconds noticeable, this is done intentionally to wait for the sensor signal to be stable (closing of a heavy door can cause the sensor to trigger multiple times).

@quentindavid
Copy link
Author

Maybe I think I know what is going on. I have different zones. One for Sensors inside the hosue, and one for sensors outside. Those two zones have different delays (1.5min for inside sensors and 5min for outside).

When I arm alarm using "master" zone, I think it trigger two delays at the same time, and in fact on the dashboard I see the two delays mixed up, so when I exit the house it must arm the "inside" zone only, but delay for outside continues.

I will double check this asap ! Thanks for your help and for that amazing work on Alarmo

Copy link

github-actions bot commented Nov 7, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the Stale label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants