ESP32-S3 IoT HTTPS Rest Webserver and Wi-Fi Soft AP
Project detail
We are developing a mock-up for a customer based on ESP32-S3-DevKitC-1.
The desired functionality is the following:
1) On first boot, we broadcast a Soft AP with pre-defined credentials
2) User uses computer to log into Wi-Fi and to open web server
3) User has to log in with pre-defined admin credentials
4) User has to set new admin password
5) User can select to continue running soft ap (SSID, password, Wi-Fi channel changeable) or to join the ESP32 into an existing network.
6) After the setup, the user can control the onboard LED brightness and colour
7) User can also use RESTful API with authentication to set LED brightness and colour instead of web interface
This can be built largely by using existing examples from Espressif:
– https://github.com/espressif/esp-idf/tree/master/examples/protocols/http_server/restful_server
– https://github.com/espressif/esp-idf/tree/master/examples/wifi/getting_started/softAP
The following requirements must be met:
– Must be programmed using ESP-IDF v4.4 in VS Code.
– No Arduino or PlatformIO.
– HTTP server must be served as HTTPS only with self-signed certificate.
– All code must follow best practices, clean and documented.