codemee/ESP8266WebServer

I want show dht11 sensor value on web page

Closed this issue · 3 comments

Hello sir,
At first thanks to you for ESP8266WebServer library module. Recently I'm trying dht11 sensor Humidity and Temperature show html page and without refresh page update humidity and temperature value.
How can i do this use ESP8266WebServer please help me.
Thank you sir

You should go for AJAX. The feature you need isn't contolled by Web server. It's the JavaScript in the web page to request data from web server and update related text in the page in the background. Just google AJAX tutorial, you should get what you need.

If you give me some example code help me sir. Thank you sir.