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

Permit the use of "delay: n" in MQTT payloads for Arm* events #1105

Open
kapstaad opened this issue Jan 21, 2025 · 1 comment
Open

Permit the use of "delay: n" in MQTT payloads for Arm* events #1105

kapstaad opened this issue Jan 21, 2025 · 1 comment

Comments

@kapstaad
Copy link

Most times we use the manual arming sequence with a 60s exit delay. At other times, such as when someone is the last to leave and forgets to arm the house, my automation notices that the house is unoccupied, and automatically arms the house.

For those occasions, I'd like the MQTT "arm_away" command to have the ability to optionally reduce or eliminate the exit delay. Perhaps the MQTT processing could be modified to permit a delay override in the payload?

For example:

{
  "command": "<my command>",
  "code": "<my pin or password>",
  "delay": "<optional override value in seconds>"
}
@IceBotYT
Copy link

IceBotYT commented Feb 7, 2025

You can use the alarmo.arm service to skip the delay. See the developer tools page for more info.

If you need to call this action outside of home assistant, you can use the REST API offered by Home Assistant. See the POST /api/services endpoint https://developers.home-assistant.io/docs/api/rest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants