58 Commits

Author SHA1 Message Date
M-Factory
5b65897992 Firmware version loads directly from sketch 2026-02-19 17:30:32 +09:00
M-Factory
b3c2aadbdb ESPTimeCast Firmware 1.0.1 - Patch Release
• ESP32 auto pin handling: Improved board detection and automatic MAX7219 pin configuration for ESP32 variants.

• Reliable Web UI update mechanism: Replaced size-only validation of /index.html with content comparison to ensure HTML updates correctly, even when file size remains unchanged.

• AP-mode SSID/Password bug: Saving in AP mode now preserves the correct SSID and password, preventing the device from getting stuck in AP mode.

• AP-mode loop refactor: Display animation and web server handling optimized for better responsiveness and stability.

• Web UI updates: factory_reset and upload endpoints updated to match the new design. Small UI improvements.

⸻

Notes:

• Users experiencing AP-mode issues should reselect their WiFi and re-enter their password once to restore STA mode.

• Patch release only; no new features added.
2026-02-18 17:06:25 +09:00
M-Factory
65b48550e9 ESPTimeCast Firmware 1.0.1 – Patch Release
Fixed / Updated:

• AP-mode SSID/Password bug: Saving in AP mode now preserves the correct SSID and password, preventing the device from getting stuck in AP mode.

• AP-mode loop refactor: Display animation and web server handling optimized for better responsiveness and stability.

• Web UI updates: factory_reset and upload endpoints updated to match the new design.

Notes:
• Users experiencing AP-mode issues should reselect their WiFi and re-enter their password once to restore STA mode.

• Patch release only; no new features added.
2026-02-18 10:50:05 +09:00
M-Factory
ed0be37d4b 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.
2026-02-14 15:57:46 +09:00
M-Factory
a3ede7fc5e 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.
2026-02-14 00:17:38 +09:00
M-Factory
44f22e2779 ESP32: Improved LittleFS initialization logging during first boot 2026-01-31 16:03:17 +09:00
M-Factory
2097aba754 Improvements to weather fetch stability across ESP8266 and ESP32.
This resolves random reboots and memory exhaustion when refreshing the UI
while a weather update is in progress on ESP8266.

- ESP8266 now uses HTTP for OpenWeatherMap to avoid TLS-related OOM crashes
- ESP32 continues to use HTTPS without regression
- Verified stability during forced mid-fetch refreshes from the web UI
2026-01-30 11:31:49 +09:00
M-Factory
cfd645b25c Added Wifi scan, improved captive portal stability
- Added WiFi scan for easy SSID selection during setup
- Fixed captive portal redirect loop causing repeated redirects and occasional OOM
- Simplified handleCaptivePortal logic and removed conflicting 204 route handlers
- Prevented API endpoints (/config.json, /ip, /hostname) from being redirected
- Improved AP mode stability during repeated browser refresh and captive probes
- Minor logging cleanup for better debugging visibility
2026-01-27 22:36:30 +09:00
M-Factory
4d956aaa50 Improved hostname handling and Web UI network info
- Centralized device identity (hostname, AP SSID, AP password).
- Added cross-platform setupHostname() for ESP8266 / ESP32.
- Apply hostname before WiFi connection in STA and AP modes.
- Enabled WiFi.persistent(false) to reduce flash writes.
- mDNS now uses configured hostname consistently.
- Added /ip and /hostname endpoints.
- Web UI footer now displays live IP and host (or AP mode).
- Clear behavior in AP mode (shows AP IP and AP-Mode).
2026-01-26 15:40:47 +09:00
M-Factory
8121e5d1a9 Clock-Only Dim Mode + Safe Config Migration & USB Stability
- Implemented safe config migration for new JSON key
- Auto-update HTML UI when version changes
- Improve USB CDC serial stability on native USB boards
- Avoid blocking serial dumps on native USB boards
- Added “Clock-Only Mode When Dimmed” feature
- Cross-board stability validation (ESP8266 / ESP32 / S2)
2026-01-23 14:59:44 +09:00
M-Factory
e859132351 Improvement: Properly manage mDNS lifecycle on WiFi events 2025-12-15 19:38:03 +09:00
M-Factory
e008e64921 Added mDNS support for easy access via http://esptimecast.local 2025-12-01 13:17:29 +09:00
M-Factory
4f22ffb024 Added mDNS support for easy access via http://esptimecast.local 2025-12-01 12:08:33 +09:00
M-Factory
4ffd8f4697 Added 'deg' symbol to custom messages sent via HA 2025-11-22 20:13:26 +09:00
M-Factory
8224b05949 Added Home Assistant brightness endpoint and support static display for short messages (≤8 chars). 2025-11-21 13:33:50 +09:00
M-Factory
3bee52f6d2 Added Home Assistant brightness endpoint and support static display for short messages (≤8 chars). 2025-11-21 12:04:22 +09:00
M-Factory
058bce4776 Enhance ESP32/ESP8266 network stability and reliability while adding clearer WiFi event logging for improved diagnostics. 2025-11-19 22:25:02 +09:00
M-Factory
3dd89df2cf Improved Home Assistant integration with new message duration and scroll count parameters 2025-11-17 22:51:48 +09:00
M-Factory
378f79c60e Improved NTP handling on boot 2025-11-17 18:25:53 +09:00
M-Factory
2a6ab2d1be Fixed Dimming Logic 2025-11-17 16:59:48 +09:00
M-Factory
9493788ebd Fixed Dimming Logic 2025-11-17 16:56:19 +09:00
M-Factory
d5d5cf683a Bug fixes
Fixed "ElementProxy or MemberProxy error" when uploading thru platformio
2025-11-16 18:21:46 +09:00
M-Factory
666dd85b4e Web UI: Embedded HTML to LittleFS via streaming to prevent memory crashes and stabilize serving.
Added check to see if HTML exist and if should be replaced or not
2025-11-14 13:54:07 +09:00
M-Factory
a490e9cfb5 Web UI: Provision embedded HTML to LittleFS via streaming to prevent memory crashes and stabilize serving.
This update changes the root web handler to serve the configuration page strictly from LittleFS. On the first boot, the large HTML content is safely copied from the embedded PROGMEM string to a file using a streaming write loop, which prevents heap fragmentation and subsequent memory allocation failures. This guarantees stable and reliable loading of the configuration page across all devices.
2025-11-14 10:43:12 +09:00
M-Factory
334490a5a6 Bug fixes 2025-11-14 03:10:48 +09:00
M-Factory
26af0fd7e5 Bug fixes 2025-11-14 00:51:29 +09:00
M-Factory
f6d5cba1fb Added /factory_reset endpoint
/factory_reset to delete all time and config data, available only thru in AP mode:
192.168.4.1/factory_reset
2025-11-13 22:52:43 +09:00
M-Factory
9714ab3a5f Web UI and config embedded; no /data upload needed
The ESPTimeCast project now includes the web interface (HTML/CSS/JS) and configuration files directly in the sketch.

Key improvements:
- No separate `/data` folder or LittleFS upload is needed.
- After flashing the sketch, the device will automatically create and manage the configuration on first boot.
- The setup process is simplified: users only need to upload the main sketch for full functionality.
- Backwards-compatible with existing boards: previous configuration files will still be loaded if present.

This change makes installation faster, reduces potential errors with LittleFS uploads, and simplifies maintenance for new users.
2025-11-13 14:19:52 +09:00
M-Factory
7e892a6216 Dimming serial log improvements 2025-11-12 20:31:40 +09:00
M-Factory
03a5432cbe Added automatic dimming based on sunrise/sunset times from the weather API 2025-11-11 23:16:17 +09:00
M-Factory
0d704d4bf3 Added Home Assistant Support
Fixed a bug were HA message was wrongly save as persistent
2025-11-08 22:05:59 +09:00
M-Factory
7096653bca Added Home Assistant Support
Added Home Assistant Support.
Bug fixes
2025-11-08 17:37:45 +09:00
M-Factory
18d816a60d Add hidden /export and /upload endpoints for manual config backup and restore 2025-11-06 21:08:28 +09:00
M-Factory
2363d1e046 Display total runtime in Web UI 2025-11-05 20:28:02 +09:00
M-Factory
b5edbe6658 Display total runtime in Web UI 2025-11-03 18:31:15 +09:00
M-Factory
dd530a1c99 Added runtime log 2025-11-03 00:59:41 +09:00
M-Factory
eed3fd65ea Nightscout outdated data display update 2025-10-30 16:03:55 +09:00
M-Factory
a722d2ebaf Added extra characters to Countdown label 2025-10-30 14:58:26 +09:00
M-Factory
48c4818a5c Improved location detection
Switched to HackerTarget GeoIP with JSON output for cleaner data.
Added smarter normalization for missing or "None" fields.
More reliable label display (city → state → country fallback).
2025-10-27 21:31:38 +09:00
M-Factory
dedccfb308 Nightscout update 2025-10-27 17:52:38 +09:00
M-Factory
ac8ab62858 Fix URL encoding for city names with spaces (e.g., New York, Belo Horizonte) 2025-10-26 15:21:00 +09:00
M-Factory
b97880bcf1 Captive portal update, Pinout update and API obfuscation
Captive portal will now open automatically in most devices.
Some user were concerned that their API key was visible so it is now obfuscated.
Pinout has been updated to better fit all the Wemos boards.
2025-10-17 17:31:07 +09:00
M-Factory
51aa139eef Safer SSID and Password handling
Safer SSID and Password handling
2025-09-27 23:09:11 +09:00
M-Factory
eb6dd7b09d Updated Russian Language
Updated Russian Language
2025-09-27 11:30:48 +09:00
M-Factory
ca4426b9bf Added Russian Language
- Added Russian Language
- Bugfixes ESP8266
2025-09-27 01:28:32 +09:00
M-Factory
892afda296 Https API support, screen off mode, password length update
- Added https support for openweathermap
- Screen can be turn Off with the brightness slider
- Password length has been updated to meet the standard requirements
2025-09-26 17:06:35 +09:00
M-Factory
8a790dbf4a Security update
Saved ssid and password are no longer visible when the device starts in AP mode
2025-09-07 14:24:44 +09:00
M-Factory
d13b32f6b5 Improved NTP handling 2025-09-04 20:59:45 +09:00
M-Factory
53d362fc79 Smoother transitions
Smother transitions between scrolling screens
2025-08-31 20:59:06 +09:00
M-Factory
1fd35d235f Added seconds to clock without the days of the week
Added seconds to clock without the days of the week.
Blinking colon toggle changed to Animated seconds.
Correct days of the week for German language.
Geolocation changed to ip-api.com
2025-08-29 22:05:34 +09:00