-
Notifications
You must be signed in to change notification settings - Fork 2k
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
WiFiManager and painlessMesh together #850
Comments
I also have similar requirements. |
@kbssa Have you succeeded in using both of them together? I found that WiFiManager is very buggy to use. So i used ESPAsyncWebServer lib to create my own web server and with the help of ArduinoJson, I am writing my config on the SPIFFS of ESP8266! |
What is painless mesh ? |
@tablatronix |
So why would you use this with wm if its not networking based? |
Certainly it can be used along with external WiFi networks as well. As ESP provides |
I still do not get it, its 2 seperate things, what would prevent them from working togather? |
I never said that these 2 libs are not compatible with each other. I think @kbssa was asking for a logical approach to implement this, maybe like a pseudo-code! |
What do you mean ESP requires hard reset? There is no issue for that.. |
I will see about creating an example for combinging with painlessmesh and espmesh or espnow
|
While using WM v2.0.2, I faced the issue that after receiving the config, the ESP still stays in blocking mode (even though it successfully saves the config in the memory). However, with a hard reset/power-cycle, the ESP successfully retrieves config from memory and proceeds as expected. |
@tablatronix - This might be a good point to take a look before writing an example. |
are you saving parameters and not wifi? you have to set shoudBreak true or else it doesnt stop the cp, or switch to using the setup menu and not wifi for custom params. Its not a bug but kind of a throwback to v.0 that I have not figured out a good way to fix without breaking old code. ( since you are NOW allowed to skip saving wifi everytime ) |
@tablatronix Good to know about this. In my sketch, I was trying to save both WiFi config (SSID+PASS) along with 4-5 custom params which are to be stored on SPIFFS. |
Ill try to find a better fix for this this week and add better callbacks for param saves. I thought it was added to the readme but I am not seeing it ... |
doh it was added to hotfixes ill adjust that...
|
You should test out // wm.setParamsPage(true); // move params to seperate page, not wifi, do not combine with setmenu!, use setSaveParamsCallback |
@pranjal-joshi did you end up implementing this in one of your projects? |
I'm curious about this too. In that case, the root node has normal plain wifi and needs to be configured as such. Hence the need for something like WifiManager. An example with mesh + WifiManager would be an awesome starting point! |
I am curious if anyone already has this implemented in their project: painlessmesh and wifimanager coming together. |
Anyone here have tried to combine WiFiManager and painlessMesh or at least know that is it feasable to use both in the same code.
My application really needs the WiFiManager captive portal like, but I have no idea on how to implement it with the painlessMesh.
If anyone coulp point me to the right direction, I would appreciate a lot.
The text was updated successfully, but these errors were encountered: