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)
62
63
*[10. To use CORS Header](#10-to-use-cors-header)
63
64
*[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)
65
+
*[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)
66
+
*[11.2 If you need to use both sets of WiFi SSID/PWD](#112-if-you-need-to-use-both-sets-of-wifi-ssidpwd)
67
+
*[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)
68
+
*[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)
*[4. ESPAsync_WiFi_MQTT on ESP32S2_DEV to demo MultiResetDetector](#4-espasync_wifi_mqtt-on-esp32s2_dev-to-demo-multiresetdetector)
94
101
*[4.1 MultiResetDetected => Open Config Portal](#41-multiresetdetected--open-config-portal)
95
102
*[4.2 Got valid Credentials from Config Portal then connected to WiFi](#42-got-valid-credentials-from-config-portal-then-connected-to-wifi)
103
+
*[5. ESPAsync_WiFi_MQTT on ESP32_DEV to demo WiFi Scan](#5-espasync_wifi_mqtt-on-esp32_dev-to-demo-wifi-scan)
104
+
*[5.1 MRD/DRD => Open Config Portal](#51-mrddrd--open-config-portal)
105
+
*[5.2 Config Data Saved => Connection to Adafruit MQTT](#52-config-data-saved--connection-to-adafruit-mqtt)
96
106
*[Debug](#debug)
97
107
*[Troubleshooting](#troubleshooting)
98
108
*[Releases](#releases)
@@ -138,9 +148,12 @@ New recent features:
138
148
- Control Config Portal from software or Virtual Switches
139
149
- To permit autoreset after configurable timeout if DRD/MRD or non-persistent forced-CP
140
150
- Use new ESP32 LittleFS features
151
+
-**Scan WiFi networks** for selection in Configuration Portal
152
+
141
153
142
154
Thanks to this [ESPAsync_WiFiManager_Lite library](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite) is based on and sync'ed with [`ESP_WiFiManager_Lite`](https://github.com/khoih-prog/ESP_WiFiManager_Lite), all the features currently supported by [`ESP_WiFiManager_Lite`](https://github.com/khoih-prog/ESP_WiFiManager_Lite) will be available.
143
155
156
+
144
157
### Why Async is better
145
158
146
159
- Using asynchronous network means that you can handle **more than one connection at the same time**
@@ -163,14 +176,20 @@ To appreciate the power of the [ESPAsyncWebServer](https://github.com/me-no-dev/
163
176
164
177
This [**ESPAsync_WiFiManager_Lite** library](https://github.com/khoih-prog/ESPAsync_WiFiManager_Lite) currently supports these following boards:
165
178
166
-
1.**ESP32 including ESP32-S2 (ESP32-S2 Saola, AI-Thinker ESP-12K, etc.)**
167
-
2.**ESP8266**
179
+
1.**ESP8266 and ESP32-based boards using EEPROM, SPIFFS or LittleFS**.
180
+
2.**ESP32-S2 (ESP32-S2 Saola, AI-Thinker ESP-12K, etc.) using EEPROM, SPIFFS or LittleFS**.
181
+
3.**ESP32-C3 (ARDUINO_ESP32C3_DEV) using EEPROM or SPIFFS**.
168
182
169
183
---
170
184
---
171
185
172
186
## Changelog
173
187
188
+
### Major Release v1.5.0
189
+
190
+
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)
191
+
2. Minor enhancement to not display garbage when data is invalid
192
+
174
193
### Release v1.4.0
175
194
176
195
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).
@@ -667,7 +686,7 @@ Once Credentials / WiFi network information is saved in the host non-volatile me
667
686
668
687
#### 11. To use and input only one set of WiFi SSID and PWD
669
688
670
-
#### If you need to use and input only one set of WiFi SSID/PWD.
689
+
#### 11.1 If you need to use and input only one set of WiFi SSID/PWD
671
690
672
691
```
673
692
// Permit input only one set of WiFi SSID/PWD. The other can be "NULL or "blank"
@@ -676,14 +695,45 @@ Once Credentials / WiFi network information is saved in the host non-volatile me
676
695
```
677
696
But it's always advisable to use and input both sets for reliability.
678
697
679
-
#### If you need to use both sets of WiFi SSID/PWD
698
+
#### 11.2 If you need to use both sets of WiFi SSID/PWD
680
699
681
700
```
682
701
// Permit input only one set of WiFi SSID/PWD. The other can be "NULL or "blank"
683
702
// Default is false (if not defined) => must input 2 sets of SSID/PWD
684
703
#define REQUIRE_ONE_SET_SSID_PW false
685
704
```
686
705
706
+
#### 12. To enable auto-scan of WiFi networks for selection in Configuration Portal
707
+
708
+
#### 12.1 Enable auto-scan of WiFi networks for selection in Configuration Portal
709
+
710
+
711
+
```
712
+
#define SCAN_WIFI_NETWORKS true
713
+
```
714
+
715
+
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.
716
+
717
+
#### 12.2 Disable manually input SSIDs
718
+
719
+
```
720
+
// To disable manually input SSID, only from a scanned SSID lists
721
+
#define MANUAL_SSID_INPUT_ALLOWED false
722
+
```
723
+
724
+
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.
725
+
726
+
#### 12.3 Select maximum number of SSIDs in the list
727
+
728
+
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.
729
+
730
+
731
+
```
732
+
// From 2-15
733
+
#define MAX_SSID_IN_LIST 8
734
+
```
735
+
736
+
687
737
---
688
738
---
689
739
@@ -707,10 +757,28 @@ After you connected, please, go to http://192.168.4.1 or newly configured AP IP,
### 5. [ESPAsync_WiFi_MQTT](examples/ESPAsync_WiFi_MQTT) on ESP32_DEV to demo WiFi Scan
2079
+
2080
+
This is the terminal output when running [**ESPAsync_WiFi_MQTT**](examples/ESPAsync_WiFi_MQTT) example on **ESP32_DEV** with WiFi Scan for selection in Configuration Portal
2081
+
2082
+
#### 5.1 MRD/DRD => Open Config Portal
2083
+
2084
+
```
2085
+
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV
2086
+
ESPAsync_WiFiManager_Lite v1.5.0
2087
+
ESP_MultiResetDetector v1.1.1
2088
+
LittleFS Flag read = 0xFFFC0003
2089
+
multiResetDetectorFlag = 0xFFFC0003
2090
+
lowerBytes = 0x0003, upperBytes = 0x0003
2091
+
multiResetDetected, number of times = 3
2092
+
Saving config file...
2093
+
Saving config file OK
2094
+
[WML] Hdr=ESP_WM_LITE,SSID=HueNet1,PW=12345678
2095
+
[WML] SSID1=HueNet2,PW1=12345678
2096
+
[WML] BName=ESP32_DEV
2097
+
[WML] Hdr=ESP_WM_LITE,SSID=HueNet1,PW=12345678
2098
+
[WML] SSID1=HueNet2,PW1=12345678
2099
+
[WML] BName=ESP32_DEV
2100
+
[WML] WiFi networks found:
2101
+
[WML] 1: HueNet, -26dB
2102
+
[WML] 2: HueNet1, -28dB
2103
+
[WML] 3: HueNetTek, -31dB
2104
+
[WML] 4: dragino-1ed63c, -43dB
2105
+
[WML] 5: HueNet2, -56dB
2106
+
[WML] 6: bacau, -74dB
2107
+
[WML] 7: guest_24, -74dB
2108
+
[WML] 8: Rogers 786, -86dB
2109
+
[WML] 9: dlink-4F96, -90dB
2110
+
[WML] 10: Waterhome, -91dB
2111
+
[WML] 11: BELL246, -93dB
2112
+
[WML] 12: BELL627, -96dB
2113
+
[WML]
2114
+
stConf:SSID=ESP_9ABF498,PW=MyESP_9ABF498
2115
+
[WML] IP=192.168.4.1,ch=5
2116
+
N
2117
+
Your stored Credentials :
2118
+
AIO_SERVER = io.adafruit.com
2119
+
AIO_SERVERPORT = 1883
2120
+
AIO_USERNAME = user_name
2121
+
AIO_KEY = aio_key
2122
+
AIO_PUB_TOPIC = /feeds/Temperature
2123
+
AIO_SUB_TOPIC = /feeds/LED_Control
2124
+
NNNN NNNNN NNNNN N
2125
+
```
2126
+
2127
+
### 5.2 Config Data Saved => Connection to Adafruit MQTT
2128
+
2129
+
```
2130
+
Starting ESPAsync_WiFi_MQTT using LittleFS on ESP32_DEV
@@ -2032,6 +2203,11 @@ If you connect to the created configuration Access Point but the ConfigPortal do
2032
2203
2033
2204
## Releases
2034
2205
2206
+
### Major Release v1.5.0
2207
+
2208
+
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)
2209
+
2. Minor enhancement to not display garbage when data is invalid
2210
+
2035
2211
### Release v1.4.0
2036
2212
2037
2213
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).
@@ -2097,6 +2273,7 @@ Submit issues to: [ESPAsync_WiFiManager_Lite issues](https://github.com/khoih-pr
2097
2273
18. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header
2098
2274
19. Add support to **ESP32-S2 (ESP32-S2 Saola, AI-Thinker ESP-12K, etc.) using EEPROM, LittleFS and SPIFFS**
2099
2275
20. Add support to **ESP32-C3 using EEPROM and SPIFFS**
2276
+
21. Enable **scan of WiFi networks** for selection in Configuration Portal
2100
2277
2101
2278
---
2102
2279
---
@@ -2105,6 +2282,15 @@ Submit issues to: [ESPAsync_WiFiManager_Lite issues](https://github.com/khoih-pr
2105
2282
2106
2283
Please help contribute to this project and add your name here.
2107
2284
2285
+
1. Thanks to [Michael H. "bizprof"](https://github.com/bizprof). With the impressive new feature :
2286
+
-`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
2287
+
2288
+
<table>
2289
+
<tr>
2290
+
<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