Alex Tudorache d2bd81121d added captive portal
removed mdsn lib
changed dependencies and constructor
2015-09-11 18:51:21 +03:00
2015-09-11 18:51:21 +03:00
2015-06-03 17:46:20 +03:00
2015-08-28 14:51:09 +03:00
2015-09-11 18:51:21 +03:00
2015-09-11 18:51:21 +03:00

WiFiManager

ESP8266 WiFi Connection manager with save to EEPROM and web config portal

First attempt at a library. Lots more changes and fixes to do. Adding examples also needs doing.

This works with the ESP8266 Arduino platform https://github.com/esp8266/Arduino

v0.1 works with the staging release ver. 1.6.5-1044-g170995a, built on Aug 10, 2015 of the ESP8266 Arduino library.

####Quick Start

  • Checkout library to your Arduino libraries folder

  • Include in your sketch

#include <WiFiClient.h>
#include <EEPROM.h>
#include <ESP8266mDNS.h>
#include <WiFiManager.h>
  • Initialise library, the paramater is the Acces Point Name
//parameter is eeprom start
WiFiManager wifi(0);
  • In your setup function add
//parameter is name of access point
wifi.autoConnect("AP-NAME");

After you write your sketch and start the ESP, it will try to connect to WiFi. If it fails it starts in Access Point mode. While in AP mode, connect to it then open a browser to the gateway IP, default 192.168.4.1, configure wifi, save and it should reboot and connect.

####Inspiration

To be continued...

S
Description
No description provided
Readme MIT
4.2 MiB
Languages
C++ 74.3%
Shell 15.3%
C 4.7%
JavaScript 3.6%
Python 2%
Other 0.1%