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

Commit 509e29c

Browse files
authored
Major Releases v1.3.0
### Major Releases v1.3.0 1. Configurable **Customs HTML Headers**, including Customs Style, Customs Head Elements, CORS Header. 2. Add support to **ESP32-S2 (ESP32-S2 Saola and AI-Thinker ESP-12K)**. Currently using EEPROM only. To add support to LittleFS and SPIFFS in future releases. 3. Fix Config Portal Bug. 4. Tested with [**Latest ESP32 Core 1.0.5**](https://github.com/espressif/arduino-esp32) for ESP32-based boards. 5. Update examples
1 parent 701baa1 commit 509e29c

14 files changed

+1641
-320
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
1515
Please ensure to specify the following:
1616

1717
* 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.4)
18+
* `ESP8266` or `ESP32` Core Version (e.g. ESP8266 core v2.7.4 or ESP32 v1.0.5)
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:
@@ -29,7 +29,7 @@ Please ensure to specify the following:
2929
Arduino IDE version: 1.8.13
3030
ESP8266 Core Version 2.7.4
3131
OS: Ubuntu 20.04 LTS
32-
Linux Inspiron 5.4.0-60-generic #67-Ubuntu SMP Tue Jan 5 18:31:36 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
32+
Linux Inspiron 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 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: 278 additions & 37 deletions
Large diffs are not rendered by default.

keywords.txt

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,17 @@ getFullConfigData KEYWORD2
5757
clearConfigData KEYWORD2
5858
resetAndEnterConfigPortal KEYWORD2
5959
resetAndEnterConfigPortalPersistent KEYWORD2
60+
setCustomsStyle KEYWORD2
61+
getCustomsStyle KEYWORD2
62+
setCustomsHeadElement KEYWORD2
63+
getCustomsHeadElement KEYWORD2
64+
setCORSHeader KEYWORD2
65+
getCORSHeader KEYWORD2
66+
67+
#############################
68+
# Handler helpers (KEYWORD2)
69+
#############################
6070

61-
# Handler helpers
6271
BLYNK_READ KEYWORD2
6372
BLYNK_WRITE KEYWORD2
6473
BLYNK_READ_DEFAULT KEYWORD2
@@ -74,13 +83,19 @@ BLYNK_INPUT KEYWORD2
7483
BLYNK_OUTPUT_DEFAULT KEYWORD2
7584
BLYNK_INPUT_DEFAULT KEYWORD2
7685

77-
# Variables binding
86+
###############################
87+
# Variables binding (KEYWORD2)
88+
###############################
89+
7890
BLYNK_VAR_INT KEYWORD2
7991
BLYNK_VAR_LONG KEYWORD2
8092
BLYNK_VAR_DOUBLE KEYWORD2
8193
BLYNK_VAR_STRING KEYWORD2
8294

83-
# Special defines
95+
###############################
96+
# Special defines (KEYWORD2)
97+
###############################
98+
8499
BLYNK_DEBUG KEYWORD2
85100
BLYNK_DEBUG_ALL KEYWORD2
86101
BLYNK_PRINT KEYWORD2
@@ -95,7 +110,9 @@ BLYNK_USE_DIRECT_CONNECT KEYWORD2
95110
BLYNK_MAX_SENDBYTES KEYWORD2
96111
BLYNK_MAX_READBYTES KEYWORD2
97112

98-
# Periodic actions
113+
###############################
114+
# Periodic actions (KEYWORD2)
115+
###############################
99116
#BLYNK_EVERY_N_MILLIS KEYWORD2
100117
#BLYNK_EVERY_N_SECONDS KEYWORD2
101118
#BLYNK_EVERY_N_MINUTES KEYWORD2

library.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "Blynk_Async_WM",
3-
"version": "1.2.3",
4-
"description": "Library, using AsyncWebServer instead of (ESP8266)WebServer, for configuring/auto(re)connecting ESP8266/ESP32 modules to best or available MultiWiFi APs and MultiBlynk servers at runtime. Enable adding dynamic custom parameters from sketch and input using the same Config Portal. Config Portal will be auto-adjusted to match the number of dynamic parameters. Optional default Credentials to be autoloaded into Config Portal to use or change instead of manually input. Static STA IP and DHCP Hostname as well as Config Portal AP channel, IP, SSID, Password can be configured. Multi or Double DetectDetector feature permits entering Config Portal as requested.",
5-
"keywords": "sensors, control, device, smartphone, mobile, app, web, cloud, communication, protocol, iot, m2m, wifi, ble, bluetooth, ethernet, usb, serial, gsm, gprs, 3g, data, esp8266, esp32, http, drd, mrd, double-reset, multi-reset, configportal, portal, credentials, async",
3+
"version": "1.3.0",
4+
"description": "Library, using AsyncWebServer instead of (ESP8266)WebServer, for configuring/auto(re)connecting ESP32 (including ESP32-S2), ESP8266 modules to best or available MultiWiFi APs and MultiBlynk servers at runtime. Enable adding dynamic custom parameters from sketch and input using the same Config Portal (CP). CP will be auto-adjusted to match the number of dynamic parameters. Optional default Credentials to be autoloaded into CP to use or change instead of manually input. Static STA IP and DHCP Hostname as well as Config Portal AP channel, IP, SSID, Password can be configured. Config. Data saved in ESP8266/ESP32 LittleFS, SPIFFS or EEPROM. Multi, Double DetectDetector or Virtual CP Switch feature permits entering CP as requested. Configurable Customs HTML Headers, including Customs Style, Customs Head Elements, CORS Header.",
5+
"keywords": "sensors, control, device, smartphone, mobile, app, web, cloud, communication, protocol, iot, m2m, wifi, ble, bluetooth, ethernet, usb, serial, gsm, gprs, 3g, data, async, esp8266, esp32, esp32-s2, http, drd, mrd, double-reset, multi-reset, configportal, config-portal, portal, credentials, Manager, DynamicParameters, dynamic-params, dynamic, customs-header",
66
"authors":
77
{
88
"name": "Khoi Hoang",

library.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name=Blynk_Async_WM
2-
version=1.2.3
2+
version=1.3.0
33
author=Khoi Hoang
44
license=MIT
55
maintainer=Khoi Hoang <[email protected]>
6-
sentence=Simple Async WiFiManager for Blynk and ESP8266/ESP32 with or without SSL, configuration data saved in either LittleFS, SPIFFS or EEPROM
7-
paragraph=Library, using AsyncWebServer instead of (ESP8266)WebServer, for configuring/auto(re)connecting ESP8266/ESP32 modules to best or available MultiWiFi APs and MultiBlynk servers at runtime. Enable adding dynamic custom parameters from sketch and input using the same Config Portal. Config Portal will be auto-adjusted to match the number of dynamic parameters. Optional default Credentials to be autoloaded into Config Portal to use or change instead of manually input. Static STA IP and DHCP Hostname as well as Config Portal AP channel, IP, SSID, Password can be configured. Multi, Double DetectDetector or Virtual ConfigPortal Switch feature permits entering Config Portal as requested.
6+
sentence=Simple Async WiFiManager for Blynk and ESP32 (including ESP32-S2), ESP8266 with or without SSL, configuration data saved in either LittleFS, SPIFFS or EEPROM
7+
paragraph=Library, using AsyncWebServer instead of (ESP8266)WebServer, for configuring/auto(re)connecting ESP32 (including ESP32-S2), ESP8266 modules to best or available MultiWiFi APs and MultiBlynk servers at runtime. Enable adding dynamic custom parameters from sketch and input using the same Config Portal (CP). CP will be auto-adjusted to match the number of dynamic parameters. Optional default Credentials to be autoloaded into CP to use or change instead of manually input. Static STA IP and DHCP Hostname as well as Config Portal AP channel, IP, SSID, Password can be configured. Config. Data saved in ESP8266/ESP32 LittleFS, SPIFFS or EEPROM. Multi, Double DetectDetector or Virtual CP Switch feature permits entering CP as requested. Configurable Customs HTML Headers, including Customs Style, Customs Head Elements, CORS Header.
88
category=Communication
99
url=https://github.com/khoih-prog/Blynk_Async_WM
1010
architectures=esp8266,esp32

pics/esp32_s2_Core_Unzipped.png

44.1 KB
Loading

pics/esp32_s2_Toolchain.png

21.8 KB
Loading

pics/esp32_s2_esptool.png

45.6 KB
Loading

pics/esp32_s2_tools.png

40.9 KB
Loading

platformio/platformio.ini

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,17 @@ lib_deps =
3333
ESP_DoubleResetDetector@~1.1.1
3434
ESP_MultiResetDetector@~1.1.1
3535
ESP Async WebServer@~1.2.3
36-
ESP AsyncTCP@~1.2.2
36+
ESPAsyncTCP@~1.2.2
3737
AsyncTCP@~1.1.1
38+
LittleFS_esp32@>=1.0.5
3839
; PlatformIO 5.x
3940
; blynkkk/Blynk@~0.6.1
4041
; khoih.prog/ESP_DoubleResetDetector@~1.1.1
4142
; khoih.prog/ESP_MultiResetDetector@~1.1.1
4243
; me-no-dev/ESP Async WebServer@~1.2.3
43-
; me-no-dev/ESP AsyncTCP@~1.2.2
44+
; me-no-dev/ESPAsyncTCP@~1.2.2
4445
; me-no-dev/AsyncTCP@~1.1.1
46+
; lorol/LittleFS_esp32@>=1.0.5
4547

4648
build_flags =
4749
; set your debug output (default=Serial)

0 commit comments

Comments
 (0)