ESP32 HTTP Web Server With Content Served from SPIFFS Filesystem
atomic14
In this video, I demonstrate how to set up a web server on an ESP32 and serve content from the SPIFFS filesystem.
Platform.io have moved the Upload FS command and made it quite hard to find - see here if you are struggling - https://youtu.be/Pxpg9eZLoBI
We set up and endpoint so that we can switch an LED on and off. You can add WiFi control to any of your projects.
I show you how to build a simple User Interface using HTML and JavaScript.
And then we serve that UI directly from the ESP32 using files stored in the SPIFFS filesystem. This makes our device completely self-contained.
I also show how you can compress the content to save valuable space.
The GitHub repo with the sample code can be found here: https://github.com/atomic14/ESP32WebSPIFFS
If you enjoyed this video please subscribe to the atomic14 channel by clicking here: https://www.youtube.com/channel/UC4Otk-uDioJN0tg6s1QO9lw?sub_confirmation=1 ... https://www.youtube.com/watch?v=NVD46mRbVXM
93289143 Bytes