m5stack / M5Cloud

Micropython Web IDE beta version
http://io.m5stack.com/
145 stars 35 forks source link

Wifi doesnt connect after IDE flash #16

Open simmonsdjcal opened 6 years ago

simmonsdjcal commented 6 years ago

Hi just getting started .. I was able to down load the firmware into my M5STACK and connect to my e WIFI - I was then able to register the device and then sync the demo IDE files. However even though the WIFI password appeared in the config.json file and I could see it loading on the M5STACK display, the WIFI couldn't connect. I tried this several times and with several versions of the firmware. What am I doing wrong? Is there an error in this config.json statement? {"wifi": {"ssid": "myssid", "password": "mywifipassword"}}

By the way one more small typo: When the Check Code acknowledgment text comes up on the M5STACK it reads: "You device is registered" not "Your device is registered"

Thanks for any help. Dave S

0x1abin commented 6 years ago

Hi, you can try os.remove('config.json') or 'esptool.py --chip esp32 --port /dev/tty.SLAB_USBtoUART erase_flash' , and reconfiguration the WiFi again.

Thanks you feedback.

simmonsdjcal commented 6 years ago

Thanks for the response! I did get it running after a few tries. For some reason my M5STACK would boot aprox every other time I performed a reset. But I can live with that till I get some more experience with it. Great stuff!

-ds

Dave Simmons dsimmons.mail@gmail.com M: 978-325-0032

On Mar 13, 2018, at 11:45 PM, Bin notifications@github.com wrote:

Hi, you can try os.remove('config.json') or 'esptool.py --chip esp32 --port /dev/tty.SLAB_USBtoUART erase_flash' , and reconfiguration the WiFi again.

Thanks you feedback.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/m5stack/M5Cloud/issues/16#issuecomment-372895566, or mute the thread https://github.com/notifications/unsubscribe-auth/ADc-k41ofy_2psP2Se5sPPcGqQvzDLfcks5teJJpgaJpZM4SoElM.

AvDijke commented 6 years ago

I think I have the same problem. After starting up the unit is connected to the AP. When trying to get data with curl there is a error "beacon timeout" and "no AP found". It's also in the BTC example. In version 0.3.6 this works without any problems but in version 0.3.7 and 0.3.8 it is not possible to use curl. Sometimes after some minutes it's starting to work.