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

Commit f7e9e0e

Browse files
authored
Major Releases v1.8.0 to use auto-TZ
### Major Releases v1.8.0 1. Add auto-Timezone feature with variable `_timezoneName` (e.g. `America/New_York`) and function to retrieve TZ (e.g. `EST5EDT,M3.2.0,M11.1.0`) to use directly to configure ESP32/ESP8266 timezone. Check [How to retrieve timezone? #51](#51) 2. Store those `_timezoneName` and `TZ` in LittleFS or SPIFFS config file. 3. Using these new timezone feature is optional. 4. Add checksum in config file to validate data read from LittleFS or SPIFFS config file. 5. Update examples to show how to use the new TZ feature.
1 parent d7ab9a9 commit f7e9e0e

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@
7878
* [14. Using AUTOCONNECT_NO_INVALIDATE feature](#14-using-autoconnect_no_invalidate-feature)
7979
* [15. Using CORS (Cross-Origin Resource Sharing) feature](#15-using-cors-cross-origin-resource-sharing-feature)
8080
* [16. Using MultiWiFi auto(Re)connect feature](#16-using-multiwifi-autoreconnect-feature)
81+
* [17. How to auto getting _timezoneName](#17-how-to-auto-getting-_timezonename)
82+
* [18. How to get TZ variable to configure Timezone](#18-how-to-get-tz-variable-to-configure-timezone)
83+
* [19. How to use the TZ variable to configure Timezone](#19-how-to-use-the-tz-variable-to-configure-timezone)
8184
* [HOWTO Open Config Portal](#howto-open-config-portal)
8285
* [HOWTO Add Dynamic Parameters](#howto-add-dynamic-parameters)
8386
* [1. Determine the variables to be configured via Config Portal (CP)](#1-determine-the-variables-to-be-configured-via-config-portal-cp)
@@ -4285,7 +4288,7 @@ HHHHHHHHHH HHHHHHHHHH HHHHHHHHHH HHHHHHHHHH HHHHH
42854288
This is terminal debug output when running [Async_ConfigOnDoubleReset_TZ](examples/Async_ConfigOnDoubleReset_TZ) on **ESP32_DEV.**. Config Portal was requested by DRD to input and save Credentials. The boards then connected to WiFi using new Static IP successfully, with correct local time, TZ set and using NTP
42864289

42874290

4288-
### 8.1 DRD => Config Portal
4291+
#### 8.1 DRD => Config Portal
42894292

42904293
```
42914294
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
@@ -4309,7 +4312,7 @@ Open Config Portal without Timeout: Double Reset Detected
43094312
Starting configuration portal @ 192.168.4.1, SSID = ESP_9ABF498, PWD = MyESP_9ABF498
43104313
```
43114314

4312-
### 8.2 Data Saved => Connect to WiFi with correct local time, TZ set and using NTP
4315+
#### 8.2 Data Saved => Connect to WiFi with correct local time, TZ set and using NTP
43134316

43144317
```
43154318
[WM] Connecting to new AP
@@ -4329,7 +4332,7 @@ Local Date/Time: Sat May 1 00:16:30 2021
43294332
Local Date/Time: Sat May 1 00:17:30 2021
43304333
```
43314334

4332-
### 8.3 Normal running with correct local time, TZ set and using NTP
4335+
#### 8.3 Normal running with correct local time, TZ set and using NTP
43334336

43344337
```
43354338
Starting Async_ConfigOnDoubleReset_TZ using LittleFS on ESP32_DEV
@@ -4376,7 +4379,7 @@ Local Date/Time: Sat May 1 00:15:19 2021
43764379

43774380
This is terminal debug output when running [Async_ESP_FSWebServer_DRD](examples/Async_ESP_FSWebServer_DRD) on **ESP8266_NODEMCU.**. Config Portal was requested by DRD to input and save Credentials. The boards then connected to WiFi using new Static IP successfully, with correct local time, TZ set and using NTP
43784381

4379-
### 9.1 DRD => Config Portal
4382+
#### 9.1 DRD => Config Portal
43804383

43814384
```
43824385
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU
@@ -4415,7 +4418,7 @@ Configuring AP SSID = ESP_AB1481
44154418
```
44164419

44174420

4418-
### 9.2 Data Saved => Connect to WiFi with correct local time, TZ set and using NTP
4421+
#### 9.2 Data Saved => Connect to WiFi with correct local time, TZ set and using NTP
44194422

44204423
```
44214424
[WM] Connecting to new AP
@@ -4449,7 +4452,7 @@ Local Date/Time: Sat May 1 03:12:54 2021
44494452
```
44504453

44514454

4452-
### 9.3 Normal running with correct local time, TZ set and using NTP
4455+
#### 9.3 Normal running with correct local time, TZ set and using NTP
44534456

44544457
```
44554458
Starting Async_ESP_FSWebServer_DRD using LittleFS on ESP8266_NODEMCU

0 commit comments

Comments
 (0)