For this theory.
Lets say the following are values:
Internet IP is 1.1.1.1
NodeMCU local IP is static 192.168.1.100
Wifi SSID is Linksys
Wifi Password is linksysguest
Lets say I have 3 buttons on http://www.mywebsite.com
Button1 Reads GPIO 14 and shows it on the webpage as on or off.
Button2 Writes to GPIO 14 (ON)
Button3 Writes to GPIO 14 0 (OFF)
Does anyone have any example code for a website that will do this?
What code would I need on the node mcu to accept the input from these three buttons and communicate accordingly?
No third party man in the middle stuff just Node to Website and Website to Node Communications.
I believe if someone could answer this question it would be enough of an example to allow for a lot of people to create some pretty cool stuff and have the ability to do it with ease as well!!!!
Please do not ignore this question while just a theoretical one could open up a lot of possibility for NodeMCU users and LUA!
Where I buy my ESP8266 boards from... (Banggood)