Coder Social home page Coder Social logo

Comments (6)

shred86 avatar shred86 commented on September 26, 2024

This is something I've been dealing with as well as one of our rooms will sometimes have the PIR sensor trigger based on some light coming through the windows. Even with our blinds closed, there's just a couple areas where light will come through at certain sun angles and cause the alarm to trigger.

I'm not sure if all PIR sensors work the same but mine are hardwired PIR sensors that I have integrated with Konnected. The trigger events age out very quickly (~1 second) if there's no motion, so I think something like the OP mentioned would resolve this.

You can achieve this now by creating a template binary_sensor. I just set this up so I'll see how it works out.

template:
  - binary_sensor:
      - name: Master Bedroom Motion Alarm
        device_class: motion
        state: >
            {{ is_state('binary_sensor.master_bedroom_motion', 'on') }}
        delay_on: 3

from alarmo.

nielsfaber avatar nielsfaber commented on September 26, 2024

In my opinion, the sensor should provide internal filtering of glitches to eliminate false positives.
I don't think this should be part of alarmo.
In my own experience, PIR sensors remain triggered for some time (30sec or 1 minute) after motion has been observed. A filter in alarmo is not going to help distinguish here.
A door sensor should not have glitches, we can only expect contact bounce on opening/closing but no false positives.

For the same token, a falling leave can break a laser beam for a few split seconds, but a person climbing over a wall would disrupt that same beam for a longer period of time.

Are you protecting your house with outdoor laser beams? This sounds more like a scene from Mission Impossible. Please share a link to such product, i'm interested.

For special cases, I think the solution provided by @shred86 should fits your need.

from alarmo.

lcbester avatar lcbester commented on September 26, 2024

Hi Niels. The sensors are homebuilt. Photos below....

Just a D1 mini running Tasmota connected to the beams. Feeding the info to Alarmo.

South Africa unfortunately have very violent crime stats. A burglar would have no issues murdering the home owner too.

https://bulletin.co.za/accused-back-in-court-after-murder-of-west-coast-woman/

So, I protect the perimeter with the beams, the area between the perimeter and house with smart human sensing cameras and internally (in the house) with PIRs and door & window sensors. A total of 46 sensors, which your system is handling flawlessly. Well done.

The only false alarms at present were the beams, but I found a workaround on Tasmota to delay x seconds before sending a signal to Alarmo. If the sensor clear before the set delay, I send command to cancel sending the trigger. Due to the computing power of the D1 the results seem to vary a bit though. A 1 second delay actually translate to between 1.5 and 2.5 seconds.

At least there is now a massive reduction in false alarms.

Have a fantastic day.

IMG_0787
IMG_0786

from alarmo.

shred86 avatar shred86 commented on September 26, 2024

In my opinion, the sensor should provide internal filtering of glitches to eliminate false positives. I don't think this should be part of alarmo. In my own experience, PIR sensors remain triggered for some time (30sec or 1 minute) after motion has been observed. A filter in alarmo is not going to help distinguish here. A door sensor should not have glitches, we can only expect contact bounce on opening/closing but no false positives.

For the same token, a falling leave can break a laser beam for a few split seconds, but a person climbing over a wall would disrupt that same beam for a longer period of time.

Are you protecting your house with outdoor laser beams? This sounds more like a scene from Mission Impossible. Please share a link to such product, i'm interested.

For special cases, I think the solution provided by @shred86 should fits your need.

Personally, I think it would be great to have the ability to set a motion duration before triggering the alarm in Alarmo under advanced settings of motion sensors. Alarmo makes it very easy to setup a robust alarm system using the front end and not having to mess with config files, which I think having this would just continue to add to that. Battery powered motion sensors usually refresh after 30-60s, but hardwired ones will refresh after about a second making this feature very useful for eliminating false positives.

Either way, appreciate all the work on Alarmo. It far exceeds any alarm system I've ever had in the past.

from alarmo.

lcbester avatar lcbester commented on September 26, 2024

I agree Shred86.

We can set similar behaviour on the device (very complicated and not 100% reliable in results). Or we can set it on Home Assistant as per your previous post (Still a bit complicated for a novice user, and with the risk of messing something else up in HA. Also more reliable in results).

Having the option in Alarmo would be ideal from an ease of use and functionality perspective. However, my level of skill does not even give me an inkling of how complicated this would be for Niels to add.

from alarmo.

github-actions avatar github-actions commented on September 26, 2024

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

from alarmo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.