Frixos v70: Signed Updates, a Real Graphing Engine, a Cockpit Rebuild – and a Whole New Filesystem

Frixos v70: signed updates, a real graphing engine, a rebuilt cockpit and a new filesystem

It’s been a busy few months on the workbench. Since we last wrote to you here — that was the big v64 release — Frixos has quietly rolled through v65, v66 and a rapid-fire v67–v69, and has now landed on v70 — and it’s the release we’re most proud of yet. If you own a Frixos, your clock has probably already pulled this down over the air (more on how that happens further down, because we changed it in a pretty fundamental way).

This one is a proper geek’s update. There’s a new cryptographic trust layer under the OTA system, a genuine time-series graphing engine, a screen you can finally lay out exactly how you want it, a from-scratch rebuild of the web UI, an entirely new on-device filesystem, and a long tail of fixes. Grab a coffee.

And before anything else, the honest part: a lot of what follows didn’t come from us. v67 leans heavily on code and ideas sent in by Frixos owners — pull requests, bug reports, and long GitHub threads. One contributor in particular, Benoit Poirier, has his fingerprints on half of this release. We’ve called out who did what throughout, and there’s a proper thank-you at the end. Keep it in mind as you read: this is your clock, and increasingly it’s your code too.


The overview

If you only read the headlines, here’s what changed between v64 and v70:

  • Signed OTA updates. Every firmware and web-asset update is now cryptographically signed (ECDSA P‑256) and verified on the device before anything is written. Your clock will refuse to install anything that isn’t genuinely from us.
  • A real graphing engine, and a screen that’s yours. A generic time-series graph widget for glucose, Home Assistant sensors, stocks or weather — plus a fully customisable layout, so you can arrange every element on the screen to your taste and save it as a preset.
  • The web UI, rebuilt. The settings interface is now four clean tabs with progressive disclosure, a unified save bar, and a gallery of ready-made layouts you can apply with one click.
  • Home Assistant, grown up. Full dashboard layouts, sensor history backfill, and a dedicated HA graph preset.
  • Better diabetes support. A parser fix that was quietly losing CGM data, history backfill across all three CGM vendors, and a device-type selector.
  • A whole new filesystem. v70 retires SPIFFS for LittleFS — the storage layer your clock keeps its web UI, fonts and layouts on — after SPIFFS’s high-usage failure mode briefly locked some devices out of their own updates. More on that saga below.
  • The small stuff. A tiny 5‑pixel font, day/night font shortcuts with live samples, user-uploadable icons, an astronomically-correct moon phase, and a pile of robustness fixes — much of it community-contributed.

Now the details.


1. Signed OTA updates — the new trust layer

This arrived in v67 and it’s the kind of thing you don’t notice when it works — which is exactly the point.

Frixos updates itself by talking to our update server, pulling down a manifest of files, and writing new firmware and web assets to its own flash. Until now, that conversation happened over plain HTTP. For a small desk clock on your home network that was a pragmatic trade-off, but it always bugged us: in principle, anything sitting between your clock and our server could tamper with an update in flight.

v67 closes that hole properly. Here’s how it works:

  • When we publish a release, the whole update is described by a signed manifest. It lists the firmware image and every web file, each with its SHA‑256 hash, and it’s signed with an ECDSA P‑256 key.
  • Your clock ships with our public key baked into the firmware. Before it installs anything, it downloads the manifest, verifies the signature against that key, and only then trusts the list of hashes inside.
  • Each manifest also carries a monotonically-increasing generation number that the device remembers in non-volatile storage. That means a downgrade or a replay of an old, legitimately-signed update gets rejected too — not just outright forgeries.
  • Files are then reconciled, not blindly overwritten: the device hashes what it already has, skips anything that already matches, and stream-hashes each download as it lands so a corrupted transfer can never masquerade as a good file.

Two engineering decisions in here are worth calling out for the enthusiasts:

The firmware always reflashes. Even if the running firmware matches the target, the update pipeline rewrites it. That’s deliberate — it guarantees that a device can always recover itself to a known-good, signature-verified image, rather than getting “stuck” trusting whatever is already on flash.

It self-heals, gently. After an update, the device does a quiet background pass on its idle cycles to make sure its web files exactly match the signed manifest — but only when the manifest’s generation number has genuinely advanced. That protects any files you’ve customised locally from being stomped on between releases.

And because we run on an ESP32 with a famously tight memory budget — during the first minute after boot there can be single-digit kilobytes of free heap while weather and sensor connections fire up — the whole verifier had to be built to hold essentially no large buffers. It streams the manifest from disk one entry at a time and waits for enough free heap before it even starts. Getting cryptographic verification to run in that envelope, on real devices in beta, was most of the work.

Signing itself now happens on a hardware security key (a YubiKey, PIN + physical touch) as part of our publish process. The private key never touches a hard drive we control day-to-day. If that sounds paranoid for a clock company — good.

One thing that didn’t change: updates you push manually over your own LAN stay unsigned by design. That’s your device on your network under your control; the signing requirement is about the public update path.

2. A whole new filesystem — SPIFFS out, LittleFS in

The new signed-update layer got its first real stress test faster than we expected — from our own storage.

Since day one, your clock has kept its web interface, fonts, icons and layouts on a small on-flash filesystem called SPIFFS. SPIFFS has a known dark side: past roughly 80 % usage, the space it reports as “free” stops being usable — and years of growing features had quietly walked us up to that line. On the fullest devices, the update system suddenly couldn’t write a 9 KB file with 258 KB reported free. Worse, it was a perfect trap: to free space the device needed to update, and to update it needed free space.

v68 and v69 were rapid-fire rescue releases — a clever ~350-byte “bootstrap” update small enough to squeeze past the blockage, plus a smarter storage cleaner. That freed most of the affected clocks, but not all of them. So v70 stops patching the problem and removes it:

  • LittleFS replaces SPIFFS. It’s modern, power-fail-safe, has real folders, and — crucially — it reclaims space as it goes. There is no high-usage cliff to fall off, ever again.
  • The switch is fully automatic. On its first boot after the update, your clock reformats its storage and re-downloads every file, each one verified against the signed manifest. Your settings are stored separately and are never touched.
  • You might notice it happening once: the projection shows “Updating…” and the clock’s web page is briefly unavailable while it rebuilds — about two minutes on a normal connection. Then it’s done, permanently.

If you enjoy a proper engineering war story — the deadlock, the fleet telemetry, the bootstrap trick, and why the fix that should have worked didn’t — we wrote the whole saga up in detail: ESP32 OTA updates: when things go wrong.

If your clock seemed stubborn about updating recently — this was why. It’s fixed, and the fix means it can’t happen again.

3. A real graphing engine — and a screen that’s finally yours

This is the fun one. Two things came together in v67 that, between them, change what a Frixos is: a genuine graphing engine, and a layout system that lets you arrange the whole screen yourself. Your clock no longer has to look like everyone else’s.

Every element, wherever you want it

Under the hood, the screen is now a set of independent widgets — the time, the date, weather, the moon, a glucose reading, a stock ticker, a scrolling message, your own icons, and now graphs. Each one is a thing you can pick up and move. You drag them onto a 128×128 canvas, set their position and layering, and the device renders exactly that. There are even separate day and night profiles, so your clock can wear one face in daylight and a dimmer, simpler one at night.

Because layouts are just files now, they’re shareable and swappable. v67 ships with a growing set of presets — a clean Default clock, a Diabetes layout built around a big glucose readout and its trend graph, a Weather dashboard, and a Home Assistant dashboard — and you can save your own arrangement as a preset too. Here are five of them projected from a real device — the same hardware, tailored to whatever you actually care about glancing at across the room:

Five Frixos layout presets projected on a wall: Default clock, CGM Graph, Weather, Home Assistant, and HA Graph
Five of the layouts v67 ships with, photographed straight off the projection — Default, CGM Graph, Weather, Home Assistant and HA Graph. Same clock, five very different faces, and every element is drag-and-drop.

And here’s where you make it yours — the redesigned layout editor. Pick elements from the palette, drop them onto a live preview of your actual screen, nudge them into place (with the keyboard, if you like), and start from a preset if you don’t fancy a blank canvas. What you see in the editor is what the device draws.

The Frixos v67 web layout editor showing the element palette and a live preview of the round projection
The real layout editor: drag elements from the palette onto a live preview of the round projection, adjust position and layering, and start from a preset. Day and night profiles are edited independently.

The graphing engine

The Frixos screen is 128×128 pixels. That is not a lot of real estate. But it turns out to be exactly enough for a good, legible line graph — and v67 ships a generic time-series graph widget you can place anywhere on your layout. Point it at anything that produces a number over time:

  • Glucose from a CGM (Dexcom, FreeStyle Libre, or Nightscout)
  • Home Assistant sensors — temperature, power draw, humidity, whatever you expose
  • Stocks via Finnhub
  • Weather trends

The graph isn’t a toy. Under the hood it’s a proper ring buffer of samples with a canvas plot on top, and it grew a real feature set over v66/v67:

  • Threshold bands — draw a “good” range (say, 70–180 mg/dL for glucose) as shaded lines, and the trend line changes colour exactly at the crossing point. Band boundaries are order-independent, so you can’t misconfigure them.
  • Independent X and Y axis labels you can toggle on or off, drawn in Tiny5 — a custom 5‑pixel font we added specifically so four digits of axis label fit in 17 pixels. Every pixel is fought over at this size.
  • History backfill. When a graph appears, it doesn’t start empty and slowly fill over the next hour — the device fetches the actual history from the source and draws a full curve immediately. We implemented backfill for all three CGM vendors and for Home Assistant sensors.
  • Sub-pixel-accurate curve rendering, gap-bridging for sparse data like CGM, and a live editor preview that tracks the width and height you configure.

The entire graphing engine was contributed by Benoit Poirier (PR #180 and a long series of follow-ups). It is, comfortably, the headline feature of the release — and it came from the community. More on that below.

4. The web UI, rebuilt

If you’ve configured your Frixos through its built-in web page, you’ll notice this immediately: the settings interface has been completely restructured.

The rebuilt Frixos v67 web UI Device tab with four tabs, connection form and an Advanced disclosure
The rebuilt web UI — four tabs, sensible defaults up front, and the fiddly bits tucked behind an “Advanced” fold-out.
  • Four tabs — Device, Integrations, Layout, System — instead of the old scroll-forever wall of options.
  • Progressive disclosure. The common settings are right there; the fiddly stuff lives behind tidy “Advanced” fold-outs so you’re not overwhelmed. The dangerous stuff (factory reset, and friends) sits in a clearly-marked danger zone.
  • A unified save bar. Per-tab save buttons are gone. Make changes across any tab, and one save bar appears, tracks exactly what’s dirty, and commits it all at once.
  • A layout preset gallery right in the Layout tab — click a preset, hit Apply, done.
  • Integration status dots so you can see at a glance whether Home Assistant, your CGM, or weather is actually connected and reporting — not just configured.
  • Plenty of polish under that: character counters on length-limited fields, password show/hide toggles, keyboard nudging in the layout editor, and a measurable speed-up of the drag-and-drop screen editor.
The Frixos v67 Layout tab preset gallery with Default, Diabetic, HAGraph, HomeAssistant and Weather presets
The preset gallery in the Layout tab — Default, Diabetic, HAGraph, HomeAssistant and Weather, each a one-tap starting point you can then customise.

The whole thing is also now localised into nine languages, and in v67 we extended that to the little status messages the device itself sends back to the UI, so those come through translated too. A good chunk of this tab’s structure — the cleaner settings layout, the loading states, the way the files are organised — started as work from Benoit Poirier (PR #177).

5. Home Assistant, grown up

Home Assistant has quietly become one of the most popular ways to drive a Frixos, so we leaned into it.

  • Dashboard layouts. The new HA preset turns the clock into a nine-value Home Assistant dashboard, with the values colour-grouped so they’re readable at a glance across the room.
  • The HA Graph preset pairs that with the new graphing engine — pick a sensor and watch its trend live.
  • History backfill for HA sensors, including a fix to request un-summarised attribute history so graphs of things like power or temperature come up already populated instead of drawing themselves in real time.

6. Better diabetes and CGM support

Frixos has a real following in the diabetes community — a glanceable, always-on glucose display across the room is genuinely useful — so CGM support got serious attention.

Frixos v67 glucose monitoring integration setup with device-type selector, target range and unified save bar
Setting up a CGM in v67 — a device-type selector, target range, and the unified save bar that tracks changes across every tab.
  • A parser fix that mattered. We found and fixed a bug in the FreeStyle Libre parser that was dropping most of the data in each update because it wasn’t handling the way the data arrived in chunks. If you use a Libre, your readings just got a lot more complete and reliable — and that one surfaced straight from user reports.
  • History backfill across all three vendors (Dexcom, FreeStyle, Nightscout), so the new graph shows your real recent trend the instant it appears.
  • A CGM device-type selector in the UI, so setup is a dropdown instead of guesswork.
  • The Diabetic layout preset with the 70–180 mg/dL target band switched on out of the box.

7. The small stuff (that geeks actually love)

  • Tiny5 — a hand-built 5‑point pixel font, available for any text label on the screen, not just axis labels. When you’re painting on a 128‑pixel canvas, having a legible font that’s genuinely tiny opens up layouts that weren’t possible before.
  • Day and Night font shortcuts with live font samples, so you can set different typefaces for daytime and dimmed night mode and actually see them before committing.
  • User icons. Eight icon slots you can fill with your own uploaded JPGs, straight from the editor’s palette — bring your own glyphs.
  • An astronomically-correct moon phase. The moon-phase icon now picks its image from a proper elongation-based calculation instead of a rough approximation, so it actually matches what’s in the sky.
  • Smoother scrolling text. The scrolling message is now a time-based, infinite loop instead of the old stutter — and it came in as a community pull request.

8. Robustness and fixes

The unglamorous list — every one of these makes your clock a little more solid:

  • Changing screen rotation no longer reboots the device or wipes your WiFi password. This was a nasty one and it’s gone.
  • Fixed the OTA update-check occasionally choking on stale weather data and misreading it as a firmware version.
  • Trimmed the boot-time memory peak so the tight first-minute heap budget has more breathing room.
  • Closed a stale-response buffer leak where one HTTP request’s data could bleed into the next.
  • OTA now supports web files in subfolders, so we can organise assets sensibly on future releases.
  • Countless graph, layout-editor, and rendering fixes — the calibration grid is now a single efficient overlay instead of fourteen separate line objects, and the layout editor migrates your old v66 settings forward automatically.

The people behind this release

We mean it when we say this release belongs to the community. Most of the momentum in this release cycle — and its single biggest feature — came from Frixos owners who didn’t just file a wishlist, but sat down and wrote the code.

Enormous thanks to Benoit Poirier, whose contributions run right through this release:

  • The entire graphing engine (PR #180) — the generic time-series widget behind the glucose, Home Assistant, stock and weather graphs. The headline feature of the cycle, built and refined over a long series of commits.
  • The improved settings layout and canvas work (PR #177) — a big part of the foundation the rebuilt web UI is standing on, including nicer loading states, better WiFi/time settings, and a cleaner project structure.
  • The “Locate me” geolocation button (PR #176) — one tap to set your location for weather instead of hunting down coordinates.
  • Smoother, infinite-loop scrolling message text (PR #173).
  • A developer guide (PR #174) so the next contributor can get an ESP-IDF build up and running without the usual afternoon of yak-shaving.

Thanks too to Dave Shackleton, who contributed the fix for the accurate, elongation-based moon phase — the reason the little moon icon now actually matches the sky.

And thank you to everyone who filed a bug report. Several of the most important fixes here — the FreeStyle Libre parser dropping data, the rotation change wiping WiFi credentials, the stale-buffer leak — started life as a message from an owner who noticed something was off and took the time to tell us. That feedback loop is the whole reason this thing keeps getting better.

If you’d like to be in the next one of these posts: the firmware is open, the GitHub repo is open, and there’s now a developer guide to get you started. Bug reports, feature ideas and pull requests are all genuinely welcome.


How you get v70

Here’s the nice part: you probably already have it, or will within a day. Frixos checks for updates on its own, and depending on where your clock started it may hop through an intermediate version or two on the way (that’s the rescue chain from the filesystem story above doing its job) — every hop verified end to end by the signature layer that shipped in v67, the first release to travel that fully-signed path from our build machine to your desk.

Frixos System tab showing the firmware version and device information
The System tab (shown here mid-cycle on v67) — the current version and the update controls live here.

If you want to check or nudge it along, open your clock’s web page on your network, head to System, and you’ll see the current version and the update controls there.

As always, Frixos is built in the open. If you want to peek at how any of this works, file a bug, or contribute your own fix, you’ll find us on GitHub — and increasingly, you’ll find your fellow owners’ names in the commit log.

Here’s to v70 — most of it built by people who own one. Now go put a graph on your clock.