Hi,
I am sending some basic temperature data to a web page on my local network. How do I change the HTML code sent by the ESP8266 to auto refresh the web page at some specified interval rather than having to to that manually? Must I somehow not “close” the connection every time it sends data, or is there some HTML code that will do an auto refresh? (I hope this question makes sense!) Thanks.
Hi brooksdr,
While we cannot assist with custom code, you should be able to add an auto-refresh function to your code fairly easily. The note at the end of the [Example Sketch: AP Web Server section of our Hookup Guide for the ESP8266 Thing might help you get started with this.
For help with your code, users here may be able to assist but there is an ESP8266 focused forum [here that will probably have better resources for helping with this type of question. The [ESP8266 Arduino Core Github Repository is another good resource to look through for help writing your code for this project.
I hope this helps you get started adding this functionality to your project. If you have any other questions about the ESP8266, let us know and we would be happy to help as much as we can.](GitHub - esp8266/Arduino: ESP8266 core for Arduino)](ESP8266 Forum - Everything ESP8266)](ESP8266 Thing Hookup Guide - SparkFun Learn)