V 2.0.1: DST nun evtl. richtig
This commit is contained in:
@@ -378,7 +378,7 @@ void setAussenDataValues(float val, bool what, struct tm t)
|
||||
{
|
||||
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_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);
|
||||
|
||||
@@ -1,11 +1,14 @@
|
||||
// Versionsgeschichte
|
||||
|
||||
#define VERSION "2.0.0"
|
||||
#define VDATE "2025-06-09"
|
||||
#define VTIME "09:00 UTC"
|
||||
#define VERSION "2.0.1"
|
||||
#define VDATE "2025-10-26"
|
||||
#define VTIME "08:00 UTC"
|
||||
|
||||
/*
|
||||
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
|
||||
- Messwerte werden nun vom ZigBee-Sensor per MQTT empfangen,
|
||||
d.h. der BME280 wird nicht mehr verwendet
|
||||
|
||||
@@ -55,7 +55,9 @@ void connectToWifi() {
|
||||
Serial.print("Connected to the WiFi with IP: ");
|
||||
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();
|
||||
|
||||
server.on("/", []() {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#ifdef WEIFI
|
||||
const char *ntpServer = "pool.ntp.org";
|
||||
const long gmtOffset_sec = 3600;
|
||||
const int daylightOffset_sec = 3600;
|
||||
const int daylightOffset_sec = 0;
|
||||
|
||||
WebServer server(80);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user