Open MayaPosch opened 2 years ago
May be not completely what yo expect, but it can be a starting point https://github.com/SmingHub/Sming/tree/develop/samples/Basic_WebSkeletonApp I use kind of it for initial wifi configuration. Bit ugly and outdated web ui but better than nothing :)
For Arduino ESP8266 & ESP32 there is the WiFiManager project: https://github.com/tzapu/WiFiManager
This project allows for easy configuration of an ESP device by connecting to its AP and setting the WiFi credentials via a browser-based interface. This is more portable than the 'Smart Config' option. Unfortunately WiFiManager does not seem to support Sming (due to its use of Arduino-exclusive headers like
ESP8266WiFi.h
).I could not find an existing solution for Sming that offers similar functionality. The DNS Captive Portal sample seems to provide some of the basics, minus the credentials section.
My question is whether I overlooked an existing solution here?