This project is based on a blog post I wrote describing how to build an ESP-32 based button. Refer to the article below for detailed instructions on how to use the associated code in this repository.
https://medium.com/@anthonycvella/esp32-based-that-was-easy-button-bd656962b121