Page 1 of 1

WebService Micropython

Posted: Wed Mar 20, 2019 10:22 pm
by andrequeiroz
Hi gentlemen. I'm developing an application in micropython, and through a web-service embedded in esp2866, I send my ssid and wifi password. But I have to connect on the acsses point instantiated by esp8266.
Looking at Chrome Cast it can do this through an application, not needing to be on the same network.
Someone knows how this is possible? Any tips on how to do this in micropython?

https://www.youtube.com/watch?v=w-cvzdYVWis

Re: WebService Micropython

Posted: Thu Mar 21, 2019 10:36 am
by ThomasChr
It's called SmartConfig. ESP8266 is capable of doing that.

In a nutshell: The ESP sniffs special crafted WiFi Packets and can so read a password from them without beeing connected to any WiFi Network. For example: The length of a (coded) WiFi Packet could encode the Password for the WiFi.
Details: https://electronics.stackexchange.com/q ... onfig-work

Re: WebService Micropython

Posted: Thu Mar 21, 2019 7:09 pm
by andrequeiroz
Thanks for the answer, that's really what I need. But I'm not finding examples in python.
Would you have an example to follow?