nielsfaber / alarmo

Easy to use alarm system integration for Home Assistant
1.32k stars 120 forks source link

Tamper/vibration sensor warning before Alarm Trigger #423

Closed Puppetmaster91 closed 2 years ago

Puppetmaster91 commented 2 years ago

Checklist

Proposal

Add the ability to set a treshold for how many time a tamper/vibration sensor should be activated within a time limit before it triggers alert.

Additional info

The other day i had a bird flying into my window and set the alarm off, it could be nice if a single bump wouldn't trigger the alarm.

nielsfaber commented 2 years ago

From my point of view, this is an issue caused by the sensor, rather than the alarm (it seems too sensitive and I suppose this is not configurable). I think (at least for now) it's better to solve such customizations externally from Alarmo, rather than adding extra complexity to it.

If you want to filter out glitches, you can use a template sensor as middleware. Check the delay_on setting, you can use it to configure how long the vibration sensor needs to be ON before the template sensor goes ON. Obviously, you should swap the actual vibration sensor with the template sensor in Alarmo, to make it effective.

Puppetmaster91 commented 2 years ago

That is for sure one way to solve it, I was "just" thinking that with thresholds options like that, you could also have the ability to make the siren make a short bip if the sensor was activated to warn intruders that this window is protected.

but template sensors, and some node-red flows with siren bips will do for now. thanks for responding. :)

github-actions[bot] commented 2 years ago

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