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

Enable/Disable motion sensors based on event/automation #1087

Open
patatman opened this issue Jan 6, 2025 · 3 comments
Open

Enable/Disable motion sensors based on event/automation #1087

patatman opened this issue Jan 6, 2025 · 3 comments

Comments

@patatman
Copy link

patatman commented Jan 6, 2025

Checklist

  • [ x ] I checked for similar existing requests (both open and closed) before posting.
  • [ x ] My request is generic, other users may benefit from it too.

Proposal

I found #982 and I understand this is too generic, but I do have some scenario's where this could be helpful.
Scenario 1:
We have a SurePet connected flap, this means I can monitor the cats state.
For example if the cat is inside, I'd like to disable the motion sensors.
When the cat is outside however, any motion is reason for a alarm. I know it's a bit far fetched, but it's a automation I have in my mind for quitte some time now.

Scenario 2:
I have a door leading to a room the cats are sometimes allowed, I also have a motion sensor in the room.
If I leave the door open, the motion sensor should be disabled. If the door is closed however, it should be activated.

I know this is quitte specific, and it's a nice-to-have function since I've worked around the issue with door/window sensors. But I would love to also use motion sensors for the alarm.

Additional info

Make some sensors optional.
Maybe introduce "HOT" zones, and "COLD" zones.
Cold zones being only protected by door/window sensors, and HOT zones being protected by door/window AND motion sensors.
This way we add a security layer, instead of disabling entire sensors.

@nielsfaber
Copy link
Owner

I suggest that you use the ‘custom bypass’ arm mode for this case instead.
So, when everyone+cat is out, the alarm is in ‘armed away’, when the cat is in the alarm is in ‘armed custom bypass’ and motion sensors are deactivated.
Alarmo allows to transition between the arm modes with no delay (and no PIN code depending on your settings).
I use the same method for my robot vacuum.

@patatman
Copy link
Author

patatman commented Jan 7, 2025

Hmm, I guess that does work. But now that you bring it up, the 'custom bypass' would be the way to achieve the different levels of security.
I have a couple of scenario's to make the alarm dynamic, and having multiple 'custom bypasses' would fit these needs.
Not sure how much work this would be to implement, but have multiple 'custom bypasses'?

@nielsfaber
Copy link
Owner

The arm modes are defined by HA, alarmo cannot support additional modes.
See the list here: https://developers.home-assistant.io/docs/core/entity/alarm-control-panel/#states

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