Some time ago I created an IFTTT hardware button following this tutorial:
Now that I am switching to HA, I am looking to recreate the very same.
Can I keep the same hardware? What firmware/code do I flash onto the ESP01?
I am quite the newbie but I can follow tutorials.
Is there any resource you can link me to?
If I connect VCC to GPIO2, the state changes to ON and remains ON even when I disconnect VCC. When I connect GND, it changes to OFF. What do I need to change so that it switches to OFF immediately when I disconnect VCC?
p.s. if I add the following, it works as I would like, but on GND, not VCC