Newb. Programming ESPEasy to recreate a press and double press of a button
Posted: 13 Mar 2019, 11:37
Hi,
I need to recreate a press of a button and a double press of the same button (delay around 500millisec) via software.
Hardware wise I opened the button, and soldered a 10kOhm resistors where the button get pressed, on the other end of the resistors I connected a GPIO of a nodemcu. I also use 3,3V and GND of the nodemcu to power the button (which usually uses a cell battery). Currently I flashed the nodemcu with a code (made by someone else, since I am a newb) and that works but not well (I use a MQTT server and Home Assistant to control the press and double press via software)
My goal is to flash ESPEasy on the Nodemcu and do the same, and hopefully works better.
Any help on how to use ESPEasy (rules?), to achieve my goal (if achievable with ESPEasy)?
Thanks.
I need to recreate a press of a button and a double press of the same button (delay around 500millisec) via software.
Hardware wise I opened the button, and soldered a 10kOhm resistors where the button get pressed, on the other end of the resistors I connected a GPIO of a nodemcu. I also use 3,3V and GND of the nodemcu to power the button (which usually uses a cell battery). Currently I flashed the nodemcu with a code (made by someone else, since I am a newb) and that works but not well (I use a MQTT server and Home Assistant to control the press and double press via software)
My goal is to flash ESPEasy on the Nodemcu and do the same, and hopefully works better.
Any help on how to use ESPEasy (rules?), to achieve my goal (if achievable with ESPEasy)?
Thanks.