Hello!
I am unable to connect reliably to the ESP8266 (the ESP8266 is acting as WIFI access point). The desktop computer claims that the password is incorrect, but I'm using the default micropythoN one. Very intermittently, I seem to be able to connect, but I cannot make much sense out of when it works and when not. On the console I see:
WebREPL daemon started on ws://192.168.4.1:8266
Started webrepl in normal mode
OSError: [Errno 2] ENOENT
MicroPython v1.9.4-410-g11a38d5dc on 2018-07-27; ESP module with ESP8266
Type "help()" for more information.
>>> add 1
aid 1
station: 54:e4:3a:f0:e8:b9 join, AID = 1
station: 54:e4:3a:f0:e8:b9 leave, AID = 1
rm 1
max connection!
add 1
aid 1
station: f4:0f:24:21:81:39 join, AID = 1
station: f4:0f:24:21:81:39 leave, AID = 1
rm 1
I'm using the latest nightly build (older releases show the same issue). I've tried connecting from different computers (all MacOS). Any hint on what might be going on would be appreciated!
Hanno
Unable to connect to ESP8266 via WIFI
-
- Posts: 28
- Joined: Wed Mar 30, 2016 4:09 pm
Re: Unable to connect to ESP8266 via WIFI
Hello,
that is really weird, I have used the AP for one of my projects (https://github.com/yeyeto2788/MicroPyth ... MicroBoard) and I have discovered an error that is being discussed in Github (https://github.com/micropython/micropython/issues/3739).
I have sent several requests within the same AP and my problem is a bit different.
The error you're having might be fixed closing the socket once you have processed all information, here (https://github.com/micropython/micropython/issues/2661) it is discussed the same error you're having but there is also a work around.
Hope it helps.
Regards.
that is really weird, I have used the AP for one of my projects (https://github.com/yeyeto2788/MicroPyth ... MicroBoard) and I have discovered an error that is being discussed in Github (https://github.com/micropython/micropython/issues/3739).
I have sent several requests within the same AP and my problem is a bit different.
The error you're having might be fixed closing the socket once you have processed all information, here (https://github.com/micropython/micropython/issues/2661) it is discussed the same error you're having but there is also a work around.
Hope it helps.
Regards.
Re: Unable to connect to ESP8266 via WIFI
Thanks. In my case this happens using just the vanilla image, i.e. user code, no sockets opened, etc. Maybe the ESP8266s are just a bit too cheap...
Hanno
Hanno
-
- Posts: 847
- Joined: Mon Nov 20, 2017 10:18 am
Re: Unable to connect to ESP8266 via WIFI
It has been a while since I used ESP8266 but back when I was using them I used WIFi access point without a problem. I do remember having a problem on 1 ESP32 board that I used and the problem was not enough capacitance on the power rail of the board and when the ESP tries to transmit it uses a sudden draw of current and can cause a dip on the power rail that seems to reset the wifi then it does it all over again.
Re: Unable to connect to ESP8266 via WIFI
i am using the latest (1.9.4) bin file form my esp8266 nodemcu.
I confirm that the AP mode works fine without any issues. It has been used in more that 13 devices that i have spread around.
I confirm that the AP mode works fine without any issues. It has been used in more that 13 devices that i have spread around.