-
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
Random disconnecting, won't connect anymore #2346
Comments
Has the WiFi a fixed channel, or is it allowed to hop to any channel? |
thank you. I set the 2.4G channel to fixed (11) and 5G left unchanged (channel automatic). I will let know if it worked |
Hi, I've left the node running for weekend and unfortunately I needed to reset it twice. I mean changing channel to fixed mode did not helped. |
OK, thanks for testing at least. |
Thank you for your attention. Will do it today evening CET as now I have no access to my home network. |
Build:⋄ Unit: 0 |
In the advanced settings, almost at the bottom, I added a new setting to force B/G only wifi network.
Could you also test those to see if these issues may be related to either SDK or some issues which may or may not be fixed in core 2.5.0/2.6.0 |
Okay. I've checked that here is no such option in my build. So I will try latest build now and mess a little with possible solutions you proposed. I will test single solution at a time to make sure we find real solution. Since every test take about one day, I will keep you updated during whole process. |
Okay, I've just came back from work and my nodemcu is 'dead' again. In this test I just updated fw to last build we were talking about earlier. Now I restarted it and checked option "Restart WiFi on lost conn.". I will let you know if this worked tommorrow. |
So far so good. I have nearly 24 hours up and running now. And it looks like it really got restarted automagically, cause I see only 56 minutes uptime on nodemcu info page. Please give me few more days to confirm this solution resloved the issue before closing |
Just to make it clear what you're doing.
So which one are you trying to test? |
I've just checked "Restart WiFi on lost conn". Sadly, the device is not available in the network again. Should I force b/g, set connection failure threshold, or start debugging via serial (as I did when I collected logs last time)? |
When using force B/G, the wifi seems to be a little more robust with low RSSI. |
Signal strenght is not an issue here, as mcu distance from the router is about 1 meter and there is no physical obstacles between them. They are placed on the same shelf. |
Hi TD-er, I had a similar problem. Turning on "restart Wi-Fi on lost conn" seemed to help. 3 days all well. In one of my esp8266 happened last night reset the “Uptime” in the “System Info”. I think it's because of the Wi-Fi failure. All espeasy settings are saved and the esp web interface works. Where can I read about other sections of “Special and Experimental Settings”? Thank you! |
Special and Experimental Settings
|
Hi @TD-er |
Thanks for the reply. Did I understand correctly that Fixed IP Octet: Sets only the LAST byte of the IP address? Example: esp IP 10.0.0.120-octet: 00001010.00000000.00000000.01111000 should I write only 01111000, or the whole octet -00001010.00000000.00000000.01111000?
…
|
The name "octet" is confusing, but it just means 8 bits or 1 byte. |
Nope not yet. |
I believe it is atmega mcu with special firmware to be used as Watchdog or/and I/O expander. |
Excellent. Because I have a suspect that this could also affect the HW WD. |
Yep, one to make the idle calls in the scheduler and one for the wifi sleep mode. |
Looks like now it is working stable. I've tested it for almost a week and got no issue. I've checked "Restart WiFi on lost conn" and set connection failure limit to 2. I think this issue is resolved, thank you for your assistance. |
Just curious, since you're stating you tested it for a week now. (and the power save options were only merged yesterday) |
I use mega-20190225. I can send detailed info today evening CET 'cause I'm not able to reach my home network now. Settings which work for me are as I stated before: Restart on lost conn and connection failure limit = 2 |
I've found one spare mcu in my endless bag which I believe is configured exaclty as one I tested, so:
One thing that is disturbing is excessive load (I have many timeouts), but it is out of scope of this issue. I will try this particular device in my home network, eventually flash fresh build into it. |
The load is always reported high at the beginning. |
Summarize of the problem/feature request
node disconnecting in random time after reset/turn on. After some time, it does not connect anymore. After pressing physical reset button, node works again until next occurrence.
This behavior occurs only in my home network (wifi-enabled cable modem), in my workplace the problem does not exist.
Expected behavior
node should work stable and be accessible all the time.
Steps to reproduce
System configuration
Hardware:
I've tested this issue on two devices, both gave me the same results. Devices vendors:
My cable modem is: https://router-access.com/upc-connect-box-manual
Both devices work perfectly with another wifi network
ESP Easy version:
ESPEasy_mega-20190121
ESP Easy settings/screenshots:
Rules or log data
https://pastebin.com/th2fbmR6
The text was updated successfully, but these errors were encountered: