WiFi-remote-for-Bestway-Lay-Z-SPA icon indicating copy to clipboard operation
WiFi-remote-for-Bestway-Lay-Z-SPA copied to clipboard

Can't connect to D1 Mini v3 WiFi after installing firmware & filesystem image

Open redfusion83 opened this issue 1 year ago • 12 comments

Hardware (please complete the following information):

  • S100101
  • 6 wires
  • PCB type: None
  • Level shifter type: None
  • Board: D1 Mini v3

Software (please complete the following information):

  • 4.4.5

I followed the instructions, compiled and uploaded the firmware and filesystem image. After rebooting I can see the wifi network I need to connect to. However, all attempts to do so have failed (tried with Android and iPhone). Now, I've had problems with faulty chips in the past, so maybe this is the same problem. However, maybe there is something I can do to diagnose the cause and get it working?

redfusion83 avatar Jul 30 '24 11:07 redfusion83

Did you go to http://192.168.4.2?

visualapproach avatar Jul 30 '24 14:07 visualapproach

Did you go to http://192.168.4.2?

Not possible, since I cannot connect to the access point ("Connection failed").

redfusion83 avatar Jul 31 '24 05:07 redfusion83

Did you go to http://192.168.4.2?

Not possible, since I cannot connect to the access point ("Connection failed").

Did you enter the AP password that's in the manual when connecting and make sure it was spelled correctly? I'd try deleting aka forgetting the AP and reconnecting. Then make sure you are connecting to the AP using only http and not https

n3xus1 avatar Aug 08 '24 12:08 n3xus1

Yep, password is correct (otherwise the connection is rejected and there is a message that authentification has failed). The connections to the AP is very unstable, it connects and disconnects all the time, making it impossible to open the configuration page in the browser. I tried it on different chips (d1 mini v2, d1 mini v3, nodemcu 1.0) and with different phones (Android & iPhone), so it seems unlikely that there is something wrong with the hardware. Still strange that it seems like I'm the only one with this problem...

However, I was able to configure the esp by using a laptop. The connection was still kind of weak, but strong enough to set everything up.

redfusion83 avatar Aug 10 '24 18:08 redfusion83

getting the same issue with the d1 mini pro. finds the AP but the password from the manual just doesn't work, tried copying and pasting it from the manual and from the source code and it just doesn't connect. I have the d1 mini and it works fine, although the wifi range on the mini is crap hence going with the pro and external aerial.

Feno2000 avatar Aug 18 '24 14:08 Feno2000

I'd try connecting to the D1 using no wires connected or soldered to the board and power it via USB near your AP. If you have more than one AP make sure to connect to it and use it near the one that it will always use. There is issues with roaming between multiply AP with the same SSID, currently the software doesn't look for the strongest signal then connect it always connects to the same AP and channel

n3xus1 avatar Aug 20 '24 01:08 n3xus1

It works on the d1_mini board. Cannot try the PRO since I don't have it. Does it work if you change the board to d1_mini_pro?

visualapproach avatar Aug 20 '24 19:08 visualapproach

Try the latest dev branch! Turns out that in some cases the ESP tries to reconnect all the time and by doing so it switches wifi channels and since the AP uses the same antenna it will behave badly. So I modified the code to only try to reconnect to station every minute. This made the AP much more stable. It will take up to 2 minutes though to reconnect to station after you've set the credentials.

visualapproach avatar Aug 22 '24 10:08 visualapproach

amazing. ive ordered some more d1 mini boards. as the pro one ive been working on just wont flash now. not sure how ive bricked it, but trying to reflash and get it sorted i must have killed the board. but what you are saying seems to match what i was seeing with the AP, it was there and then just kept vanishing after authentication and then having to start again. hopefully when the new boards come it should resolve. thanks for taking the time to respond.

Feno2000 avatar Aug 22 '24 13:08 Feno2000

@Feno2000 If your 'bricked' minis have ch340 usb chip, and you are using windows, the windows drivers doesn't work. Google 'ch340 driver' and download from 'wemos.cc' and install.

visualapproach avatar Aug 22 '24 13:08 visualapproach

i do have that one, the device goes to "Windows has stopped this device because it has reported problems. (Code 43)". ive bought a usb to ttl bypass and even that doesn't help, cant get tot he board to reflash. i just cant get to a point where the device shows on the com ports. it did originally obviously as i did get it flashed but has since been downhill. i think its best to start with a fresh board and see how i get on as i cant confirm any solid findings now.

Feno2000 avatar Aug 22 '24 14:08 Feno2000

Stale issue message

github-actions[bot] avatar Oct 22 '24 02:10 github-actions[bot]