Dependancies
Buy the components
Do something periodically on wake up after deep sleep or by pressing the button on-board.
On WeMos board , the pin REST
to 10kΩ
pulled up to +3V3
is already there. Remember to include it back with the ESP8266
module.