Smart Home Automation Forum
Adding a debounce capability to inputs - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A16v3 (https://www.kincony.com/forum/forumdisplay.php?fid=68)
+--- Thread: Adding a debounce capability to inputs (/showthread.php?tid=9119)



Adding a debounce capability to inputs - twostar - 03-14-2026

At the moment the KC868 inputs are instantaneous which is a problem for signals that glitch occasionally from things like noise coupled onto the input lines.  Would it be possible to add a debounce capability where you can specify that an input has to be asserted for x seconds, x user-settable, before it gets reported as an asserted input?  What I'm thinking of is adding a per-input capability where you can specify that it needs to be asserted for (say) 5 seconds before it's treated as valid.  The overall range would be maybe 0-60s, 0s = instant response, > 0s = input must be asserted for that long before it's reported as asserted.


RE: Adding a debounce capability to inputs - admin - 03-15-2026

ok, will save your suggestion. if config by ESPHome, it support debounce.


RE: Adding a debounce capability to inputs - twostar - 03-15-2026

Thanks!  I'm using the KCS firmware because it's much nicer/easier to work with than ESPHome.


RE: Adding a debounce capability to inputs - admin - 03-15-2026

ok