Skip to content

Can't connect to WiFi #12178

Answered by davefes
Apricot63 asked this question in ESP8266
Aug 6, 2023 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

I'd remove the first:

sta.connect("banana", "vExolpDFG")

then I'd copy the example in:
https://docs.micropython.org/en/latest/esp8266/quickref.html

A useful function for connecting to your local WiFi network is:

Sometimes it is best to start with a:

sta.active(False)

For a bullet-proof WiFi connect look at:
https://github.com/glenn20/micropython-espnow-utils/blob/main/src/wifi.py

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Apricot63
Comment options

Answer selected by Apricot63
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants