guerrerotook / securitas-direct-new-api

This repository contains the new securitas direct API that can be integrated in Home Assistant
Apache License 2.0
73 stars 30 forks source link

Enable arming alarm when some sensors (doors, windows) are open #222

Open cantupaz opened 4 months ago

cantupaz commented 4 months ago

From https://github.com/guerrerotook/securitas-direct-new-api/issues/202

@hajar97 wrote:

When I tried to connect alarm using the My Securitas app it would give me a warning that one of the windows was opened. I would then say to ignore all warnings and setup full alarm and it would work fine. Then trying to do full alarm via HA would always fail as I was describing before. Then I closed the window and tried to do full alarm via the My Securitas app and it would set alarm without any warnings. This is when trying to enable full alarm in HA started to work. So it seems your integration works in full alarm (Away Alarm) only when there are no warnings. There is no way to ignore those warnings in HA. Question: can you check integration APIs to see if it would be possible to make setting alarm work also when there are warnings such as as an opened window?

hajar97 commented 4 months ago

Thank you, Erick. Since ignoring the warnings to proceed with full alarm is possible via the webpage I'd image that Securitas APIs support it. So it is a matter of adding support for this.

It would be really useful to have it, since only then I can reliably automate locking up the house when I leave. If I do it now, half the time it would not set full arm because some window was open.

elsegura commented 1 month ago

Same behavior as @hajar97 and when I try to connect the alarm with some windows sensors open, the HA integration breaks. Then i need to wait a few minutes to reload and it works again.

I see this log in the report file, when i reolading HA integration: image

hajar97 commented 1 month ago

Same here, my issue continues and was never resolved. On 10 Jun 2024, at 23:23, elsegura @.***> wrote: Same behavior as @hajar97 and when I try to connect the alarm with some windows sensors open, the HA integration breaks. Then i need to wait a few minutes to reload and it works again. I see this log in the report file, when i reolading HA integration: image.png (view on web)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>