Hello together!
I have an ESP8266 running with Wifi, Webserver and SPIFFS, which works fine! I can upload index.html even with CSS and all this stuff and access the webpage via phone. So far so good...
What I want to do is to design a webpage with some buttons, forms and displays(!!!) to control my LED Lamps and store it on my EPS8266. It shall replace Blynk when I don't have internet access.
I am able to put buttons, forms etc and send the data to the ESP8266, but not other way around. All examples I found for displaying e.g. temperatures are "generating" the html code with strings inside the arduino sketch. This way one can manipulate the page content with a temperature value and send this to the browser, of course, but it becomes a disease when it comes to bigger, more complicated HTML pages.
So whats my question?
Can anybody explain to me how I can send data from the ESP8266 (e.g. temperature) to a webpage hosted in the SPIFFS? A working example would be great! I can't find anything like this in the web.
It shall be possible to manipulate e.g. a button color, text or something depending on data send from the ESP8266 webserver or not?
Best regards
Daniel