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?
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 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.