You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
3.[`ESP32 Core 1.0.4+`](https://github.com/espressif/arduino-esp32) for ESP32-based boards. [](https://github.com/espressif/arduino-esp32/releases/latest/)
150
167
4.[`ESP32S2 Core 1.0.4+`](https://github.com/espressif/arduino-esp32/tree/esp32s2) for ESP32S2-based boards.
151
168
5.[`ESP_DoubleResetDetector v1.1.1+`](https://github.com/khoih-prog/ESP_DoubleResetDetector) if using DRD feature. To install, check [](https://www.ardu-badge.com/ESP_DoubleResetDetector).
152
169
6.[`ESP_MultiResetDetector v1.1.1+`](https://github.com/khoih-prog/ESP_MultiResetDetector) if using MRD feature. To install, check [](https://www.ardu-badge.com/ESP_MultiResetDetector).
153
-
7.[`LittleFS_esp32 v1.0.5+`](https://github.com/lorol/LITTLEFS) for ESP32-based (including ESP32-S2) boards using LittleFS.
170
+
7.[`LittleFS_esp32 v1.0.5+`](https://github.com/lorol/LITTLEFS) for ESP32-based boards using LittleFS. To install, check [](https://www.ardu-badge.com/LittleFS_esp32).
154
171
155
172
---
156
173
@@ -364,10 +381,13 @@ Look in file [**adc_common.c**](https://github.com/espressif/esp-idf/blob/master
364
381
- In the operation, if the current WiFi connection is lost because of any reason, the system will **auto(Re)connect** to the remaining WiFi AP.
365
382
-**If system can't connect to any of the 2 WiFi APs, the Config Portal will start**, after some pre-determined time, to permit user to update the Credentials.
366
383
384
+
---
367
385
---
368
386
369
387
### How to use
370
388
389
+
#### 1. Basic usage
390
+
371
391
- Include in your sketch
372
392
373
393
```cpp
@@ -377,6 +397,8 @@ Look in file [**adc_common.c**](https://github.com/espressif/esp-idf/blob/master
While in AP mode, connect to it using its `SSID` (WIFI_GENERIC_XXXXXX) / `Password` ("MyWIFI_GENERIC_XXXXXX"), then open a browser to the Portal AP IP, default `192.168.4.1`, configure wifi then click **Save**. The Credentials / WiFi connection information will be saved in non-volatile memory. It will then autoconnect.
While in AP mode, connect to it using its `SSID` (ESP_ABCDEF) / `Password` ("MyESP_ABCDEF"), then open a browser to the Portal AP IP, default `192.168.4.1`, configure wifi then click **Save**. The Credentials / WiFi connection information will be saved in non-volatile memory. It will then autoconnect.
482
545
483
546
484
547
Once Credentials / WiFi network information is saved in the host non-volatile memory, it will try to autoconnect to WiFi every time it is started, without requiring any function calls in the sketch.
@@ -496,7 +559,7 @@ Once Credentials / WiFi network information is saved in the host non-volatile me
496
559
497
560
## So, how it works?
498
561
499
-
In `Configuration Portal Mode`, it starts an AP called `ESP_WXXXXXX`. Connect to it using the `configurable password` you can define in the code. For example, `MyESP_WXXXXXX` (see examples):
562
+
In `Configuration Portal Mode`, it starts an AP called `ESP_ABCDEF`. Connect to it using the `configurable password` you can define in the code. For example, `MyESP_ABCDEF` (see examples):
500
563
501
564
After you connected, please, go to http://192.168.4.1 or newly configured AP IP, you'll see this `Main` page:
502
565
@@ -650,7 +713,7 @@ Example of [Default dynamicParams](examples/ESP_WiFi/dynamicParams.h)
@@ -1112,7 +1200,7 @@ This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) examp
1112
1200
1113
1201
```
1114
1202
Starting ESP_WiFi using LittleFS on ESP32_DEV
1115
-
ESP_WiFiManager_Lite v1.1.0
1203
+
ESP_WiFiManager_Lite v1.2.0
1116
1204
ESP_MultiResetDetector v1.1.1
1117
1205
LittleFS Flag read = 0xFFFC0003
1118
1206
multiResetDetectorFlag = 0xFFFC0003
@@ -1183,7 +1271,7 @@ FFFFFFFFF
1183
1271
1184
1272
```
1185
1273
Starting ESP_WiFi using LittleFS on ESP32_DEV
1186
-
ESP_WiFiManager_Lite v1.1.0
1274
+
ESP_WiFiManager_Lite v1.2.0
1187
1275
ESP_MultiResetDetector v1.1.1
1188
1276
LittleFS Flag read = 0xFFFE0001
1189
1277
multiResetDetectorFlag = 0xFFFE0001
@@ -1255,7 +1343,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
1255
1343
1256
1344
```
1257
1345
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1258
-
ESP_WiFiManager_Lite v1.1.0
1346
+
ESP_WiFiManager_Lite v1.2.0
1259
1347
ESP_MultiResetDetector v1.1.1
1260
1348
LittleFS Flag read = 0xFFFE0001
1261
1349
multiResetDetectorFlag = 0xFFFE0001
@@ -1330,7 +1418,7 @@ NNN
1330
1418
1331
1419
1332
1420
Starting ESP_WiFi_MQTT using LittleFS on ESP8266_NODEMCU
1333
-
ESP_WiFiManager_Lite v1.1.0
1421
+
ESP_WiFiManager_Lite v1.2.0
1334
1422
ESP_MultiResetDetector v1.1.1
1335
1423
LittleFS Flag read = 0xFFFE0001
1336
1424
multiResetDetectorFlag = 0xFFFE0001
@@ -1423,7 +1511,7 @@ This is the terminal output when running [**ESP_WiFi_MQTT**](examples/ESP_WiFi_M
1423
1511
1424
1512
```
1425
1513
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1426
-
ESP_WiFiManager_Lite v1.1.0
1514
+
ESP_WiFiManager_Lite v1.2.0
1427
1515
ESP_MultiResetDetector v1.1.1
1428
1516
LittleFS Flag read = 0xFFFE0001
1429
1517
multiResetDetectorFlag = 0xFFFE0001
@@ -1536,7 +1624,7 @@ entry 0x4004c190
1536
1624
1537
1625
1538
1626
Starting ESP_WiFi_MQTT using LittleFS on ESP32S2_DEV
1539
-
ESP_WiFiManager_Lite v1.1.0
1627
+
ESP_WiFiManager_Lite v1.2.0
1540
1628
ESP_MultiResetDetector v1.1.1
1541
1629
LittleFS Flag read = 0xFFFE0001
1542
1630
multiResetDetectorFlag = 0xFFFE0001
@@ -1661,6 +1749,12 @@ If you get compilation errors, more often than not, you may need to install a ne
1661
1749
1662
1750
## Releases
1663
1751
1752
+
### Release v1.2.0
1753
+
1754
+
1. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header.
1755
+
2. Fix Config Portal Bug.
1756
+
3. Update examples
1757
+
1664
1758
### Release v1.1.0
1665
1759
1666
1760
1. Add support to **ESP32-S2 (ESP32-S2 Saola and AI-Thinker ESP-12K)**
@@ -1696,7 +1790,7 @@ Submit issues to: [ESP_WiFiManager_Lite issues](https://github.com/khoih-prog/ES
1696
1790
6. Change Synch XMLHttpRequest to Async
1697
1791
7. Add configurable Static IP, GW, Subnet Mask and 2 DNS Servers' IP Addresses.
1698
1792
8. Add checksums
1699
-
9. Add support to **ESP32 and ESP8266**
1793
+
9. Add support to **ESP32 including ESP32-S2 (ESP32-S2 Saola, AI-Thinker ESP-12K, etc.) and ESP8266**
1700
1794
10. Add MultiWiFi features with auto(re)connect
1701
1795
11. Easy-to-use **Dynamic Parameters** without the necessity to write complicated ArduinoJSon functions
1702
1796
12. Permit to input special chars such as **%** and **#** into data fields.
@@ -1705,7 +1799,7 @@ Submit issues to: [ESP_WiFiManager_Lite issues](https://github.com/khoih-prog/ES
1705
1799
15. Configurable Config Portal Title
1706
1800
16. Re-structure all examples to separate Credentials / Defines / Dynamic Params / Code so that you can change Credentials / Dynamic Params quickly for each device.
1707
1801
17. Add Table of Contents and Version String
1708
-
1802
+
18. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header
0 commit comments