Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding a debounce capability to inputs
#1
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.
Reply
#2
ok, will save your suggestion. if config by ESPHome, it support debounce.
Reply
#3
Thanks!  I'm using the KCS firmware because it's much nicer/easier to work with than ESPHome.
Reply
#4
ok
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)