a button with an LED.
- connect to wifi (or fallback to softap)
- enable arduinoOTA
- do your thing (send http request)
- deepsleep
platformio run --target upload --environment esp12e --upload-port /dev/ttyUSB0
- connect to wifi
- check ip in your router
- reset and wait 5 seconds
- :
platformio run --target upload --environment esp12e --upload-port <button-ip>
RST -> Button -> GND GPIO5 -> LED -> GND