http://nodemcu.readthedocs.io/en/master/en/flash/
Why would you want to use NodeMCU?
The Arduino IDE seems to work well
to bootstrap Cayenne initially.
Once is all it takes?
I gotta get back to soldering Esp12-e WiFi 277Vac/16Amp relay board + power supply