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

Commit 4f08134

Browse files
authored
v1.5.1 to update PIO
### Release v1.5.1 1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix
1 parent 5deb9ad commit 4f08134

File tree

10 files changed

+125
-324
lines changed

10 files changed

+125
-324
lines changed

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1414

1515
Please ensure to specify the following:
1616

17-
* Arduino IDE version (e.g. 1.8.13) or Platform.io version
18-
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v2.7.4 or ESP32 v1.0.6)
17+
* Arduino IDE version (e.g. 1.8.16) or Platform.io version
18+
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v3.0.2 or ESP32 v2.0.0)
1919
* Contextual information (e.g. what you were trying to achieve)
2020
* Simplest possible steps to reproduce
2121
* Anything that might be relevant in your opinion, such as:
@@ -26,10 +26,10 @@ Please ensure to specify the following:
2626
### Example
2727

2828
```
29-
Arduino IDE version: 1.8.13
30-
ESP8266 Core Version 2.7.4
29+
Arduino IDE version: 1.8.16
30+
ESP8266 Core Version 3.0.2
3131
OS: Ubuntu 20.04 LTS
32-
Linux xy-Inspiron-3593 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux Inspiron 5.4.0-86-generic #97-Ubuntu SMP Fri Sep 17 19:19:40 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
3333
3434
Context:
3535
The board couldn't autoreconnect to Local Blynk Server after router power recycling.

README.md

Lines changed: 27 additions & 286 deletions
Large diffs are not rendered by default.

changelog.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
## ESP_WiFiManager_Lite (Light Weight Credentials / WiFiManager for ESP32/ESP8266)
2+
3+
[![arduino-library-badge](https://www.ardu-badge.com/badge/ESP_WiFiManager_Lite.svg?)](https://www.ardu-badge.com/ESP_WiFiManager_Lite)
4+
[![GitHub release](https://img.shields.io/github/release/khoih-prog/ESP_WiFiManager_Lite.svg)](https://github.com/khoih-prog/ESP_WiFiManager_Lite/releases)
5+
[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/khoih-prog/ESP_WiFiManager_Lite/blob/main/LICENSE)
6+
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat)](#Contributing)
7+
[![GitHub issues](https://img.shields.io/github/issues/khoih-prog/ESP_WiFiManager_Lite.svg)](http://github.com/khoih-prog/ESP_WiFiManager_Lite/issues)
8+
9+
---
10+
---
11+
12+
## Table of Contents
13+
14+
* [Changelog](#changelog)
15+
* [Release v1.5.1](#release-v151)
16+
* [Major Release v1.5.0](#major-release-v150)
17+
* [Release v1.4.0](#release-v140)
18+
* [Release v1.3.0](#release-v130)
19+
* [Release v1.2.0](#release-v120)
20+
* [Release v1.1.0](#release-v110)
21+
* [Release v1.0.0](#release-v100)
22+
23+
---
24+
---
25+
26+
## Changelog
27+
28+
### Release v1.5.1
29+
30+
1. Update `platform.ini` and `library.json` to use original `khoih-prog` instead of `khoih.prog` after PIO fix
31+
32+
### Major Release v1.5.0
33+
34+
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-15)
35+
2. Minor enhancement to not display garbage when data is invalid
36+
37+
38+
### Release v1.4.0
39+
40+
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).
41+
2. Add **EEPROM and SPIFFS** support to new **ESP32-C3** 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).
42+
43+
### Release v1.3.0
44+
45+
1. Fix invalid "blank" Config Data treated as Valid.
46+
2. Permit optionally inputting one set of WiFi SSID/PWD by using `REQUIRE_ONE_SET_SSID_PW == true`
47+
3. Enforce WiFi PWD minimum length of 8 chars
48+
4. Fix bug where EEPROM_SIZE truncated by DRD/MRD to 512, resulting lost and corrupted data.
49+
5. Fix crashing bug in serverSendHeaders()
50+
51+
### Release v1.2.0
52+
53+
1. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header.
54+
2. Fix Config Portal Bug.
55+
3. Update examples
56+
57+
### Release v1.1.0
58+
59+
1. Add support to **ESP32-S2 (ESP32-S2 Saola and AI-Thinker ESP-12K)**
60+
2. Add [**Instructions to install ESP32-S2 core**](#howto-install-esp32-s2-core-for-esp32-s2-saola-ai-thinker-esp-12k-boards-into-arduino-ide)
61+
62+
### Release v1.0.0
63+
64+
1. Initial release to support ESP32 and ESP8266.
65+
66+

examples/ESP_WiFi/ESP_WiFi.ino

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@
88
99
Built by Khoi Hoang https://github.com/khoih-prog/ESP_WiFiManager_Lite
1010
Licensed under MIT license
11-
Version: 1.5.0
12-
13-
Version Modified By Date Comments
14-
------- ----------- ---------- -----------
15-
1.0.0 K Hoang 04/02/2021 Initial coding for ESP32/ESP8266
16-
1.1.0 K Hoang 12/02/2021 Add support to new ESP32-S2
17-
1.2.0 K Hoang 22/02/2021 Add customs HTML header feature. Fix bug.
18-
1.3.0 K Hoang 12/04/2021 Fix invalid "blank" Config Data treated as Valid. Fix EEPROM_SIZE bug
19-
1.4.0 K Hoang 21/04/2021 Add support to new ESP32-C3 using SPIFFS or EEPROM
20-
1.5.0 Michael H 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
2111
*****************************************************************************************************************************/
2212

2313
#include "defines.h"
@@ -86,6 +76,12 @@ void setup()
8676

8777
ESP_WiFiManager = new ESP_WiFiManager_Lite();
8878

79+
String AP_SSID = "your_customized_ssid";
80+
String AP_PWD = "your_customized_pwd";
81+
82+
// Set customized AP SSID and PWD
83+
ESP_WiFiManager->setConfigPortal(AP_SSID, AP_PWD);
84+
8985
// Optional to change default AP IP(192.168.4.1) and channel(10)
9086
//ESP_WiFiManager->setConfigPortalIP(IPAddress(192, 168, 120, 1));
9187
ESP_WiFiManager->setConfigPortalChannel(0);

examples/ESP_WiFi_MQTT/ESP_WiFi_MQTT.ino

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@
88
99
Built by Khoi Hoang https://github.com/khoih-prog/ESP_WiFiManager_Lite
1010
Licensed under MIT license
11-
Version: 1.5.0
12-
13-
Version Modified By Date Comments
14-
------- ----------- ---------- -----------
15-
1.0.0 K Hoang 04/02/2021 Initial coding for ESP32/ESP8266
16-
1.1.0 K Hoang 12/02/2021 Add support to new ESP32-S2
17-
1.2.0 K Hoang 22/02/2021 Add customs HTML header feature. Fix bug.
18-
1.3.0 K Hoang 12/04/2021 Fix invalid "blank" Config Data treated as Valid. Fix EEPROM_SIZE bug
19-
1.4.0 K Hoang 21/04/2021 Add support to new ESP32-C3 using SPIFFS or EEPROM
20-
1.5.0 Michael H 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
2111
*****************************************************************************************************************************/
2212

2313
/****************************************************************************************************************************
@@ -310,6 +300,12 @@ void setup()
310300

311301
ESP_WiFiManager = new ESP_WiFiManager_Lite();
312302

303+
String AP_SSID = "your_customized_ssid";
304+
String AP_PWD = "your_customized_pwd";
305+
306+
// Set customized AP SSID and PWD
307+
ESP_WiFiManager->setConfigPortal(AP_SSID, AP_PWD);
308+
313309
// Optional to change default AP IP(192.168.4.1) and channel(10)
314310
//ESP_WiFiManager->setConfigPortalIP(IPAddress(192, 168, 120, 1));
315311
ESP_WiFiManager->setConfigPortalChannel(0);

library.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ESP_WiFiManager_Lite",
3-
"version": "1.5.0",
3+
"version": "1.5.1",
44
"keywords": "wifi, wi-fi, MultiWiFi, multi-wifi, WiFiManager, esp8266, esp32, esp32-s2, esp32-c3, Communication, iot, credentials, persistent, config-portal, DoubleReset, MultiReset, DoubleResetDetector, littlefs, spiffs, eeprom, light-weight",
55
"description": "Library to configure MultiWiFi/Credentials at runtime for ESP32 (including ESP32-S2 and ESP32-C3) and ESP8266 boards. You can also specify DHCP HostName, static AP and STA IP. Use much less memory compared to full-fledge WiFiManager. Config Portal will be auto-adjusted to match the number of dynamic custom parameters. Optional default Credentials to be autoloaded into Config Portal to use or change instead of manually input. Credentials are saved in LittleFS, SPIFFS or EEPROM. New powerful-yet-simple-to-use feature to enable adding dynamic custom parameters from sketch and input using the same Config Portal. Double or MultiDetectDetector as well as Virtual Switches feature permits entering Config Portal as requested. Configurable Customs HTML Headers, including Customs Style, Customs Head Elements, CORS Header.",
66
"authors":
@@ -25,15 +25,15 @@
2525
"dependencies":
2626
[
2727
{
28-
"owner": "khoih.prog",
28+
"owner": "khoih-prog",
2929
"name": "ESP_DoubleResetDetector",
30-
"version": "^1.1.1",
30+
"version": "^1.1.2",
3131
"platforms": ["espressif8266", "espressif32"]
3232
},
3333
{
34-
"owner": "khoih.prog",
34+
"owner": "khoih-prog",
3535
"name": "ESP_MultiResetDetector",
36-
"version": "^1.1.1",
36+
"version": "^1.1.2",
3737
"platforms": ["espressif8266", "espressif32"]
3838
},
3939
{

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ESP_WiFiManager_Lite
2-
version=1.5.0
2+
version=1.5.1
33
author=Khoi Hoang
44
maintainer=Khoi Hoang <[email protected]>
55
license=MIT

platformio/platformio.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ lib_compat_mode = strict
3232

3333
lib_deps =
3434
; PlatformIO 4.x
35-
ESP_DoubleResetDetector@>=1.1.1
36-
ESP_MultiResetDetector@>=1.1.1
35+
ESP_DoubleResetDetector@>=1.1.2
36+
ESP_MultiResetDetector@>=1.1.2
3737
LittleFS_esp32@>=1.0.6
3838
; PlatformIO 5.x
39-
; khoih.prog/ESP_DoubleResetDetector@>=1.1.1
40-
; khoih.prog/ESP_MultiResetDetector@>=1.1.1
39+
; khoih-prog/ESP_DoubleResetDetector@>=1.1.2
40+
; khoih-prog/ESP_MultiResetDetector@>=1.1.2
4141
; lorol/LittleFS_esp32@>=1.0.6
4242

4343

src/ESP_WiFiManager_Lite.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/ESP_WiFiManager_Lite
1010
Licensed under MIT license
1111
12-
Version: 1.5.0
12+
Version: 1.5.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.3.0 K Hoang 12/04/2021 Fix invalid "blank" Config Data treated as Valid. Fix EEPROM_SIZE bug
2020
1.4.0 K Hoang 21/04/2021 Add support to new ESP32-C3 using SPIFFS or EEPROM
2121
1.5.0 Michael H 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
22+
1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
2223
*****************************************************************************************************************************/
2324

2425
#pragma once
@@ -38,7 +39,7 @@
3839
#define USING_ESP32_C3 true
3940
#endif
4041

41-
#define ESP_WIFI_MANAGER_LITE_VERSION "ESP_WiFiManager_Lite v1.5.0"
42+
#define ESP_WIFI_MANAGER_LITE_VERSION "ESP_WiFiManager_Lite v1.5.1"
4243

4344
#ifdef ESP8266
4445

src/ESP_WiFiManager_Lite_Debug.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Built by Khoi Hoang https://github.com/khoih-prog/ESP_WiFiManager_Lite
1010
Licensed under MIT license
1111
12-
Version: 1.5.0
12+
Version: 1.5.1
1313
1414
Version Modified By Date Comments
1515
------- ----------- ---------- -----------
@@ -19,6 +19,7 @@
1919
1.3.0 K Hoang 12/04/2021 Fix invalid "blank" Config Data treated as Valid. Fix EEPROM_SIZE bug
2020
1.4.0 K Hoang 21/04/2021 Add support to new ESP32-C3 using SPIFFS or EEPROM
2121
1.5.0 Michael H 24/04/2021 Enable scan of WiFi networks for selection in Configuration Portal
22+
1.5.1 K Hoang 10/10/2021 Update `platform.ini` and `library.json`
2223
*****************************************************************************************************************************/
2324

2425
#ifndef ESP_WiFiManager_Lite_Debug_h

0 commit comments

Comments
 (0)