Skip to content

Trigger only if 2 seconds above 75DB #3

Description

@Martin511

Hello,
I used your sample configuration in HomeAssistant using an ESP 8266 and KY-037 Sensor.
Everything works so far.
What I don´t understand is how to set it to only trigger when a noise (in my case it is the door bell) is for minimum 2 seconds above 75 decibel.
I set "2 seconds" in my HomaAssistant Automation but it triggers even if I do a short snip with my fingernail on the sensor. But that´s only a few milliseconds.
So how can i set it to wait and "listen" to a noise that must be constantly > 75DB for 2 seconds (and ignore al time-shorter noises like a clap with a hand?
Regards
Martin

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions