Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 52021e9

Browse files
authored
v1.12.0 to optionally display Credentials
### Releases v1.12.0 1. Optionally display Credentials (SSIDs, PWDs) in Config Portal. Check [Populate portal wifi with saved credentials #91](#91) 2. Display `Credentials` Hint on Config Portal 3. Periodic code clean-up
1 parent fca2fcd commit 52021e9

File tree

1 file changed

+50
-52
lines changed

1 file changed

+50
-52
lines changed

README.md

+50-52
Original file line numberDiff line numberDiff line change
@@ -2194,7 +2194,7 @@ ESP_wifiManager.setRemoveDuplicateAPs(false);
21942194

21952195
### Example [ConfigOnDRD_FS_MQTT_Ptr](examples/ConfigOnDRD_FS_MQTT_Ptr)
21962196

2197-
https://github.com/khoih-prog/ESP_WiFiManager/blob/a73dbe26dba2491b40b38100f29ceb12fbaa98a9/examples/ConfigOnDRD_FS_MQTT_Ptr/ConfigOnDRD_FS_MQTT_Ptr.ino#L17-L1410
2197+
https://github.com/khoih-prog/ESP_WiFiManager/blob/fca2fcd8e98b8361b101d0d76c26ecf1e2a2c88d/examples/ConfigOnDRD_FS_MQTT_Ptr/ConfigOnDRD_FS_MQTT_Ptr.ino#L17-L1422
21982198

21992199

22002200
---
@@ -2206,7 +2206,7 @@ https://github.com/khoih-prog/ESP_WiFiManager/blob/a73dbe26dba2491b40b38100f29ce
22062206

22072207
This is terminal debug output when running [ConfigOnSwitchFS_MQTT_Ptr](examples/ConfigOnSwitchFS_MQTT_Ptr) on **ESP8266_NODEMCU_ESP12E**. Config Portal was requested to input and save `MQTT Credentials`. The boards then connected to `Adafruit MQTT Server` successfully
22082208

2209-
```cpp
2209+
```
22102210
Starting ConfigOnSwichFS_MQTT_Ptr using LittleFS on ESP8266_NODEMCU_ESP12E
22112211
ESP_WiFiManager v1.12.0
22122212
Configuration file not found
@@ -2319,7 +2319,7 @@ TWWWW WTWWWW WWTWWW WWWTWW WWWWTW
23192319

23202320
This is terminal debug output when running [ESP32_FSWebServer_DRD](examples/ESP32_FSWebServer_DRD) on **ESP32 ESP32_DEV using SPIFFS.**. `Config Portal` was requested by `DRD` to input and save Credentials. The boards then connected to WiFi AP **HueNet1** using new Static IP successfully. WiFi AP **HueNet1** is then lost, and board **autoreconnects** itself to backup WiFi AP **HueNet2**.
23212321

2322-
```cpp
2322+
```
23232323
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using SPIFFS on ESP32_DEV
23242324
ESP_WiFiManager v1.12.0
23252325
ESP_DoubleResetDetector v1.3.2
@@ -2384,7 +2384,7 @@ HHHHHHHHHH HHHHHHHHHH HHHHHHHHHH HHHHHHHHHH
23842384

23852385
This is terminal debug output when running [ESP32_FSWebServer_DRD](examples/ESP32_FSWebServer_DRD) on **ESP32 ESP32_DEV using newly-supported LittleFS.**. `Config Portal` was requested by `DRD` to input and save Credentials. The boards then connected to WiFi AP **HueNet1** using new Static IP successfully.
23862386

2387-
```cpp
2387+
```
23882388
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using LittleFS on ESP32_DEV
23892389
ESP_WiFiManager v1.12.0
23902390
ESP_DoubleResetDetector v1.3.2
@@ -2443,7 +2443,7 @@ This is terminal debug output when running [ConfigOnDRD_FS_MQTT_Ptr_Complex](exa
24432443

24442444
##### 4.1 With Config Data => Run normally
24452445

2446-
```cpp
2446+
```
24472447
Starting ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP32_DEV
24482448
ESP_WiFiManager v1.12.0
24492449
ESP_DoubleResetDetector v1.3.2
@@ -2486,7 +2486,7 @@ WWWW WTWWWW WWTWWW WWWTWW WWWWTW WWWWW
24862486

24872487
#### 4.2 DRD => Config Portal
24882488

2489-
```cpp
2489+
```
24902490
Starting ConfigOnDRD_FS_MQTT_Ptr_Complex using LittleFS on ESP32_DEV
24912491
ESP_WiFiManager v1.12.0
24922492
ESP_DoubleResetDetector v1.3.2
@@ -2521,7 +2521,7 @@ Opening Configuration Portal. No timeout : DRD or No stored Credentials..
25212521

25222522
#### 4.3 Config Portal Done
25232523

2524-
```cpp
2524+
```
25252525
[WM] Connecting to new AP
25262526
[WM] Previous settings invalidated
25272527
[WM] Custom STA IP/GW/Subnet
@@ -2571,7 +2571,7 @@ This is terminal debug output when running [ConfigOnDRD_FS_MQTT_Ptr_Complex](exa
25712571

25722572
##### 5.1 With Config Data => Run normally
25732573

2574-
```cpp
2574+
```
25752575
Starting ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP8266_NODEMCU_ESP12E
25762576
ESP_WiFiManager v1.12.0
25772577
ESP_DoubleResetDetector v1.3.2
@@ -2611,7 +2611,7 @@ TWWWW WTWWWW WWTWWW WWWTWW WWWWTW WWWWW
26112611

26122612
#### 5.2 DRD => Config Portal
26132613

2614-
```cpp
2614+
```
26152615
Starting ConfigOnDRD_FS_MQTT_Ptr_Medium using LittleFS on ESP8266_NODEMCU_ESP12E
26162616
ESP_WiFiManager v1.12.0
26172617
ESP_DoubleResetDetector v1.3.2
@@ -2646,7 +2646,7 @@ Opening Configuration Portal. No timeout : DRD or No stored Credentials..
26462646

26472647
#### 5.3 Config Portal Done
26482648

2649-
```cpp
2649+
```
26502650
[WM] Connecting to new AP
26512651
[WM] Already connected. Bailing out.
26522652
Connected...yeey :)
@@ -2688,7 +2688,7 @@ TWWWW WTWWWW WWTWWW WWWTWW WWWWTW WWWWW
26882688
This is terminal debug output when running [ConfigOnDoubleReset](examples/ConfigOnDoubleReset) on **ESP32S2_DEV**.
26892689

26902690

2691-
```cpp
2691+
```
26922692
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S2_DEV
26932693
ESP_WiFiManager v1.12.0
26942694
ESP_DoubleResetDetector v1.3.2
@@ -2738,7 +2738,7 @@ This is terminal debug output when running [ConfigOnDoubleReset](examples/Config
27382738

27392739
#### 7.1 DRD => Config Portal
27402740

2741-
```cpp
2741+
```
27422742
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32_DEV
27432743
ESP_WiFiManager v1.12.0
27442744
ESP_DoubleResetDetector v1.3.2
@@ -2764,7 +2764,7 @@ Starting configuration portal @ 192.168.4.1:80, SSID = ESP_85288, PWD = MyESP_85
27642764

27652765
#### 7.2 Data Saved => Connect to WiFi with correct local time, TZ set and using NTP
27662766

2767-
```cpp
2767+
```
27682768
[WM] WiFi.waitForConnectResult Done
27692769
[WM] SET AP
27702770
[WM] Configuring AP SSID = ESP_85288
@@ -2840,15 +2840,15 @@ WiFi connected...yeey :)
28402840
[WM] OK
28412841
After waiting 0.00 secs more in setup(), connection result is connected. Local IP: 192.168.2.45
28422842
[WM] freeing allocated params!
2843-
Local Date/Time: Thu May 6 21:26:18 2021
2844-
Local Date/Time: Thu May 6 21:27:18 2021
2845-
Local Date/Time: Thu May 6 21:28:18 2021
2846-
Local Date/Time: Thu May 6 21:29:18 2021
2843+
Local Date/Time: Fri Oct 7 15:53:07 2022
2844+
Local Date/Time: Fri Oct 7 15:54:03 2022
2845+
Local Date/Time: Fri Oct 7 15:55:03 2022
2846+
Local Date/Time: Fri Oct 7 15:56:03 2022
28472847
```
28482848

28492849
#### 7.3 Normal running with correct local time, TZ set and using NTP
28502850

2851-
```cpp
2851+
```
28522852
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32_DEV
28532853
ESP_WiFiManager v1.12.0
28542854
ESP_DoubleResetDetector v1.3.2
@@ -2885,9 +2885,11 @@ After waiting 18.87 secs more in setup(), connection result is connected. Local
28852885
Stop doubleResetDetecting
28862886
Saving config file...
28872887
Saving config file OK
2888-
Local Date/Time: Thu May 6 21:31:18 2021
2889-
Local Date/Time: Thu May 6 21:32:18 2021
2890-
Local Date/Time: Thu May 6 21:33:18 2021
2888+
Local Date/Time: Fri Oct 7 15:57:03 2022
2889+
Local Date/Time: Fri Oct 7 15:58:03 2022
2890+
Local Date/Time: Fri Oct 7 15:59:03 2022
2891+
Local Date/Time: Fri Oct 7 16:00:03 2022
2892+
Local Date/Time: Fri Oct 7 16:01:03 2022
28912893
```
28922894

28932895
---
@@ -2899,7 +2901,7 @@ This is terminal debug output when running [ConfigOnDoubleReset](examples/Config
28992901

29002902
#### 8.1 No Data => Config Portal
29012903

2902-
```cpp
2904+
```
29032905
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S2_DEV
29042906
ESP_WiFiManager v1.12.0
29052907
ESP_DoubleResetDetector v1.3.2
@@ -2921,7 +2923,7 @@ Starting configuration portal @ 192.168.4.1:80, SSID = ESP_8A1DF7C, PWD = MyESP_
29212923

29222924
#### 8.2 Data Saved => Connect to WiFi with correct local time, TZ set and using NTP
29232925

2924-
```cpp
2926+
```
29252927
[WM] WiFi.waitForConnectResult Done
29262928
[WM] SET AP
29272929
[WM] Configuring AP SSID = ESP_8A1DF7C
@@ -3045,7 +3047,7 @@ Local Date/Time: Thu May 6 21:29:18 2021
30453047

30463048
#### 8.3 Normal running with correct local time, TZ set and using NTP
30473049

3048-
```cpp
3050+
```
30493051
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S2_DEV
30503052
ESP_WiFiManager v1.12.0
30513053
ESP_DoubleResetDetector v1.3.2
@@ -3083,13 +3085,12 @@ Local Date/Time: Wed Dec 31 19:00:13 1969
30833085
Stop doubleResetDetecting
30843086
Saving config file...
30853087
Saving config file OK
3086-
Local Date/Time: Thu May 6 21:47:41 2021
3087-
Local Date/Time: Thu May 6 21:47:51 2021
3088-
Local Date/Time: Thu May 6 21:48:01 2021
3089-
Local Date/Time: Thu May 6 21:48:11 2021
3090-
Local Date/Time: Thu May 6 21:48:21 2021
3091-
Local Date/Time: Thu May 6 21:48:31 2021
3092-
Local Date/Time: Thu May 6 21:48:41 2021
3088+
Local Date/Time: Fri Oct 7 16:03:03 2022
3089+
Local Date/Time: Fri Oct 7 16:04:03 2022
3090+
Local Date/Time: Fri Oct 7 16:05:03 2022
3091+
Local Date/Time: Fri Oct 7 16:06:03 2022
3092+
Local Date/Time: Fri Oct 7 16:07:03 2022
3093+
Local Date/Time: Fri Oct 7 16:08:03 2022
30933094
```
30943095

30953096
---
@@ -3098,7 +3099,7 @@ Local Date/Time: Thu May 6 21:48:41 2021
30983099

30993100
This is terminal debug output when running [ESP32_FSWebServer_DRD](examples/ESP32_FSWebServer_DRD) on **ESP32C3_DEV using SPIFFS and ESP32 core v2.0.0-rc1.**. `Config Portal` was requested by `DRD` to input and save Credentials. The boards then connected to WiFi AP **HueNet** using new Static IP successfully.
31003101

3101-
```cpp
3102+
```
31023103
Starting ESP32_FSWebServer_DRD with DoubleResetDetect using SPIFFS on ESP32C3_DEV
31033104
ESP_WiFiManager v1.12.0
31043105
ESP_DoubleResetDetector v1.3.2
@@ -3159,8 +3160,10 @@ handleFileRead: /index.htm
31593160
handleFileList: /
31603161
handleFileList: [{"type":"file","name":"wm_cp.dat"},{"type":"file","name":"wm_cp.bak"},{"type":"file","name":"wmssl_conf.dat"},{"type":"file","name":"wmssl_conf.bak"},{"type":"file","name":"wmssl_cred.dat"},{"type":"file","name":"wmssl_cred.bak"},{"type":"file","name":"mrd.dat"},{"type":"file","name":"wifi_cred.dat"},{"type":"file","name":"CanadaFlag_1.png"},{"type":"file","name":"CanadaFlag_2.png"},{"type":"file","name":"CanadaFlag_3.jpg"},{"type":"file","name":"edit.htm.gz"},{"type":"file","name":"favicon.ico"},{"type":"file","name":"graphs.js.gz"},{"type":"file","name":"index.htm"},{"type":"file","name":"drd.dat"}]
31613162
handleFileRead: /CanadaFlag_1.png
3162-
Local Date/Time: Thu Jul 29 23:22:53 2021
3163-
Local Date/Time: Thu Jul 29 23:23:53 2021
3163+
Local Date/Time: Fri Oct 7 16:12:03 2022
3164+
Local Date/Time: Fri Oct 7 16:13:03 2022
3165+
Local Date/Time: Fri Oct 7 16:14:03 2022
3166+
Local Date/Time: Fri Oct 7 16:15:03 2022
31643167
```
31653168

31663169
---
@@ -3170,7 +3173,7 @@ Local Date/Time: Thu Jul 29 23:23:53 2021
31703173
This is terminal debug output when running [ConfigOnDoubleReset](examples/ConfigOnDoubleReset) on **ESP32S3_DEV**.
31713174

31723175

3173-
```cpp
3176+
```
31743177
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32S3_DEV
31753178
ESP_WiFiManager v1.12.0
31763179
ESP_DoubleResetDetector v1.3.2
@@ -3207,18 +3210,13 @@ After waiting 7.92 secs more in setup(), connection result is connected. Local I
32073210
Stop doubleResetDetecting
32083211
Saving config file...
32093212
Saving config file OK
3210-
Local Date/Time: Thu Feb 10 23:15:26 2022
3211-
Local Date/Time: Thu Feb 10 23:16:26 2022
3212-
Local Date/Time: Thu Feb 10 23:17:26 2022
3213-
Local Date/Time: Thu Feb 10 23:18:26 2022
3214-
Local Date/Time: Thu Feb 10 23:19:26 2022
3215-
Local Date/Time: Thu Feb 10 23:20:26 2022
3216-
Local Date/Time: Thu Feb 10 23:21:26 2022
3217-
Local Date/Time: Thu Feb 10 23:22:26 2022
3218-
Local Date/Time: Thu Feb 10 23:23:26 2022
3219-
Local Date/Time: Thu Feb 10 23:24:26 2022
3220-
Local Date/Time: Thu Feb 10 23:25:26 2022
3221-
Local Date/Time: Thu Feb 10 23:26:26 2022
3213+
Local Date/Time: Fri Oct 7 16:16:03 2022
3214+
Local Date/Time: Fri Oct 7 16:17:03 2022
3215+
Local Date/Time: Fri Oct 7 16:18:03 2022
3216+
Local Date/Time: Fri Oct 7 16:19:03 2022
3217+
Local Date/Time: Fri Oct 7 16:20:03 2022
3218+
Local Date/Time: Fri Oct 7 16:21:03 2022
3219+
Local Date/Time: Fri Oct 7 16:22:03 2022
32223220
```
32233221

32243222
---
@@ -3228,7 +3226,7 @@ Local Date/Time: Thu Feb 10 23:26:26 2022
32283226
This is terminal debug output when running [ConfigOnDoubleReset](examples/ConfigOnDoubleReset) on **ESP32C3_DEV**.
32293227

32303228

3231-
```cpp
3229+
```
32323230
Starting ConfigOnDoubleReset with DoubleResetDetect using LittleFS on ESP32C3_DEV
32333231
ESP_WiFiManager v1.12.0
32343232
ESP_DoubleResetDetector v1.3.2
@@ -3265,10 +3263,10 @@ After waiting 8.31 secs more in setup(), connection result is connected. Local I
32653263
Stop doubleResetDetecting
32663264
Saving config file...
32673265
Saving config file OK
3268-
Local Date/Time: Fri Feb 11 18:40:46 2022
3269-
Local Date/Time: Fri Feb 11 18:41:46 2022
3270-
Local Date/Time: Fri Feb 11 18:42:46 2022
3271-
Local Date/Time: Fri Feb 11 18:43:46 2022
3266+
Local Date/Time: Fri Oct 7 16:24:03 2022
3267+
Local Date/Time: Fri Oct 7 16:25:03 2022
3268+
Local Date/Time: Fri Oct 7 16:26:03 2022
3269+
Local Date/Time: Fri Oct 7 16:27:03 2022
32723270
```
32733271

32743272
---

0 commit comments

Comments
 (0)