From 28f7be344ff858acf3c93c774a085ce2a87ba238 Mon Sep 17 00:00:00 2001 From: Legolas-2025 Date: Wed, 1 Apr 2026 21:44:28 +0200 Subject: [PATCH] Bump version to 6.2.4 and add release notes Updated version from 6.2.3 to 6.2.4 and added highlights. --- VERSION.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/VERSION.md b/VERSION.md index 714fa55..9a76e55 100644 --- a/VERSION.md +++ b/VERSION.md @@ -2,13 +2,19 @@ ## Current firmware -- **Version:** 6.2.3 +- **Version:** 6.2.4 - **Release date:** 2026-04-01 - **Target MCU:** Seeed XIAO ESP32‑C3 - **Display:** 20x4 I²C LCD (PCF8574, default address `0x27`) - **API endpoint:** `https://api.energy-charts.info/price?bzn=SI` - **Resolution:** 15‑minute intervals, hourly averages for overview + ## Highlights of v6.2.4 + + - **BUG FIX:** Exact-boundary display refresh bug + - Problem: At the exact top of the hour (e.g., 20:00:00), the display automatically refreshed but showed the PREVIOUS hour's data (19:00). This happened because the "next-boundary" rounding logic in findCurrentPriceIndex() incorrectly excluded the current interval if the time was exactly on the boundary. + - Fix: Simplified findCurrentPriceIndex() to use a robust "last entry <= now" comparison. This ensures the display transitions to the new hour instantaneously at XX:00:00. + ## Highlights of v6.2.3 - **BUG FIX**: State-based display refresh logic