tonyp7 / esp32-wifi-manager

Captive Portal for ESP32 that can connect to a saved wireless network or start an access point where you can connect to existing wifis.
MIT License
673 stars 220 forks source link

Custom Parameters #139

Closed markirwin closed 2 years ago

markirwin commented 3 years ago

I would like to add a custom parameter on setup to configure an MQTT server and username / password. I do not see a way to do this with the current code. I want to save these parameters to NVS too and be able to use them in my code.

I am coming from moving code from arduino where there is a library that does this to idf native implementation.

I have thought if it were possible using a custom page but not sure if there is a way to make the login jump to this screen after configuring the wifi?

thebitguru commented 2 years ago

@markirwin did you ever figure out how to accomplish this? I am in a similar situation was curious. Thanks!

markirwin commented 2 years ago

@thebitguru, i did not and ended up implementing it using a config file. There is also lots of forks on this code with improvements, I would look at this for any help.

thebitguru commented 2 years ago

Thanks for responding! I started looking at the forks and it seems that there are quite a few. Any specific one that you would recommend?