You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
I found another led and put one in series with my string as a null pixel. Everything works fine.
It was confirmed to be hardware as other software had the same issue with the suspect led tied in first.
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 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 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.
@raoulteeuwen Thank you for the links! I believe I will add a setting to enable WiFi.setSleepMode(WIFI_NONE_SLEEP);, but not enable it by default.
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.
All my indoor devices with good signal strength never seem to have any connectivity issues.
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.
Reacted by Danny Mullen (thedannymullen) and Anshuman Fauzdar
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:
Use 3 different NODEMCU bought on Aliexpress.
Use 3 different Wemos D1 mini bought on alie
Turn it on without ir with led strip or led lights and it doesnt help.
Devices are like 10cm away from router (Netgear with openwrt). I used different power source aswell like usb form pc or extended power source.
I dont know what i can try more.
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...
@blazoncek Cool!! I really like this great project with all the features. Thanks to all conributors!
If the new ESP core make the difference its super good news!
At the end its all about stability of the WiFi connection to be happy with it in all day use and I was really annoyed about this connection losts.
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.
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!,
that every single wire causes interferences.
So, if you are using a lot of wires in a small case with just little distance to the wires, you will facing bad signal strength and even connection drops.
Solution options to avoid this:
use a bigger or no case
keep distance to the wires
drill the wires to cancel / flatten out interferences
avoid placing the device nearest area to USB 3.x devices/cable --> background reason last topic (maybe you have to translate)
Activity
thedannymullen commentedon Dec 8, 2019
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.
I found another led and put one in series with my string as a null pixel. Everything works fine.
It was confirmed to be hardware as other software had the same issue with the suspect led tied in first.
ozzi91 commentedon Dec 9, 2019
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 :/
ksuclipse commentedon Dec 15, 2019
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:
{"ver":"0.8.6","vid":1910255,"leds":{"count":519,"rgbw":false,"pin":[2],"pwr":0,"maxpwr":65000,"maxseg":10},"name":"WLED Light","udpport":21324,"live":false,"fxcount":83,"palcount":50,"arch":"esp8266","core":"2_5_2","freeheap":18296,"uptime":1200,"opt":119,"brand":"WLED","product":"DIY light","btype":"bin"markusn1 commentedon Dec 15, 2019
I have the same issue with 0.8.6 and 0.9.0-b1.
0.8.5 does not seem to be affected by this.
Could it be the "non-Wemos" D1 minis from aliexpress?
edit: It looks like the wifi connection is still there, just the IP stack does not seem to work anymore.
ksuclipse commentedon Dec 15, 2019
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.
markusn1 commentedon Dec 15, 2019
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?
ksuclipse commentedon Dec 15, 2019
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
markusn1 commentedon Dec 20, 2019
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.
raoulteeuwen commentedon Dec 20, 2019
@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 ?
Aircoookie commentedon Dec 21, 2019
@raoulteeuwen Thank you for the links! I believe I will add a setting to enable
WiFi.setSleepMode(WIFI_NONE_SLEEP);, but not enable it by default.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.
All my indoor devices with good signal strength never seem to have any connectivity issues.
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.
Aircoookie commentedon Dec 21, 2019
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...
ozzi91 commentedon Dec 23, 2019
Just for info, i really have no idea why this is working or not. I tried:
Use 3 different NODEMCU bought on Aliexpress.
Use 3 different Wemos D1 mini bought on alie
Turn it on without ir with led strip or led lights and it doesnt help.
Devices are like 10cm away from router (Netgear with openwrt). I used different power source aswell like usb form pc or extended power source.
I dont know what i can try more.
raoulteeuwen commentedon Dec 23, 2019
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...
ksuclipse commentedon Dec 23, 2019
ozzi91 commentedon Dec 31, 2019
Even with static ip problem still exist :/
67 remaining items
blazoncek commentedon Mar 14, 2022
Newer ESP core. Not WLED related, but still beneficial.
olialb commentedon Mar 14, 2022
@blazoncek Cool!! I really like this great project with all the features. Thanks to all conributors!
If the new ESP core make the difference its super good news!
At the end its all about stability of the WiFi connection to be happy with it in all day use and I was really annoyed about this connection losts.
shayded-exe commentedon Mar 14, 2022
Does this also benefit ESP-8266?
blazoncek commentedon Mar 15, 2022
I think yes. Check platformio.ini.
You can always choose to compile yourself with the latest ESP core.
olialb commentedon Mar 15, 2022
@rshea0. Actually I am using ESP-8266 and WIFI seams to be stable now!
shayded-exe commentedon Mar 16, 2022
Excited to hear! I took a break from my project but I'll have to test it out when I start on it again.
Losses commentedon Jan 3, 2023
Using ESP8266, the issue still exists (0.14, bl0), is there any way to provide some logs for the developers?
blazoncek commentedon Jan 3, 2023
Use debug build and monitor serial output.
You will need to compile your own binary or check @srg74 repository for pre-compiled debug binaries.
Losses commentedon Jan 3, 2023
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...
blazoncek commentedon Jan 3, 2023
Unfortunately, yes.
Losses commentedon Jan 3, 2023
Okay, I'll do that
Suxsem commentedon Apr 9, 2023
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...
Suxsem commentedon Apr 9, 2023
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)
exhibitO commentedon Jun 6, 2024
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 🤞🏽
Gittegatt commentedon Sep 23, 2024
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!,
that every single wire causes interferences.
So, if you are using a lot of wires in a small case with just little distance to the wires, you will facing bad signal strength and even connection drops.
Solution options to avoid this:
Regards and stay tuned. =)