#130Premium
In this project, the ESP32 uses the WebSocket support of the ESPAsyncWebServer to push temperature and humidity values read from the DHT11 sensor to all connected browsers in real time. Instead of standard HTTP polling, bidirectional communication is established over a single persistent TCP connection, reducing latency to the millisecond level. On the browser side, a live line graph is drawn using pure JavaScript and Chart.js; the data is transmitted as a JSON payload. Thanks to the HTML/JS embe

Become Premium to view the source code
Unlock Everything with Premium
All project code, FAQ sections, and troubleshooting guides for Premium members. Buy in the mobile app.