# Optional gpio input debounce

**URL:** <https://discourse.nodered.org/t/optional-gpio-input-debounce/12131>\
**Category:** Feature Requests\
**Created:** [12 June 2019 16:06 UTC](https://discourse.nodered.org/t/optional-gpio-input-debounce/12131 "2019-06-12T16:06:56Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [2 July 2019 19:32 UTC](https://discourse.nodered.org/t/optional-gpio-input-debounce/12131/21 "2019-07-02T19:32:35Z")

</div>

maybe try with with node's debounce time set to 0 ?

---

<div class="post-metadata">

**Author:** ![edrean](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edrean/32/9263_2.png) [@edrean](https://discourse.nodered.org/u/edrean)\
**Post date:** [10 July 2019 07:57 UTC](https://discourse.nodered.org/t/optional-gpio-input-debounce/12131/22 "2019-07-10T07:57:11Z")

</div>

I have already tried with the node's debounce time set to 0. It doesn't catch my short pulses.

> [@edrean](#):
>
> I can confirm that a debounce time of 0 no longer causes the flow to stop.
> 
> However, it still does not catch my pulses.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [10 July 2019 08:26 UTC](https://discourse.nodered.org/t/optional-gpio-input-debounce/12131/23 "2019-07-10T08:26:51Z")

</div>

OK - You could try the gpiod nodes instead [https://www.npmjs.com/package/node-red-node-pi-gpiod](https://www.npmjs.com/package/node-red-node-pi-gpiod) - they use a native C service - which may cope better. (But I've not tested it in your situation)

---

<div class="post-metadata">

**Author:** ![JayDickson](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jaydickson/32/90592_2.png) [@JayDickson](https://discourse.nodered.org/u/JayDickson)\
**Post date:** [13 July 2019 21:46 UTC](https://discourse.nodered.org/t/optional-gpio-input-debounce/12131/24 "2019-07-13T21:46:14Z")

</div>

Thanks for pointing out this node! It helped me eliminate a pythonshell node and corresponding script it called in a garage door controller I'm working on.

[Previous page](https://discourse.nodered.org/t/optional-gpio-input-debounce/12131.md?page=1)
