Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring WiFi credentials via captive portal #2546

Open
MayaPosch opened this issue Sep 1, 2022 · 1 comment
Open

Configuring WiFi credentials via captive portal #2546

MayaPosch opened this issue Sep 1, 2022 · 1 comment

Comments

@MayaPosch
Copy link
Contributor

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?

@avr39-ripe
Copy link
Contributor

avr39-ripe commented Sep 2, 2022

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants