Current Lua downloadable firmware will be posted here

User avatar
By kriegste
#19869 I compiled Nodemcu myself and now i'm trying these commands to connect to my router:

wifi.setmode(wifi.STATION)

wifi.sta.config("myssid","mypassword")
(ssid and password are entered correctly, I checked this multiple times!)

wifi.sta.connect()

The problem is, I do not get a connection.

print(wifi.sta.getip())
(this gives "nil", even after several minutes)

print(wifi.sta.status())
(this first returns 1, and after a few minutes, 4)

I had luck connecting with the standard AT firmware a few days ago, but I am forced to compile Nodemcu myself since I need 115200 baud.
User avatar
By jairos2015
#19937 Good . ESP8266 leave on a moment (about one hour) and enter the router configuration page ESP8266 saw the one assigned at running only instructions nodejs connection to the server and it worked. Now he will have to work using a delay for assigning IP by the router.