thinger-io / Arduino-Library

IOTMP Arduino Library for connecting devices to thinger.io #IoT
https://thinger.io
MIT License
114 stars 66 forks source link

WiFiManager doesn't start the SoftAP if its not detecting the saved WiFi #49

Open dicamarques14 opened 1 year ago

dicamarques14 commented 1 year ago

I'm having some problems dealing with this library, because it takes control of the WiFiManager lib.

I really like to be myself to handle the wifi/networking stuff.

I sometimes take my device to a new location, and I want it to "forget" the last network. Yes I know about the "clean_credentials()" function, but that would need to have some logic or add a "reset wifi" physical button.

On my projects that I use the wifimanager I let the lib handle all the wifi settings, and I sometimes even add the physical button to toggle the .startConfigPortal (turns on AP and starts the http server) or the .startWebPortal(keeps connected to the current AP and starts the http server)

If this is to complicated to handle, maybe expose the WiFiManager variable to the outside, so the user can do what he wants with the wifiManager library.