I'm trying to set up a NodeMCU thing that asks for Wifi credentials, and then goes into a deep sleep and isn't woken up until a switch is close. And once it wakes up, it needs to send a message to one of the IoT cloud services (eg. Ubidots, ThingSpeak, etc), and then it goes back to sleep again.
Using the Arduino, I seem to be able to get bits working, but haven't managed to pull it all together...
Any out there have some hints or tips??