I am trying to use "nodeMCU" with a battery. But it has a very high current drain. My battery is "2600mAh", which should hold for 26 hours under maximum current drain, I need it to last much longer.
Is there a way to program the nodeMCU to check for an input from the web server every 5 sec and then go to deep sleep? The server must accept the user input and store it until the "nodeMCU" can use it. I understand this means the server will not be on the "nodeMCU". I understand the "RST" pin enables the MCU when it goes low which restarts the MCU? The idea is simple, I must program it to check a web server uploaded on some host and if a value of the button has changed, do something.