I have a real-life, and unfortunately, urgent problem I need help with. The sleepy little town in South Africa I live in has been discovered by criminal elements, and burglaries have taken place with regular frequency for the last few months. This has unfortunately now escalated to murder, as one of our residents was murdered during one such burglary on Sunday. I was very fortunate, as the culprits were actually on my back wall, but for random reason decided to pick another house.
I use Alarmo to monitor my house, and so far Home Assistant and this brilliant add-on has been fantastic. Well done to the many talented and amazing contributors.
One of the areas that I need help with though, is my external perimiter security and the associated devices / programming. Amongst other security measures, I built beams that covers my perimiter, using gate closure beams (laser), ESP8266 boards and Tasmota firmware, bringing in all the data through MQTT to Home Assistant.
The triggers work brilliant, the data is immediate, Alarmo triggers on que. However, due to factors I am unable to determine, I get some false alarms on these beams regularly. These can be as often as once or twice a night, or as infrequent as once a week. Checking video footage of the areas does not show anything physical. So, the family (and neighbours) are complaining of not being able to sleep, and being nervous wrecks. You also have the possibility of âCrying Wolfâ too often, whereby the alarm will just be ignored by everyone. As such, these beams are currently excluded from the Alarm system.
I have replaced the sensors with more expensive sensors, tried different boards, power stabilisation, etc, but still the occasional false alarm comes through (I typically try to fix hardware - my nature I suppose). What I have seen though, is that these false triggers (when they trigger), have a duration of less than a second. So, this morning I decided to reach out to the community to see if someone can give me advice or more (Like I said, I am a hardware guy, not at all good with any programming etc), to solve this.
My thinking is that if this tirgger has to be active for more than X (seconds / milliseconds) before it actually triggers the alarm. Unless these criminals are superfast, they will not clear the walls in under 1 second. Logic would dictate there are several places where this can be achieved (and this is where I need help)
- Alarmo: If there was an option in Alarmo for example a field called âTrigger Durationâ or similar. not only I, but other other users could for instance prevent a lot of false alarms due to a gust of wind triggering a PIR, or similar. So, a sensor can either be âimmediateâ or has to be in a certain state for eg. (1.5 seconds), upon which it will trigger the alarm
- Automation: This gets a bit more complex (for me with my skills at least), but my thinking is to have a âdummyâ sensor. The automation set it for instance âactiveâ once the actual sensor has been active for 1.5 seconds (not after 1.5 seconds of going active [and back to inactive], but after being actually active for 1.5 seconds) , and âinactiveâ once the sensor has been inactive for 1.5 seconds. The âdummyâ sensor then gets used in Alarmo to trigger the alarm. I have no idea where to start though to set up such a dummy sensor, and make sure it is the right class to be used in Alarmo.
- Tasmota / MQTT: I suppose it is in theory possible for either the board running Tasmota, or MQTT not to pass the âtriggerâ through to Home Assistant and Alarmo unless the trigger is active for X milliseconds, but frankly, as I said my programming skills are close to zero, I would not even have an idea where to start.
Apologies for the long post, but I am in dire straights, and unfortuantely work as an expat in another country, so not physically present to change hardware at the moment. Also, apologies if I use wrong terminology, but like I said, I have very little (no, basically none at all) programming experience.
I have been through the forums to see if something like this has been done, but could only see slightly related topics, but none which would help me figure this out.
Thank you in advance.