-
Notifications
You must be signed in to change notification settings - Fork 2.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
Cant connect to wifi #2008
Comments
Just to be sure, no trailing spaces in the name/setting? |
Nope. And I'm not sure about casing on the ap name. But I matched that as well. I upgraded this node MCU from an older version, could it be that it is stuck on some old config? I already erased the flash and did a factory reset. Any thing else I can do? |
You did flash it with a 4MB blank bin file? |
Yes, also did that |
Other ESP Easy units, do they connect? |
Yes, but they are way older version. |
Any you haven't tried another unit with the a new version? Please do! |
I have same issue. I've been trying to solve it for several days. It only happens with Wemos NodeMCU modules: Log: 11276 : WIFI : Connecting lada attempt #1 26789 : EVENT: WiFi#Disconnected Wemos D1 mini and clone D1 mini modules work well. |
I got that one pictured (at my office) I might be able to test it myself on Friday when I'm back. |
Can you give the information from the sysinfo page? |
Oh and could you maybe try to set the wifi credentials using the (latest) version of @Grovkillen flash tool (included in the zip) and als try to set the IP settings to static. (in a second attempt) |
I've just upgrade to mega-20181107 (file ESP_Easy_mega-20181107_normal_ESP8266_4096.bin) and set the wifi credentials using the (latest) version of @Grovkillen flash tool (included in the zip) and now it's working. Sysinfo page:
|
So we can close this issue then? 👍 |
Yesterday I was testing mega-20181023 version that did not work and mega-20181022 version that did work. Now I'm going to test mega-20181106 version... |
please, do not close it yet |
Downgrade to mega-20181106 version via OTA ==> WiFi don't work |
Flash ESP_Easy_mega-20181106_normal_ESP8266_4096.bin with ESP Easy Flasher ==> WiFi don't work |
So yesterdays release is misbehaving. What have changed between those two releases? Not much? |
I changed a lot of strings to reduce amount of space used. |
But you changed it to work? |
Yesterday I only merged the commits regarding OTA updates I hope I did proper search/replace queries, but maybe something may have changed, regarding wifi setup. |
Today's release seems to work, yesterdays don't. Weird, build related perhaps. |
Ah, maybe I fixed something too in the process ;) |
ESP_Easy_mega-20181107_normal_ESP8266_4096 flashed via OTA ==> WiFi works OK |
So today's release seems to work, but no. I've compiled from sources in the zip file and WiFi doesn't work again. |
Have you tried to compile it twice before flashing? (assuming you're using PlatformIO) |
No, I haven't. I use PlatformIO with VS code on Windows 10. |
@TD-er I 've runned task PlatformIO: Build (normal_ESP8266_4096) twice and get this log. Do you mean this?
Processing normal_ESP8266_4096 (framework: arduino; platform: [email protected]; board: esp12e)Verbose mode can be enabled via ======================================================= [SUMMARY] ======================================================= Las tareas reutilizarán el terminal, presione cualquier tecla para cerrarlo.
Processing normal_ESP8266_4096 (framework: arduino; platform: [email protected]; board: esp12e)Verbose mode can be enabled via ======================================================= [SUMMARY] ======================================================= |
Yes, sometimes the module needs couple of tries to connect to the AP after start/reboot. But after working fine. I'll try this multiple AP thing on Tuesday. |
I will have a look to see if we can set the BSSID locked. |
See arendst/Tasmota#3678 (comment) Probably related: #2084 #2008
I just added a build flag to the common section in platformio.ini. I will make a test build for this so we can test the effect on multiple nodes. |
I just made a test build with this flag active. Can you test it? |
Test build tested: NG I have couple of routers hanging around. Could you explain this multiple AP thing? I know the router side. How should i configure the ESPEasy? What is the fallback SSID? Same like the the primary? How can i force the ESPEasy to connect the weaker AP first? I can try it on Tuesday maybe Monday. |
There are some circumstances when you may have multiple accesspoints with the same SSID.
At this moment you can only define the SSID/passwd in ESPeasy, but at initial configuration you can select one from a WiFi scan result. So there may be the possibility the ESP module is connecting to the weakest one when making the initial connect. But if we add some BSSID to the settings, we can make sure it is only trying to connect to the preferred one. |
Ok, everything is clear now. Test on Tuesday. mega-20181125 tested: NG #2088 Looks same issue to me... |
Hi Test results of the ESPEasy_mega-20181121-10-g58278ab (and ESPEasy_mega-20181127 too):
So i couldn't test this multiple AP thing :-( I haven't used this EasySetup thing for a long time (serial is easier to me). Meanwhile is the default WPAkey has changed? Off: |
hi. the connection to wifi ESP_Easy_mega-20181231_normal_ESP8266_4096 works with post flash action static ip but the ESP_Easy_mega-20181231_normal_IR_ESP8266_4096 and any other ir bin up to xxx09 does not work (even if you flash it over with working bin but if you flash over non working bin with working bin it still will not work). is it posible to replace working wifi bin code to ir bin? |
Hi The latest fw which can connect to the wifi is: 20181124. I tested the all of which has issued after that: no joy. :( T |
Hi I saw this new fw with some wifi changes so i tested them 2.4.2 and 2.5.0 too: Originally installed: 20181124 (working fine) Results: Start after OTA ESP_Easy_mega-20190116_test_ESP8266_4096_VCC.bin Log:
Start after OTA ESP_Easy_mega-20190116_test_core_250_beta_ESP8266_4096_VCC.bin
The ball is on your side now... ;-) Thanks |
Hmm too bad :( |
Yes the 2.5.0 looks worse than 2.4.2, but i dont give up. I tried every release anyway. The last working release is 20181124. |
20190121 2.5.0 / 2.4.2 tested, same like 20190116. |
I found the same problem with the same board .. last working fw , that I found till today, is ESP_Easy_mega-20190212_dev_ESP8266_4096.bin |
i have same problem with same board :( |
The current code in the mega branch does have issues connecting to WiFi. But right now it almost feels random whether a node can connect to WiFi. (just pick another core version or number of plugins included and it may fail or succeed) |
Just started with ESPEasy, I cant connect to WiFi also. Is there a older version i could use?
|
You may try setting up a AP using your phone and see if the problem still persists. |
Things to check: (we should make a link for this somewhere)
WiFi credentials seem OK, since you do get a connection. You can try a build from around begin 2018 to be sure the module is OK. |
Thanks for your quick answer. I have tested with 3 different HWs (Wemos NodeMCUs), Used Laptop USB Port as Powersupply but also tried external Power (no debug, but no connect to hotspot also). Tried different cable. Tried to test directly in front of the hotspot. No ping replies received from node MCU. On Tablet Hotspot I'll get every 2853ms: will test with older builds |
Here is the new Status:
|
Hi I moved to ESPHome. These boards are works perfectly with it. If you're using Homeassistant maybe worth it to try. Bye |
I will close this, open if its still a valid issue. |
Checklist
I have...
ESP_Easy_mega-20181001_test_ESP8266_4096_VCC.bin
)Steps already tried...
.bin
files are included in the ZIP)Summarize of the problem/feature request
I cannot connect to wifi
Expected behavior
I can connect to wifi
Actual behavior
Output of the terminal:
I tried to get it connected to my ap, but it states it cant find my ap. But with a wifiscan it can find my AP (Hans)
Steps to reproduce
Install the firmware and configure wifi
It happens all the time
System configuration
Hardware:
NodeMCU from wemos (4mbit)
ESP Easy version: ESP_Easy_mega-20181106_normal_ESP8266_4096
ESP Easy settings/screenshots:
Rules or log data
The text was updated successfully, but these errors were encountered: