--script3.lua wifi.setmode(wifi.STATION) print('set mode=STATION (mode='..wifi.getmode()..')') print('MAC: ',wifi.sta.getmac()) -- wifi config start, change AP and pass to your wifi.sta.config("ИМЯ ВАЙФАЙ","ПАРОЛ") -- wifi config end' FileToExecute="rrr.lua" --for k,v in pairs(l) do --if k == FileToExecute then print("*** You've got 10 sec to stop timer 0 ***") tmr.alarm(0, 10000, 0, function() print("Executing ".. FileToExecute) dofile(FileToExecute) --if wifi.sta.getip() == nil then print(wifi.sta.getip()) end) -- end --end