The next device I am looking to add uses Bluetooth, so the esp8266 nodeMCU wont work. I modified the original code for the esp32.
To do so change the #include <> at the top as shown below, as well as the changes in the second screenshot above and inside the setup() function. Everything else...