Closed okanduzyel closed 4 years ago
Uwe these buttons: https://github.com/maximkulkin/esp-button
I use exactly these buttons with that schematics (with pull up resistor)
What do they do, or not do?
up button = opens curtain according to code. down button = closes curtain according to code.
Up button never works (gpio 9), Down button works wrong. When curtain closed, up button doesn't response. When curtain opened, up button tries to open where opened curtain.
Gpio settings are same with example and lolin v3 board are new. I don't think it has any problem.
If you have esp device, try it, you will see what I mention.
well I have already: https://github.com/AchimPieters/ESP8266-HomeKit-Blinds and it works just fine. Try my code?
btw: It's not a good idea to use pin nine, see my blog here:https://www.studiopieters.nl/esp8266-pinout/
Now, I am at trip. Maybe next week, I will go back and try your code @AchimPieters
well I have already: https://github.com/AchimPieters/ESP8266-HomeKit-Blinds and it works just fine. Try my code?
btw: It's not a good idea to use pin nine, see my blog here:https://www.studiopieters.nl/esp8266-pinout/
Your example is definitely work! Thank you @AchimPieters
@AchimPieters the button is active high or low?
@toshibochan read this: https://github.com/maximkulkin/esp-button
sonoff_dual_blinds example has a problem. Up-down buttons don't work correctly.