blynk-esp icon indicating copy to clipboard operation
blynk-esp copied to clipboard

error while uploding and the BLYNK app shows device offline

Open pricne opened this issue 8 years ago • 0 comments

Hii I have an nodemcu that has ESP12N on board i have connected that to my wifi using wifi.sta.config("myssid","mypassword") on ESPLORER and that works fine and i get my ip using wifi.sta.getip(). Then i uploaded a blink led program for pin D0 and that works fine. next i thought of doing the same using my phone for which i used your library and did the appropriate changes saved it uploaded the init.lua to my nodemcu to which i got a reply 'already connected ' but the Blynk shows 'device is offline'. BELOW ARE THE LAST 4 LINES ON THE TERMINAL:

file.close(); dofile("init.lua"); Starting blynk example cannot open blynk.lua

I don't have any experience working the lua. If possible can u list down a procedure to get it working. Thanks for the library

pricne avatar Sep 24 '17 21:09 pricne