-
Notifications
You must be signed in to change notification settings - Fork 159
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
Add bouncetime? Problems with Bouncing on digital input! #48
Comments
Hi @Rohrleitner Yes, this looks like a good idea. Thanks. I'll add this to the list and try to get it implemented soon. Cheers, |
I would very much like to see this added too. At the moment I am looking at using hardware debouncing of PIR contacts attached to my Pi. |
Hi there, lovely software, any news about this issue ?? Regards Andreas |
Hi, I'm working on that, and have already a working version, but I have to clean up a lot of code :-( before I can create a pull request.
and a bouncetime, that may be configured (default is 100ms). Would that fit your needs? |
Hi Sorry missed your answer. I'm interested to test tis for you. Andreas |
I have the same problem how can i test? digital_inputs:
|
Hello.
My first garagdoor automation setup works really fine.
The only problem is, that i have a "bouncing", everytime from "CLOSED-OPEN-CLOSED" on my reed switchs and i can see it switching in your log.
There should be a function for setting the bouncetime:
https://sourceforge.net/p/raspberry-gpio-python/wiki/Inputs/
add rising edge detection on a channel, ignoring further edges for 200ms for switch bounce handling
GPIO.add_event_detect(channel, GPIO.RISING, callback=my_callback, bouncetime=200)
Ist it possible to set the bouncetime for each digital input in the yml?
e.g. bouncetime: 200 in the yml?
and if bouncetime >0 then run GPIO.add_event_detect?
Would be a great help if you could bring this in!
Greetings charly
The text was updated successfully, but these errors were encountered: