I hate my router

I have a few ESP devices around my home, some that I made using the Wemos D1 Mini. Today, I went to re-flash one of them and it simply would not connect to my WiFi. I tried using a new Wemos D1 Mini and got the same result. I grabbed another working device and tried booting it on my desktop and it connected- no problem. It's the same code that I just flashed on the other Wemos.

I decided to take my router out of the lop and made a hotspot on my phone. The new Wemos connected with no problem.

Any ideas would be appreciated. Is there a setting in my router that I missed?

It’s probably nothing to do with your router.

Your WAPs control what connects… do you have MAC filtering enabled ?
Any LAN specifics, like VLANs or later 3 switches ?

No to all of those. It's a puzzle. As I said, other ESP devices all over my house are connecting just fine. Three devices on my desktop simply will not connect to my router, but all three do connect to my phone's hot spot.

I did reboot the router just in case.

Not a LAN expert, but how many devices do you have connected to the router (all WiFi devices).
My router defaults to 16 max.
Leo..

The puzzle deepens...

I flashed an ESPHome binary (Home Assistant) to one of the Wemos D1 Mini modules. It was happy to connect to the router and communicate over the Home Assistant API.

Then I ran my wifitest.ino on it, and now it's happy.

Approaching 100. Most of them are WiFi.

I think I have found a solution. In setup() I added this code:

  // Disconnect from the current WiFi network and reset WiFi configuration
  WiFi.disconnect(true);

Both test modules connect now.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.