-
Notifications
You must be signed in to change notification settings - Fork 30
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
Not connecting to WiFi or creating backup network #158
Comments
Hi, What exactly does the LCD show during this? Could you also check the serial output of the other ESP (ESP A)? That is the one responsible for hosting/connecting to the AP. Thanks |
Hi there, Oversight on my part, I didn't even think about the output of the other board haha but here it is -
Seems I'm missing a config file, during this sequence the LCD just prompts me to connect to the backup network but it's unable to create it which now makes sense, I must've missed something in the setup process? |
I don't see anything unusual in the output above aside from failing to connect to your WiFi which could be caused by a lot of different things (bad credentials, too weak of a signal, etc). That config file is optional so it doesn't matter if it can't be opened. You say it is unable to create the backup network, but the output above doesn't say that. Are you sure the network doesn't get created? You should be able to connect to it with a phone or laptop. Did you configure a unique name for the backup network? If the name is the same as another nearby network that could also cause issues. How did you flash the device? If you compiled it yourself, be sure that you have the ESP32 board version 2.0.12 installed since later versions have introduced some issues which could potentially cause WiFi issues. |
Hmm, I double checked the credentials I entered for my home network multiple times and I made sure to give the backup network a unique name and password. It just fails to connect and then when the screen prompts the backup network it doesn't appear anywhere on my phone or desktop. I used the Arduino IDE to flash and I believe I used the correct versions for everything, I'll have to give it another go and see if I went wrong anywhere and report back! EDIT: Just checked quickly and it seems I have the correct board manager installed - |
One more thing, it is possible that the signal strength of the ESP-A is very weak. I've seen this happen before with defective units, but it can also be caused by not plugging in the antenna fully (or not connecting one at all). |
I've tried with and without antennas to no avail, is it possible this could be caused by me using the USB-C variant of the ESP32 boards at all? Doesn't seem like that should be a problem but I'm just thinking of anything at this point haha |
So I found a temporary solution. If I use a config file with the credentials it works flawlessly, I'll have to do some more digging at some point to find the true cause of the issue! |
Hi, I did some investigation into the WiFi setup today and found something which could cause the wardriver to fail to connect to a network when configured normally, but work as expected when using the config file. This bug would be triggered if your WiFi password contains a However, I'm still unsure why the fallback network was not showing up for you. I've merged the fix into |
Hey! Nice to hear an update on this issue, your findings with the bug being triggered by the |
I've reflashed a few times and everything else functions perfectly but I can't seem to connect to my network after the first time setup and it doesn't create the backup network.
I also tried looking at the serial output upon boot but nothing really stood out to me -
However after this sequence it goes straight in to scanning while the screens prompting me to connect to the backup network. Any help with this would be greatly appreciated!
The text was updated successfully, but these errors were encountered: