We’re excited to release Frixos v64 — our biggest update since the initial public release. This one’s packed with performance improvements, accessibility upgrades, critical bug fixes, and a brand-new rescue feature that could save you from ever needing a programming cable. The full changelog is available on GitHub.
AI-Assisted Development
For this release cycle we leaned into AI tooling more than ever. Most of the day-to-day coding is done in Cursor, which has become our go-to IDE for rapid iteration. For code reviews and deeper analysis we use Claude Code — it’s been invaluable for catching subtle issues across the codebase.
We also enabled Google’s Jules, which continuously analyzes the codebase and suggests performance and UI optimizations. Many of the improvements in v64 — from O(1) bitwise filtering in the Settings API to single-pass DOM traversal in the translation engine — originated as Jules suggestions that we validated and merged. The Bolt (performance) and Palette (UI/accessibility) labels in our commit history reflect this workflow.
Performance Improvements
The ESP32 is a resource-constrained platform, and every byte of heap and every CPU cycle counts. In v64 we made significant gains:
- Chunked HTTP streaming for the status and WiFi scan endpoints replaces full cJSON tree construction, dropping peak heap usage from ~15-20KB down to ~4KB.
- Conditional log fetching — the Status API now only generates heavy log payloads when explicitly requested (
?logs=1), reducing routine status responses by over 60%. - Display rendering — replaced
pow()with direct multiplication, added guards to skip redundant LVGL label updates, and optimized the character width cache from O(N) linear search to O(1) hash lookup. - Token replacement in scrolling messages now uses pre-calculated lengths and direct memory copies instead of nested loops and
snprintf. - Web UI — the translation engine got path caching (~70% faster lookups), single-pass DOM traversal, and a global
el()helper that replaced 174 individualgetElementByIdcalls.
Community-Driven Bug Fixes
Some of the most important fixes in v64 came directly from customer feedback. Users running edge-case configurations helped us uncover rare but critical bugs that are nearly impossible to find in lab testing:
- Buffer corruption — a race condition in the buffer pool could steal an in-use buffer, corrupting another task’s HTTP response mid-parse. This manifested as intermittent garbled settings or random reboots that were incredibly hard to reproduce.
- HA integration timeouts — the 3-second HTTP timeout wasn’t enough for the full SSL/TLS handshake on ESP32, causing Home Assistant connections to fail sporadically. We bumped it to 8 seconds and fixed an invalid
Connection: keep-closeheader. - Mutex race condition — lazy mutex initialization meant two threads could each create their own mutex, leaking one and leaving shared state unprotected.
- Alternating CGM display and LVGL stack crashes when certain integrations were active — both reported by users and fixed in this release.
New Feature: Auto-Rescue Mode
This is the one we’re most proud of. Previously, if a bad configuration put your Frixos into a reboot loop, the only way out was to flash the firmware using a USB-to-serial adapter and the P1 PGM header — which requires a custom cable and a computer with ESP-IDF tools.
No more. Frixos v64 introduces auto-rescue mode: if the device fails to boot successfully 4 times in a row (i.e., it doesn’t stay running for at least 2 minutes; since then lowered to 3), it automatically enters rescue mode on the next boot. In rescue mode, all NVS settings are reset to defaults except your WiFi credentials. This means your Frixos reconnects to your network with a clean configuration, and you can reconfigure it through the web UI — no cable, no flashing, no tools needed.
This is a game-changer for situations like:
- A bad integration URL causing a crash loop
- Corrupt settings after a power outage
- Experimental configurations that brick the display
Your WiFi credentials are preserved so the device remains reachable on your network. Everything else starts fresh.
Web UI & Accessibility
The web UI received a thorough accessibility pass:
- Password visibility toggles on all credential fields (WiFi, Home Assistant, Stock, Glucose)
- Loading spinners and disabled buttons during async operations
- Interactive clickable tokens for the scrolling message editor
- Full keyboard navigation and focus management in the reset modal
- ARIA attributes throughout —
aria-describedby,aria-invalid,aria-required, screen reader live regions - Translation fixes across all 9 supported languages
Thank You
This release wouldn’t have happened without the Frixos community. Your bug reports, configuration logs, and feature suggestions drive this project forward. Every “it rebooted randomly when I…” message leads to a real fix that benefits everyone.
We’re looking forward to hearing your ideas for what comes next. Drop us a line, open an issue on GitHub, or join the conversation — we’re listening.
— The Frixos Team
