-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Dropping Wifi Connection #424
Comments
Have you tried without any leds on it? I actually had this problem and found my led was causing the wemos to lock up. I can’t explain it without a scope but assume it was pulling the pin down and causing a reset. |
Hello! Ty for answer. I tried wit h2 differents leds set and even without any led. Still wifi droping. Blue led on wemos is on so wemos is working :/ |
i'm actually running into the exact same thing. it failed right at 20 minutes though the effects are still running. it just dropped off wifi. here is json/info:
|
I have the same issue with 0.8.6 and 0.9.0-b1. edit: It looks like the wifi connection is still there, just the IP stack does not seem to work anymore. |
i was seeing it in 8.5 as well. so additional testing, i had the esp8266 running standalone with no led's attached and it still dropped its wifi eventually. Strangely when i ran it with AP mode set to always it ran all night with no issue however when i plugged it back into the LEDs it failed after about an hour. Even the AP is no longer broadcasting. |
I just tried using binaries which i compiled myself with different core versions (i tried 2.4.1 and 2.6.2), but it did not change anything. ksuclipse, what board are you using? |
Its a knock off nodemcu. so i was wrong it is still working if i have the AP always on. give it a try and see if i'm crazy |
I tested all WiFi modes (on, on when not connected, off) to no avail. Still the same behavior for me. After about 10-20 mins the Wemos loses WiFi. But like i said, it is still connected to my accesspoint. If i kick it, it will come back reachable, but eventually loses connection again. |
@Aircoookie Could the people at esp8266/Arduino#5083 be on to something re ESP8266 and wifi / sleep? Or this one: esp8266/Arduino#5912 (comment) ? This: https://community.home-assistant.io/t/esp8266-weird-wifi-issues/50484/26 ? This: https://forum.micropython.org/viewtopic.php?t=6860 ? |
@raoulteeuwen Thank you for the links! I believe I will add a setting to enable The only thing I do not like about it is that it triples the average power consumption of the ESP from 20mA to 60mA (which will also make it run hotter), but if it helps fix disconnects, that tradeoff would be worth it in those cases. I have a very flaky WLED installation myself (because it is outside, signal strength very low, around -80), I will test tomorrow if disabling sleep could help in that case. It could also be router-dependent, ESPs tend to run better with FritzBoxes or Netgear than TP-link or Asus units as far as i've heard. |
An update on this. Setting sleep mode unfortunately doesn't seem to help with connectivity on my outside unit. I seems like the signal quality is just really poor on that unit (maybe hardware defect). I also opened the WLED-AP and I can only access it from outside, phone doesn't discover it inside. I will try and flash 0.8.5 (since many of you report issues since 0.8.6) just in case, but I do believe it is just because of the signal. It's a shame too since my phone has good Wifi reception at the place the outside unit is set up... |
Just for info, i really have no idea why this is working or not. I tried: Devices are like 10cm away from router (Netgear with openwrt). I used different power source aswell like usb form pc or extended power source. |
Could you try to assign one or more controllers (NodeMCU/Wemos) a fixed IP and see whether that has any influence? Just wondering whether any other router config option could be in play... |
Mine is set as static ip, ap always on and connected to WiFi. Been
connected for about a week and it’s still online.
…On Mon, Dec 23, 2019 at 09:09 Raoul Teeuwen ***@***.***> wrote:
Could you try to assign one or more controllers (NodeMCU/Wemos) a fixed IP
and see whether that has any influence? Just wondering whether any other
router config option could be in play...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#424>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABANZTHT26LFFQ5Z2BMQZKTQ2DPDXANCNFSM4JWCOLEA>
.
|
Even with static ip problem still exist :/ |
I am running a lot of ESP-based devices (Sonoff, Shelly, WemosD1 etc) on my WiFi (Ubiquiti Unifi UAP-AC-LR), and all are very stable, with the exception of D1s running WLED 0.8.6 and later. I had similar issues with Tasmota when it was compiled with the wrong ESP Core. Trying different core versions on newer versions of WLED did not help though. |
My NodeMCU ESP32 is really wifi unstable. Keeps disconnecting every 2 or 5 minutes. I'm using latest beta version (glitter effect is so cool!) |
I have the same problem with a WemosD1 on a QuinLED-dig-uno and running wled 0.8.6. After a few minutes I'm unable to ping the ip and connect to the web interface. I have tried with both dhcp and static ip. If I use dhcp my server show the wled as offline at the same time as I'm unable to connect to the ip. Im using Unifi AP-AC Pro for my wifi. |
Ohh well, I think problem is not solved yet |
I have the same issue with an ESP32s: #517. It's even more noticeable with that, as it often fails to stay on for even a few seconds. When it does come on, it'll stay up for ~15 minutes before it drops and needs power-cycling |
Lets see, if anybody comes up to a solution, WLED UI is very dope, I want to use this only! |
I just compiled wled from the latest master branch, and so far it seems to be stable (around 2 hours so far). Will keep you updated! |
Ohh thank you brother, You did not used the binary? |
So, around 20 hours later it is still running fine. |
Thanks brother, will compile it ASAP |
I'm sorry, still a noob here but having wifi issues like everyone else. Thank you |
Hey, |
My problem is that my four esp8266 nodemcu works perfectly with WLED 0.9.0-b2 (and static IP) till router reboot. I found that after reboot esp8266 don't reconnect to wifi till power off-on. Any way to fix this? Thanks! |
Where is b2 released? |
It's not released, it's compiled from source code. |
I just setup 2 wled using esp8266/nodemcu boards and both are having this issue. I tried disabling sleep mode and dont have alexa sync enabled. They lose connection intermittently. I can see they have IP addresses on the router. What's interesting is that if one drops offline, it can still be controlled via the sync feature which suggests that it's the web-server dieing? Anyways, this is super frustrating to a noobie like me. I have not tried going to 11.0 yet. I have 2 new esp boards coming today, will see how that goes. |
Make that 4/4 boards that have this issue. I tried 11.0 (from 11.1) and it seems to have fixed one board. |
11.0 made it 24 hours then dropped it offline. 10.2 didn't work either (2 drops in 2 hours) |
I know it's not a great answer, but after suffering with this on multiple ESP8266 boards forever, I finally switched to an ESP32 board and it has been rock solid. |
I appreciate the info - I wish I would have known about this before ordering these other boards. I have ordered 3 digUno in Jan, but am getting impatient as they are taking forever to become available/deliver. I ordered 3 esp8266 to kill the time with the thought of repurposing these boards later. 1 showed up dead. Then I ordered 2 more. At this point, I have 4 boards and all of them are intermittent, but some more than others. Sigh. I guess I will put up with these until the DigUno's show up (esp32 based) and hope for the best. |
I'm actually running into this as well. One board is a DigUno and one is ESP32. I've flashed both again and turned off WiFi sleep |
So making each IP reserved on my router and using the reserved IP setting in WLED got me the longest uptime I've seen so far I also have run into the weird issue where they're both offline in the app, I manually unplug one, it comes online so I turn on sync, and my other light works with sync even though it's offline in the app. This only works about half the time |
It would be nice if we could configure a GPIO pin as a reset button to either restart WLED or reset the WIFI connection in the event of a dropout. |
Actually, I haven't had an issue after separating my 2.4 and 5GHz bands. Try this. Had it on auto before, but now all my smarthome WLED stuff has been online for weeks straight with no issues. Most these boards need 2.4 and for some reason auto on the router just messes them up |
I had also a lot of connection issues with 0.12.x release. I needed to reset power many times. Sometimes serveral times a day. Also with "Disable Wifi sleep" same issues. 3 day ago I updated to 0.13.0-b7. |
you bet! 😁 |
@blazoncek May be stupid question.. OK :-). |
Newer ESP core. Not WLED related, but still beneficial. |
@blazoncek Cool!! I really like this great project with all the features. Thanks to all conributors! |
Does this also benefit ESP-8266? |
I think yes. Check platformio.ini. You can always choose to compile yourself with the latest ESP core. |
@rshea0. Actually I am using ESP-8266 and WIFI seams to be stable now! |
Excited to hear! I took a break from my project but I'll have to test it out when I start on it again. |
Using ESP8266, the issue still exists (0.14, bl0), is there any way to provide some logs for the developers? |
Use debug build and monitor serial output. |
One more detail, if I turn on the light, it will always work, but if it's turned down, the Wifi connection will be unavailable eventually. So, there's a question, I have to turn on the "debug mode" and keep watching the terminal until the device is down? That looks really exhausting... |
Unfortunately, yes. |
Okay, I'll do that |
Same issue for me. Esp8266, after some hours the IP stack dies (wifi connected but no ping, no http response) despite the led effects still running. Will try the no wifi sleep without much hope... |
If I disconnect the device from the access point control panel, it will reconnect and start to repond again, without any reboot required. (runtime is weeks so no power supply related issue here) |
I too have having this issue and it seems agnostic of WLED version, I have tried several and toggled settings above such as Disable Wifi sleep, static IP and it still happens. Trying to update firmware for ESP-WROOM-32 as indicated here https://docs.espressif.com/projects/esp-at/en/latest/esp32/Get_Started/Downloading_guide.html#id4, after that I reflashed WLED and 🤞🏽 |
I had a scenario with lots of wires in a small acryl case and most of the pings dropped and those who were answered, had a response time latency delay of >1 second. First thought that my D1 Mini has a defect with the wifi interface module. Please keep in mind!, Solution options to avoid this:
Regards and stay tuned. =) |
Hello!
I have problem with drop wifi connection. After 20-30mins my wled on wemos d1 mini is not reachable till wemos reset. After reset wled is working again for next 20-30mins and goes off. I tried 2 wemos, and it is not working at all.
I tried wled_0.8.6_ESP8266_lwip1 and WLED_0.8.5_ESP8266 flashed by esphome flasher but it doesnt help-the same result. Distance between router and esp its like 10cm. I can provide you any information you want to check it out. If it is matter i integrate it with HA.
The text was updated successfully, but these errors were encountered: