Debouncing for PiFace Digital 2
Posted: Wednesday 14 February 2018 6:21
Hi.
I'm using one of the digital inputs of the PiFace to trigger the opening of my shutters.
What is happening is that two times in two week the shutters opened while nobody was even in the house.
Checking the log it's clear that both times the "pushbutton" went on-off within the same second, therefore I suspect a seldom interference which might be eliminated with a debouncing routine.
Questions:
1) Is anybody having a similar problem?
2) Is there a way to add debouncing code to the PiFace interface in Domoticz?
Thanks
Giacomo
I'm using one of the digital inputs of the PiFace to trigger the opening of my shutters.
What is happening is that two times in two week the shutters opened while nobody was even in the house.
Checking the log it's clear that both times the "pushbutton" went on-off within the same second, therefore I suspect a seldom interference which might be eliminated with a debouncing routine.
Questions:
1) Is anybody having a similar problem?
2) Is there a way to add debouncing code to the PiFace interface in Domoticz?
Thanks
Giacomo