mateusm09 / settings-esp

ESP 32 webserver to serve a static page for wifi settings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ESP32 Settings WebServer

This is a ESP32 Firmware developed in PlatformIO which consists in a HTTP server for serve static files and provides an API for wifi settings.

The static page is place under the ./data folder and is a Preact page. This framework is used because of it's minimal size. The page is uploaded by generating a SPIFFS binary with PIO.

The settings routes are:

  • /wifis - for getting a list of near networks. (Not implemented on the webpage yet)
  • /local - to set the wifi network which the ESP will connect
  • /hub - to set the wifi network which the ESP will generate
  • /save - to restart and apply the settings

To access the webpage you can access the following URL ``http://{esp's ip}/index.html`.

The webpage code is in this repo

About

ESP 32 webserver to serve a static page for wifi settings


Languages

Language:C++ 75.4%Language:HTML 24.6%