# Odd WIFI problem

**URL:** <https://wled.discourse.group/t/odd-wifi-problem/9632>\
**Category:** Questions\
**Created:** [October 26, 2023, 5:11pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632 "2023-10-26T17:11:10Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cruez](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cruez](https://wled.discourse.group/u/Cruez)\
**Post date:** [October 26, 2023, 5:11pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/1 "2023-10-26T17:11:10Z")

</div>

I am at a loss.  
I have installed WLED, (I have the MAC address set to assign the IP from the router)  
It connects to WIFI after a few second during setup, I set everything up, LED’s work fine. Everything is good. I can get to it with the app or directly using the IP address. Save settings, everything works.

Until I unplug it.  
It won’t connect back to WIFI. I’ve tried changing wireless routers, moved the routers location.  
Nothing seems to work. Only way I can get to it is reinstall and it connects fine.

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [October 26, 2023, 5:19pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/2 "2023-10-26T17:19:34Z")

</div>

What ESP board are you using (post a link if you can)?  
What does your SSID name look like on the router?  
Have you tried the “Disable WiFi Sleep” setting in Config-\>WiFi?

Do you get the WLED AP if it doesn’t connect to your router, ie. is WLED booting, but not connecting to your router?

---

<div class="post-metadata">

**Author:** ![Cruez](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cruez](https://wled.discourse.group/u/Cruez)\
**Post date:** [October 26, 2023, 6:09pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/3 "2023-10-26T18:09:03Z")

</div>

ESP-WROOM-32  
The SSID name “AOL dialup”  
I have tried the disable WIFI sleep also. no change.  
I’ve also changed the AP settings on different times i’ve installed.  
Occasionally the AP will show up when it’s not connected using the default setting. I can access it when that happens. Currently, it is not connected to WIFI and the AP does not show up.  
I’ve also used 2 different ESPs… same result.

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [October 26, 2023, 6:17pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/4 "2023-10-26T18:17:46Z")

</div>

How are you powering this setup, does it make any difference if you try with no LEDs attached?  
Not what you want in the long term, but it can sometimes isolate out power issues.

What version of WLED are you running BTW?  
Is this your 1st go at these or have you done any in the past?

I’m asking questions to narrow the field as best we can, it’s not meant as any judgement on you or your gear (just so you know).

---

<div class="post-metadata">

**Author:** ![Cruez](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cruez](https://wled.discourse.group/u/Cruez)\
**Post date:** [October 26, 2023, 6:57pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/5 "2023-10-26T18:57:28Z")

</div>

When installing, the usb cable… Even if after the install and I unplug it, and plug it right back in to the same port on the PC… it still fails to reconnect.  
I have tried it with no LED’s connected. no change. The LED’s are powered separately anyway. (12V)  
It has SR 0.13.4 currently, I tried 0.14.0 to see if that was the issue.

1st go with WLED. The only other change from the basic default settings is GPIO 16 instead of 2.  
It just doesn’t make sense it works fine at the initial install but won’t connect once you unplug it.  
When I did go into the AP, it showed it was not connected to the network.

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [October 26, 2023, 7:30pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/6 "2023-10-26T19:30:47Z")

</div>

I’d definitely work from ver 0.14 (release).  
If you get into AP mode, can you then config for WiFi?  
What are you using to do the install, [install.wled.me](http://install.wled.me) on a chrome browser?

---

<div class="post-metadata">

**Author:** ![Cruez](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cruez](https://wled.discourse.group/u/Cruez)\
**Post date:** [October 27, 2023, 1:37am UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/7 "2023-10-27T01:37:12Z")

</div>

I tried .14. same issue.  
When I could get into AP mode, it shows the correct settings for the wifi. Still won’t connect. Even tried setting it with the static IP address. No dice.  
Yes, used the [install.wled.me](http://install.wled.me) on Chrome.

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [October 27, 2023, 1:47am UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/8 "2023-10-27T01:47:03Z")

</div>

Have you watched the serial port to see any of the power up debug messages? Might be a clue there, and/or perhaps a full wipe and reload?

This shouldn’t be that tough…

---

<div class="post-metadata">

**Author:** ![Cruez](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cruez](https://wled.discourse.group/u/Cruez)\
**Post date:** [October 27, 2023, 3:46am UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/9 "2023-10-27T03:46:37Z")

</div>

I have not watched the port. I would need to look into how to do that.  
I thought about a full wipe as well, what is the easiest way to achieve that?

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [October 27, 2023, 5:12am UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/10 "2023-10-27T05:12:24Z")

</div>

I would also try giving your router a reboot.

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [October 27, 2023, 5:46am UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/11 "2023-10-27T05:46:37Z")

</div>

There should be a checkbox for “Clean Install” which will wipe your previous settings.  
The router reboot suggested by @Jinx is also a simple test.

You can watch the boot data by monitoring the serial USB port used to install the software with a simple terminal program (TeraTerm or some such).

---

<div class="post-metadata">

**Author:** ![Cruez](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cruez](https://wled.discourse.group/u/Cruez)\
**Post date:** [October 27, 2023, 12:56pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/12 "2023-10-27T12:56:29Z")

</div>

I thought there might be another type of clean install. Every time I reinstall it, I do the “Clean install”.  
I as far as rebooting the router, I can’t say for sure if I have done it with this particular router, but I have swapped routers and got the same result.

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [October 27, 2023, 5:23pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/13 "2023-10-27T17:23:33Z")

</div>

Also make sure your SSID and password do not contain any special characters.

---

<div class="post-metadata">

**Author:** ![Cruez](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cruez](https://wled.discourse.group/u/Cruez)\
**Post date:** [October 27, 2023, 5:39pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/14 "2023-10-27T17:39:59Z")

</div>

nope. all letters for both.  
I just can’t understand why it will connect fine when first installed… but not after it is restarted.

---

<div class="post-metadata">

**Author:** ![Cruez](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cruez](https://wled.discourse.group/u/Cruez)\
**Post date:** [October 30, 2023, 3:05pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/15 "2023-10-30T15:05:38Z")

</div>

Tried a few more things trying to figure this out.

Removed the assigned IP address from the router so it pulls it from DHCP.  
Changed the router name to get rid of the space.  
Installed 4 different versions… no change.

Any other thoughts?

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [October 30, 2023, 9:00pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/16 "2023-10-30T21:00:59Z")

</div>

Try installing WLED and don’t setup your wifi config.  
Power cycle the board and look for the WLED Ap from available wifi networks.  
Connect to it and setup your wifi details. See if that happens to do anything.

---

<div class="post-metadata">

**Author:** ![Cruez](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cruez](https://wled.discourse.group/u/Cruez)\
**Post date:** [November 1, 2023, 4:22pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/17 "2023-11-01T16:22:33Z")

</div>

Still no dice.  
I tried an unused ESP32… same result.  
The WLED AP shows up occasionally. When I do try to connect to the AP, sometimes it takes 7-10 times before it will actually connect. I tried also with the “always on” setting to see if the wifi had an IP address, said “not connected”.  
What is strange is I can see that the router has assigned it an IP address but WLED will not connect, at least after the first run after the install.

---

<div class="post-metadata">

**Author:** ![divsys](https://avatars.discourse-cdn.com/v4/letter/d/a3d4f5/32.png) [@divsys](https://wled.discourse.group/u/divsys)\
**Post date:** [November 1, 2023, 7:47pm UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/18 "2023-11-01T19:47:38Z")

</div>

What if you go at this from the opposite direction.  
Turn your router off so there’s no chance of WLED connecting to anything.  
Turn on WLED and connect to the AP.  
Change the WiFi config to the wrong SSID so it can’t ever connect.  
Restart your router and WLED and see if you can consistently get to the AP.  
This doesn’t fix your WiFi issue, but it should let you know that WLED can be reliably reached via it’s AP.

If that works, you can try to bring your router back into the picture. I might try getting another router and set it up with a simple SSID and password for test purposes.

---

<div class="post-metadata">

**Author:** ![Jinx](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jinx](https://wled.discourse.group/u/Jinx)\
**Post date:** [November 2, 2023, 12:20am UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/19 "2023-11-02T00:20:16Z")

</div>

Also try accessing the device by it’s ip address and not with one of the WLED app’s ‘finding it’

---

<div class="post-metadata">

**Author:** ![Cruez](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@Cruez](https://wled.discourse.group/u/Cruez)\
**Post date:** [November 2, 2023, 3:50am UTC](https://wled.discourse.group/t/odd-wifi-problem/9632/20 "2023-11-02T03:50:34Z")

</div>

So after multiple actual headaches trying to figure this out… it may have been the ESP32 itself.  
I did try accessing it by it’s actual IP… no dice, tried pinging it also, no response.

I didn’t try the “wrong ssid” for that board. I ordered 2 more (actual espressif boards) and as of the moment, this first one seems to work. At least at the house.

Is there a possibility of it having to go through an access point that would cause an issue?  
I guess I will find that answer out tomorrow when I take it down to the shop.  
Thanks for the insight, hopefully this issue will be resolved. I’ll post an update.

[Next page](https://wled.discourse.group/t/odd-wifi-problem/9632.md?page=2)
