Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By corynardin
#79220 I have been working through some examples, progressively adding layers. I started with the OTA update. After getting that to work, I added in SPIFFS/JSON. I then moved onto an MQTT example. This is were I ran into problems. The examples wouldn't work. I was only trying to do the simplest example and it wouldn't work. I eventually turned on serial debugging and figured out that I wasn't connecting to my wireless network. I hadn't changed anything related to my network (network SSID or password). I reset my router, just to check if that was an issue. I went back to the simplest WiFi example sketch and I can't get it to connect to my network. I even tried uploading everything to a brand new board with the same outcome. I have gone back to previous known working versions of sketches and still nothing works. I have checked the credentials and they are the same as my computer, which are both attached to my 2.4GHz AP.

I have absolutely no idea what to try next. I imagine the issue could have something to do with my router, but I have no idea where to look.

Any ideas would be better then where I'm at now.

Thanks,
Cory
User avatar
By QuickFix
#79221
corynardin wrote:I have checked the credentials

I'm sure you've checked it, but the general thing to check is that the SSID doesn't contain spaces (and, IIRC, user and pass as well).
If everything still fails: wipe the Flash/EEPROM using ESPTool; there are probably still some things left in memory that f*ck things up.

I believe the command-line would be:
Code: Select allesptool.py --port COMxx erase_flash
Where "COMxx" is the actual COM-port you use (for instance "COM3"). :idea: