WebService Micropython

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
User avatar
andrequeiroz
Posts: 8
Joined: Tue Dec 04, 2018 11:07 pm
Location: Foz do Iguacu - Brasil
Contact:

WebService Micropython

Post by andrequeiroz » Wed Mar 20, 2019 10:22 pm

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

ThomasChr
Posts: 120
Joined: Sat Nov 25, 2017 7:50 am

Re: WebService Micropython

Post by ThomasChr » Thu Mar 21, 2019 10:36 am

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

User avatar
andrequeiroz
Posts: 8
Joined: Tue Dec 04, 2018 11:07 pm
Location: Foz do Iguacu - Brasil
Contact:

Re: WebService Micropython

Post by andrequeiroz » Thu Mar 21, 2019 7:09 pm

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?

Post Reply