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.
### Major Release v1.5.0
1. Enable scan of WiFi networks for selection in Configuration Portal. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](khoih-prog/WiFiManager_NINA_Lite#10). Now you can select optional **SCAN_WIFI_NETWORKS**, **MANUAL_SSID_INPUT_ALLOWED** to be able to manually input SSID, not only from a scanned SSID lists and **MAX_SSID_IN_LIST** (from 2-6 for ESP8266-AT or 2-15 for other)
2. Minor enhancement to not display garbage when data is invalid
*[9. To use custom Head Elements](#9-to-use-custom-head-elements)
60
61
*[10. To use CORS Header](#10-to-use-cors-header)
61
62
*[11. To use and input only one set of WiFi SSID and PWD](#11-to-use-and-input-only-one-set-of-wifi-ssid-and-pwd)
63
+
*[11.1 If you need to use and input only one set of WiFi SSID/PWD](#111-if-you-need-to-use-and-input-only-one-set-of-wifi-ssidpwd)
64
+
*[11.2 If you need to use both sets of WiFi SSID/PWD](#112-if-you-need-to-use-both-sets-of-wifi-ssidpwd)
65
+
*[12. To enable auto-scan of WiFi networks for selection in Configuration Portal](#12-to-enable-auto-scan-of-wifi-networks-for-selection-in-configuration-portal)
66
+
*[12.1 Enable auto-scan of WiFi networks for selection in Configuration Portal](#121-enable-auto-scan-of-wifi-networks-for-selection-in-configuration-portal)
*[12.3 Select maximum number of SSIDs in the list](#123-select-maximum-number-of-ssids-in-the-list)
62
69
*[Examples](#examples)
63
70
*[ 1. ESP_WiFi](examples/ESP_WiFi)
64
71
*[ 2. ESP_WiFi_MQTT](examples/ESP_WiFi_MQTT)
@@ -90,7 +97,10 @@
90
97
*[3.3 Lost a WiFi and autoconnect to another WiFi AP](#33-lost-a-wifi-and-autoconnect-to-another-wifi-ap)
91
98
*[4. ESP_WiFi_MQTT on ESP32S2_DEV to demo MultiResetDetector](#4-esp_wifi_mqtt-on-esp32s2_dev-to-demo-multiresetdetector)
92
99
*[4.1 MultiResetDetected => Open Config Portal](#41-multiresetdetected--open-config-portal)
93
-
*[4.2 Got valid Credentials from Config Portal then connected to WiFi](#42-got-valid-credentials-from-config-portal-then-connected-to-wifi)
100
+
*[4.2 Got valid Credentials from Config Portal then connected to WiFi](#42-got-valid-credentials-from-config-portal-then-connected-to-wifi)
101
+
*[5. ESP_WiFi_MQTT on ESP32_DEV to demo WiFi Scan](#5-esp_wifi_mqtt-on-esp32_dev-to-demo-wifi-scan)
102
+
*[5.1 MRD/DRD => Open Config Portal](#51-mrddrd--open-config-portal)
103
+
*[5.2 Config Data Saved => Connection to Adafruit MQTT](#52-config-data-saved--connection-to-adafruit-mqtt)
94
104
*[Debug](#debug)
95
105
*[Troubleshooting](#troubleshooting)
96
106
*[Releases](#releases)
@@ -135,20 +145,28 @@ New recent features:
135
145
- Control Config Portal from software or Virtual Switches
136
146
- To permit autoreset after configurable timeout if DRD/MRD or non-persistent forced-CP
137
147
- Use new ESP32 LittleFS features
148
+
-**Scan WiFi networks** for selection in Configuration Portal
138
149
139
150
140
151
#### Currently supported Boards
141
152
142
153
This [**ESP_WiFiManager_Lite** library](https://github.com/khoih-prog/ESP_WiFiManager_Lite) currently supports these following boards:
143
154
144
-
1.**ESP32 including ESP32-S2 (ESP32-S2 Saola, AI-Thinker ESP-12K, etc.)**
145
-
2.**ESP8266**
155
+
1.**ESP8266 and ESP32-based boards using EEPROM, SPIFFS or LittleFS**.
156
+
2.**ESP32-S2 (ESP32-S2 Saola, AI-Thinker ESP-12K, etc.) using EEPROM, SPIFFS or LittleFS**.
157
+
3.**ESP32-C3 (ARDUINO_ESP32C3_DEV) using EEPROM or SPIFFS**.
146
158
147
159
---
148
160
---
149
161
150
162
## Changelog
151
163
164
+
### Major Release v1.5.0
165
+
166
+
1. Enable scan of WiFi networks for selection in Configuration Portal. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10). Now you can select optional **SCAN_WIFI_NETWORKS**, **MANUAL_SSID_INPUT_ALLOWED** to be able to manually input SSID, not only from a scanned SSID lists and **MAX_SSID_IN_LIST** (from 2-6 for ESP8266-AT or 2-15 for other)
167
+
2. Minor enhancement to not display garbage when data is invalid
168
+
169
+
152
170
### Release v1.4.0
153
171
154
172
1. Add **LittleFS and SPIFFS** support to new **ESP32-S2** boards (**Arduino ESP32C3_DEV**). Check [HOWTO Install esp32 core for ESP32-S2 (Saola, AI-Thinker ESP-12K) and ESP32-C3 boards into Arduino IDE](#howto-install-esp32-core-for-esp32-s2-saola-ai-thinker-esp-12k-and-esp32-c3-boards-into-arduino-ide).
@@ -628,7 +646,7 @@ Once Credentials / WiFi network information is saved in the host non-volatile me
628
646
629
647
#### 11. To use and input only one set of WiFi SSID and PWD
630
648
631
-
#### If you need to use and input only one set of WiFi SSID/PWD.
649
+
#### 11.1 If you need to use and input only one set of WiFi SSID/PWD
632
650
633
651
```
634
652
// Permit input only one set of WiFi SSID/PWD. The other can be "NULL or "blank"
@@ -637,14 +655,45 @@ Once Credentials / WiFi network information is saved in the host non-volatile me
637
655
```
638
656
But it's always advisable to use and input both sets for reliability.
639
657
640
-
#### If you need to use both sets of WiFi SSID/PWD
658
+
#### 11.2 If you need to use both sets of WiFi SSID/PWD
641
659
642
660
```
643
661
// Permit input only one set of WiFi SSID/PWD. The other can be "NULL or "blank"
644
662
// Default is false (if not defined) => must input 2 sets of SSID/PWD
645
663
#define REQUIRE_ONE_SET_SSID_PW false
646
664
```
647
665
666
+
#### 12. To enable auto-scan of WiFi networks for selection in Configuration Portal
667
+
668
+
#### 12.1 Enable auto-scan of WiFi networks for selection in Configuration Portal
669
+
670
+
671
+
```
672
+
#define SCAN_WIFI_NETWORKS true
673
+
```
674
+
675
+
The manual input of SSIDs is default enabled, so that users can input arbitrary SSID, not only from the scanned list. This is for the sample use-cases in which users can input the known SSIDs of another place, then send the boards to that place. The boards can connect to WiFi without users entering Config Portal to re-configure.
676
+
677
+
#### 12.2 Disable manually input SSIDs
678
+
679
+
```
680
+
// To disable manually input SSID, only from a scanned SSID lists
681
+
#define MANUAL_SSID_INPUT_ALLOWED false
682
+
```
683
+
684
+
This is for normal use-cases in which users can only select an SSID from a scanned list of SSIDs to avoid typo mistakes and/or security.
685
+
686
+
#### 12.3 Select maximum number of SSIDs in the list
687
+
688
+
The maximum number of SSIDs in the list is seletable from 2 to 15. If invalid number of SSIDs is selected, the default number of 10 will be used.
689
+
690
+
691
+
```
692
+
// From 2-15
693
+
#define MAX_SSID_IN_LIST 8
694
+
```
695
+
696
+
648
697
---
649
698
---
650
699
@@ -668,10 +717,28 @@ After you connected, please, go to http://192.168.4.1 or newly configured AP IP,
### 5. [ESP_WiFi_MQTT](examples/ESP_WiFi_MQTT) on ESP32_DEV to demo WiFi Scan
1999
+
2000
+
This is the terminal output when running [**ESP_WiFi**](examples/ESP_WiFi) example on **ESP32_DEV** with WiFi Scan for selection in Configuration Portal
2001
+
2002
+
#### 5.1. MRD/DRD => Open Config Portal
2003
+
2004
+
```
2005
+
Starting ESP_WiFi_MQTT using LittleFS on ESP32_DEV
2006
+
ESP_WiFiManager_Lite v1.5.0
2007
+
ESP_MultiResetDetector v1.1.1
2008
+
LittleFS Flag read = 0xFFFC0003
2009
+
multiResetDetectorFlag = 0xFFFC0003
2010
+
lowerBytes = 0x0003, upperBytes = 0x0003
2011
+
multiResetDetected, number of times = 3
2012
+
Saving config file...
2013
+
Saving config file OK
2014
+
[WML] Hdr=ESP_WM_LITE,SSID=HueNet1,PW=12345678
2015
+
[WML] SSID1=HueNet2,PW1=12345678
2016
+
[WML] BName=ESP32_DEV
2017
+
[WML] Hdr=ESP_WM_LITE,SSID=HueNet1,PW=12345678
2018
+
[WML] SSID1=HueNet2,PW1=12345678
2019
+
[WML] BName=ESP32_DEV
2020
+
[WML] WiFi networks found:
2021
+
[WML] 1: HueNet, -24dB
2022
+
[WML] 2: HueNet1, -31dB
2023
+
[WML] 3: HueNetTek, -33dB
2024
+
[WML] 4: dragino-1ed63c, -33dB
2025
+
[WML] 5: HueNet2, -57dB
2026
+
[WML] 6: bacau, -72dB
2027
+
[WML] 7: guest_24, -72dB
2028
+
[WML] 8: Waterhome, -91dB
2029
+
[WML] 9: BAHFAMILY, -93dB
2030
+
[WML] 10: TP-LINK_2.4GHz_9A67ED, -94dB
2031
+
[WML] 11: Access 2.0, -96dB
2032
+
[WML]
2033
+
stConf:SSID=ESP_9ABF498,PW=MyESP_9ABF498
2034
+
[WML] IP=192.168.4.1,ch=11
2035
+
N
2036
+
Your stored Credentials :
2037
+
AIO_SERVER = io.adafruit.com
2038
+
AIO_SERVERPORT = 1883
2039
+
AIO_USERNAME = private
2040
+
AIO_KEY = private
2041
+
AIO_PUB_TOPIC = /feeds/Temperature
2042
+
AIO_SUB_TOPIC = /feeds/LED_Control
2043
+
N
2044
+
```
2045
+
2046
+
### 2. Config Data Saved => Connection to Adafruit MQTT
2047
+
2048
+
```
2049
+
Starting ESP_WiFi_MQTT using LittleFS on ESP32_DEV
@@ -1949,6 +2118,11 @@ If you get compilation errors, more often than not, you may need to install a ne
1949
2118
1950
2119
## Releases
1951
2120
2121
+
### Major Release v1.5.0
2122
+
2123
+
1. Enable scan of WiFi networks for selection in Configuration Portal. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10). Now you can select optional **SCAN_WIFI_NETWORKS**, **MANUAL_SSID_INPUT_ALLOWED** to be able to manually input SSID, not only from a scanned SSID lists and **MAX_SSID_IN_LIST** (from 2-6 for ESP8266-AT or 2-15 for other)
2124
+
2. Minor enhancement to not display garbage when data is invalid
2125
+
1952
2126
### Release v1.4.0
1953
2127
1954
2128
1. Add **LittleFS and SPIFFS** support to new **ESP32-S2** boards (**Arduino ESP32C3_DEV**). Check [HOWTO Install esp32 core for ESP32-S2 (Saola, AI-Thinker ESP-12K) and ESP32-C3 boards into Arduino IDE](#howto-install-esp32-core-for-esp32-s2-saola-ai-thinker-esp-12k-and-esp32-c3-boards-into-arduino-ide).
@@ -2018,6 +2192,7 @@ Submit issues to: [ESP_WiFiManager_Lite issues](https://github.com/khoih-prog/ES
2018
2192
21. Add support to **ESP32-S2 (ESP32-S2 Saola, AI-Thinker ESP-12K, etc.) using EEPROM, LittleFS and SPIFFS**
2019
2193
22. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header
2020
2194
23. Add support to **ESP32-C3 using EEPROM and SPIFFS**
2195
+
24. Enable **scan of WiFi networks** for selection in Configuration Portal
2021
2196
2022
2197
---
2023
2198
---
@@ -2026,6 +2201,15 @@ Submit issues to: [ESP_WiFiManager_Lite issues](https://github.com/khoih-prog/ES
2026
2201
2027
2202
Please help contribute to this project and add your name here.
2028
2203
2204
+
1. Thanks to [Michael H. "bizprof"](https://github.com/bizprof). With the impressive new feature :
2205
+
-`Enable scan of WiFi networks for selection in Configuration Portal`. Check [PR for v1.3.0 - Enable scan of WiFi networks #10](https://github.com/khoih-prog/WiFiManager_NINA_Lite/pull/10) leading to v1.5.0
2206
+
2207
+
<table>
2208
+
<tr>
2209
+
<td align="center"><a href="https://github.com/bizprof"><img src="https://github.com/bizprof.png" width="100px;" alt="bizprof"/><br /><sub><b>⭐️⭐️ Michael H. "bizprof"</b></sub></a><br /></td>
0 commit comments