-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow disabling double tap to reduce single tap delay #170
Comments
This will require to change the DebouceEvent library. Changing the CLICK_REPEAT_DELAY setting to 0 in the DebounceEvent.h effectively removes the double click functionality and the library reports the clicks immediately. |
Original comment by Abílio Costa (Bitbucket: amfcosta, GitHub: Unknown): Could this be a parameter passed to the library instead of being a constant? |
I've just updated both the library and the ESPurna code to be able to pass the repeat_delay value in the constructor of the library. Check #0535fce in dev branch. |
Original comment by Abílio Costa (Bitbucket: amfcosta, GitHub: Unknown): Oh that's cool! I've not setup the build environment yet (I'm using the compiled files here on bitbucket), but I'll try it if I set it up. |
Original comment by Abílio Costa (Bitbucket: amfcosta, GitHub: Unknown): By the way, would this be configurable trough the web interface? |
Yes, it can be configured from the web interface. |
Removing milestone: 1.8.3 (automated comment) |
…uble click option and get faster click responses
Originally reported by: Abílio Costa (Bitbucket: amfcosta, GitHub: Unknown)
Currently there is a slight delay when pressing the button to turn the relay on, which is expected since the software needs that to distinguish a single from a double tap. This is very noticeable on a Sonoff Touch.
Since Espurna already goes into AP Mode if the wifi connection fails, disabling the double tap and getting instant single tap would be great!
The text was updated successfully, but these errors were encountered: