Smart Home Automation Forum
KC868-H8B input minimum time to activate - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-HxB series Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=2)
+--- Thread: KC868-H8B input minimum time to activate (/showthread.php?tid=822)

Pages: 1 2


KC868-H8B input minimum time to activate - Suhl79 - 10-04-2021

I've been playing with H8B device today and connected a momentary switch to it's input port. I also use MQTT Mosquito to publish/subscribe for the events. Quite often I didn't get the button press reported as apparently they were too short. I have noticed that I have to press and hold the button for around 0.5 sec to get it reported. Is it an expected behavior? I'm planning to use some inputs for the door bell application and short button presses are normal. It almost look like some kind of a button debounce technique was applied for the input signal, but it affected how short signals are being recognized. Please advise.


RE: KC868-H8B input minimum time to activate - admin - 10-04-2021

yes, the input debounce technique was applied for the input signal. let your hold on time longer.


RE: KC868-H8B input minimum time to activate - Suhl79 - 10-05-2021

Thank you XuWei for your prompt reply. Is this a hardware debouncer or a software one? If so, then is it something a user can have control over? It's hard to require a random guest to press on a doorbell button longer for it to trigger, so I'm trying to figure out some other solution. Do you ever plan to implement the double click feature in H8B like you did for H32B? My guess is, it can affect the minimum trigger time in a positive way, as one would expect shorter timing for double click, hence it may kill two birds with one stone here. Overall great product.


RE: KC868-H8B input minimum time to activate - admin - 10-05-2021

it debounce by software. I think in furture can add an option in web browser can set the debounce time, such as 0.2-0.5s second. How much the time you want?


RE: KC868-H8B input minimum time to activate - Suhl79 - 10-05-2021

If you have plans to work on that feature I would consider to leave it up to the user what value to use per input channel. Let the minimal value be bounded by hardware interrupt but let the user set the maximum value to be also as large as possible. Someone can use the same feature to set the reset timer. For example user don't want to allow more than one state change within 5 seconds. This can be accomplished within the same piece of code that handles the debouncer.


RE: KC868-H8B input minimum time to activate - admin - 10-05-2021

when we begin to work , our engineer will confirm this function whether can be add.


RE: KC868-H8B input minimum time to activate - xray - 11-02-2022

(10-05-2021, 08:23 AM)admin Wrote: when we begin to work , our engineer will confirm this function whether can be add.

Is there any update on toggling the debounce time via browser? Would like to see in H32B :-)


RE: KC868-H8B input minimum time to activate - admin - 11-03-2022

which controller you are using?


RE: KC868-H8B input minimum time to activate - xray - 11-05-2022

(11-03-2022, 12:04 AM)admin Wrote: which controller you are using?

H32B


RE: KC868-H8B input minimum time to activate - admin - 11-05-2022

how many time of pulse do you want? such as trigger for 1 second? or ?