V 2.0.1: DST nun evtl. richtig

This commit is contained in:
rxf
2025-10-26 09:24:41 +01:00
parent 91e98d7c89
commit a08bb8f2a5
5 changed files with 12 additions and 7 deletions

View File

@@ -16,8 +16,8 @@ lib_compat_mode = strict
lib_deps = lib_deps =
bblanchon/ArduinoJson@^7.1.0 bblanchon/ArduinoJson@^7.1.0
adafruit/Adafruit BME280 Library@^2.2.4 adafruit/Adafruit BME280 Library@^2.2.4
lvgl/lvgl@^9.1.0
bodmer/TFT_eSPI@^2.5.43 bodmer/TFT_eSPI@^2.5.43
knolleary/PubSubClient@^2.8 knolleary/PubSubClient@^2.8
ayushsharma82/ElegantOTA@^3.1.5 ayushsharma82/ElegantOTA@^3.1.5
lvgl/lvgl@9.1.0
monitor_speed = 115200 monitor_speed = 115200

View File

@@ -378,7 +378,7 @@ void setAussenDataValues(float val, bool what, struct tm t)
{ {
if (what) if (what)
{ {
lv_label_set_text_fmt(ta_label,"Ta:\n%.1f °C", val); lv_label_set_text_fmt(ta_label,"Taussen:\n%.1f °C", val);
lv_obj_align(ta_label, LV_ALIGN_TOP_LEFT, 10, 10); lv_obj_align(ta_label, LV_ALIGN_TOP_LEFT, 10, 10);
lv_label_set_text_fmt(tta_label,"%02d:%02d\n", t.tm_hour, t.tm_min); lv_label_set_text_fmt(tta_label,"%02d:%02d\n", t.tm_hour, t.tm_min);
lv_obj_align(tta_label, LV_ALIGN_TOP_LEFT, 10, 45); lv_obj_align(tta_label, LV_ALIGN_TOP_LEFT, 10, 45);

View File

@@ -1,11 +1,14 @@
// Versionsgeschichte // Versionsgeschichte
#define VERSION "2.0.0" #define VERSION "2.0.1"
#define VDATE "2025-06-09" #define VDATE "2025-10-26"
#define VTIME "09:00 UTC" #define VTIME "08:00 UTC"
/* /*
Version Date Author Version Date Author
2.0.1 2025-10-26 rxf
- DST jetzt hoffentlich richtig mit dem TZ-String
2.0.0 2025-06-09 rxf 2.0.0 2025-06-09 rxf
- Messwerte werden nun vom ZigBee-Sensor per MQTT empfangen, - Messwerte werden nun vom ZigBee-Sensor per MQTT empfangen,
d.h. der BME280 wird nicht mehr verwendet d.h. der BME280 wird nicht mehr verwendet

View File

@@ -55,7 +55,9 @@ void connectToWifi() {
Serial.print("Connected to the WiFi with IP: "); Serial.print("Connected to the WiFi with IP: ");
Serial.println(WiFi.localIP()); Serial.println(WiFi.localIP());
configTime(gmtOffset_sec, daylightOffset_sec, ntpServer); configTime(0, 0 , ntpServer);
setenv("TZ","CET-1CEST,M3.5.0,M10.5.0/3",1);
tzset();
printLocalTime(); printLocalTime();
server.on("/", []() { server.on("/", []() {

View File

@@ -17,7 +17,7 @@
#ifdef WEIFI #ifdef WEIFI
const char *ntpServer = "pool.ntp.org"; const char *ntpServer = "pool.ntp.org";
const long gmtOffset_sec = 3600; const long gmtOffset_sec = 3600;
const int daylightOffset_sec = 3600; const int daylightOffset_sec = 0;
WebServer server(80); WebServer server(80);