I have been using the ESP8226 WiFi Module made by Adafruit in the Ardunio Environment. Everything
works using samples from internet. I can communicate with it and create web page turning on LEDs
and reading sensors.
But I need help creating more than one Web Page to communicate with my device. I am think of doing
this is 2 ways.
- Create all the pages inside the ESP8226 WiFi module.
So every time a user connects to it, the web pages come alive and the user selects what he wants
The problem I have is I do not know how to go from one page to another. For example if I have
a main page and 5 other pages, then how do I go from the main page to any of the other pages?
- Another way would be to create a Website outside the ESP8226. The user would go to different
pages and sends just commands to the ESP8226. Then the ESP8226 would turn on LEDs or would
send back a temperature reading.
I think the second method is much cleaner and easier to modify later on the future. Because then
I don't have to deal with programming the ESP8226 module anymore. I can just modify the Web pages
to do different things. I also know how to create hyperlinks to go from one page to another.
This way the Web pages can be used as an APP to be used on phones in the future.
Please let me know what you think.
I need to know if anyone would like to help me out.