Hi friends,
NodeMcu and IoT again.
1.- In this example NodeMcu works as Web Server with a customized web page.
2.- NodeMcu sends that web page by WiFi
3.- When user move potentiometer, its value shown in LCD with I2C bus.
4.- An app with App Inventor (WebViewer and Clock components) gets web page with value of potentiometer. ClockInterval = 2000.

5.- NodeMcu is programed with IDE Arduino.

___________________________________________________________________
You can load code in NodeMcu with IDE Arduino, NodeMcu can work with instructions of Arduino.
You can get code of this example in this web page (It is in Spanish)
Regards.
Juan Antonio Villalpando