-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WPS (WiFi Protected Setup) via push button switch and LED example #2628
Comments
Looks promising. Going to combine it with a pir sensor (hc-sr501) on GPIO0. My first calculations suggest that this should work without any extra components: PIR has 1k resistance in series with output, ESP8266 can drive 12 mA. |
@rudi48 thank you for this sketch, it seems there is still no example in the repo. |
@devyte It is my pleasure that you like it. Unfortunately at the moment I have to do other things. You are invited to do that. |
@rudi48 I can't test it, no WPS. Also, right now I'm focusing on a major cleanup effort of all open issues. |
Another example to test, from #1958 .
|
a doubt If I can help, I will be very pleased. |
@ diegoss3337 |
holy shit this is cool |
I did'nt get this to work with core 2.5. On 2.4.1 it works without problems. Does anybody else have problems with wps on 2.5? |
Basic Infos
Hardware
Hardware: ESP-01
Core Version: ?2.1.0-rc2?
Description
I did not found any working example for WPS (WiFi Protected Setup) via push button switch.
So I put some pieces together, with the example WiFiTelnetToSerial.
The software is hosted at WiFiTelnetToSerialWPS
Usage
If you power up the ESP8266 module, and the red LED (WPS indicator) lits (ON), it signals, that the WiFi module has lost the connection to the known Access Point, or the credentials of the Access Point had changed.
In case of changed credentials, it is possible to connect to the Access Point via WPS. The procedure is:
If the connect was successful, the LED goes OFF.
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 512K
CPU Frequency: 80Mhz
Flash Mode: DIO
Flash Frequency: 40Mhz
Upload Using: SERIAL
Reset Method: ck
Sketch
The text was updated successfully, but these errors were encountered: