mirror of
https://github.com/mfactory-osaka/ESPTimeCast.git
synced 2026-02-19 11:54:56 -05:00
UI Overhaul, Timezone Update & ESP32-S2 Stability Adjustment
Time Zone Update
•Added updated rule for: Atlantic/Canary → WET0WEST,M3.5.0/1,M10.5.0
•Ensures correct DST handling for Canary Islands region.
ESP32-S2 Adjustment
ESP32-S2 builds have been temporarily moved to HTTP-only mode.
This change improves stability due to SSL/TLS issues observed on certain boards (yes… looking at you, Wemos S2 Mini 👀).
Brand New Web UI
•Complete UI refinement for improved structure and clarity.
•Advanced settings reorganized into modular categories.
•Cleaner hierarchy and better consistency with the web installer.
•Improved micro-interactions and visual polish.
This commit is contained in:
@@ -22,9 +22,9 @@
|
||||
|
||||
#define HARDWARE_TYPE MD_MAX72XX::FC16_HW
|
||||
#define MAX_DEVICES 4
|
||||
#define CLK_PIN 7 //D5
|
||||
#define CS_PIN 11 // D7
|
||||
#define DATA_PIN 12 //D8
|
||||
#define CLK_PIN 7
|
||||
#define CS_PIN 11
|
||||
#define DATA_PIN 12
|
||||
|
||||
#ifdef ESP8266
|
||||
WiFiEventHandler mConnectHandler;
|
||||
@@ -1997,7 +1997,7 @@ bool isFiveDigitZip(const char *str) {
|
||||
// Weather Fetching and API settings
|
||||
// -----------------------------------------------------------------------------
|
||||
String buildWeatherURL() {
|
||||
#if defined(ESP8266)
|
||||
#if defined(ESP8266) || defined(CONFIG_IDF_TARGET_ESP32S2)
|
||||
String base = "http://api.openweathermap.org/data/2.5/weather?";
|
||||
#else
|
||||
String base = "https://api.openweathermap.org/data/2.5/weather?";
|
||||
@@ -2067,7 +2067,7 @@ void fetchWeather() {
|
||||
|
||||
HTTPClient http; // Create an HTTPClient object
|
||||
|
||||
#if defined(ESP8266)
|
||||
#if defined(ESP8266) || defined(CONFIG_IDF_TARGET_ESP32S2)
|
||||
// ===== ESP8266 → HTTP =====
|
||||
WiFiClient client;
|
||||
client.stop();
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -50,6 +50,7 @@ const TimeZoneMapping tz_mappings[] = {
|
||||
{"Asia/Ulaanbaatar", "ULAT-8"},
|
||||
{"Asia/Yekaterinburg", "YEKT-5"},
|
||||
{"Atlantic/Azores", "AZOT1AZOST,M3.5.0/0,M10.5.0/0"},
|
||||
{"Atlantic/Canary", "WET0WEST,M3.5.0/1,M10.5.0"},
|
||||
{"Atlantic/Reykjavik", "GMT0"},
|
||||
{"Australia/Adelaide", "ACST-9:30ACDT,M10.1.0,M4.1.0"},
|
||||
{"Australia/Brisbane", "AEST-10"},
|
||||
|
||||
@@ -1990,7 +1990,7 @@ bool isFiveDigitZip(const char *str) {
|
||||
// Weather Fetching and API settings
|
||||
// -----------------------------------------------------------------------------
|
||||
String buildWeatherURL() {
|
||||
#if defined(ESP8266)
|
||||
#if defined(ESP8266) || defined(CONFIG_IDF_TARGET_ESP32S2)
|
||||
String base = "http://api.openweathermap.org/data/2.5/weather?";
|
||||
#else
|
||||
String base = "https://api.openweathermap.org/data/2.5/weather?";
|
||||
@@ -2060,7 +2060,7 @@ void fetchWeather() {
|
||||
|
||||
HTTPClient http; // Create an HTTPClient object
|
||||
|
||||
#if defined(ESP8266)
|
||||
#if defined(ESP8266) || defined(CONFIG_IDF_TARGET_ESP32S2)
|
||||
// ===== ESP8266 → HTTP =====
|
||||
WiFiClient client;
|
||||
client.stop();
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -50,6 +50,7 @@ const TimeZoneMapping tz_mappings[] = {
|
||||
{"Asia/Ulaanbaatar", "ULAT-8"},
|
||||
{"Asia/Yekaterinburg", "YEKT-5"},
|
||||
{"Atlantic/Azores", "AZOT1AZOST,M3.5.0/0,M10.5.0/0"},
|
||||
{"Atlantic/Canary", "WET0WEST,M3.5.0/1,M10.5.0"},
|
||||
{"Atlantic/Reykjavik", "GMT0"},
|
||||
{"Australia/Adelaide", "ACST-9:30ACDT,M10.1.0,M4.1.0"},
|
||||
{"Australia/Brisbane", "AEST-10"},
|
||||
|
||||
Reference in New Issue
Block a user