ESP32 web server: template processing when serving HTML from file system

In this tutorial we will learn how to use placeholders to replace values at run time in a HTML file served from the ESP32 file system. We will be using the ESP32 async web server library and the Arduino core. The tests shown here were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction In …

ESP32 Arduino web server: Serving external CSS file

In this tutorial we will check how to serve an external CSS file, to be included by an HTML file. This will be implemented on the ESP32 running the Arduino core and using the HTTP async web server libraries. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction In this tutorial we …

ESP32 Arduino web server: Receiving data from JavaScript websocket client

In this tutorial we will check how to setup a HTTP web server on the ESP32 that will have a websocket endpoint and that will serve a HTML file containing JavaScript code to establish a websocket connection to the server. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. Introduction In this …