What happens next on the scale, in the order we agreed on. Each phase builds on the one before.
Status: [x] done · [~] in progress · [ ] open
Cleanup and tooling before new features.
- Display refactor (Firmware) All modes and the updater draw themselves on a canvas; frames are only sent when something changed.
- Dev updates from the laptop (Firmware, Tooling)
pio run -t serve, then long-press in the updater. The scale finds the laptop via mDNS. - ESP32 build in CI (Tooling) Every push builds the ESP32 firmware in English and German, next to the native tests and the emulator, so errors show up right away, not at the next release.
- Emulator and screenshot tests (Tooling)
pio run -e emulator -t execshows the scale in a desktop window; arrow keys and Enter replace the rotary encoder. Simulated load cell at 10 Hz, virtual clock, and every screen is compared against a PNG in CI. - Raw data recorder (Firmware, Tooling) The scale records readings and uploads them to the dev server; native tests replay them. Next: record real taps, shots and cups.
- Record without the laptop (Firmware, Tooling)
The recorder saves to flash with a long-press, with or without the laptop; a long-press while idle sends them all to
pio run -t record. - Fix the inputs (Firmware) The ESP32's pulse counter counts the rotary encoder instead of an interrupt; clicks go into a queue as events. Fixes lost or doubled clicks and possible crashes while writing to flash.
- Load cell task and weight pipeline (Firmware) A dedicated task reads the load cell via the data-ready pin and timestamps every reading. Calibration, tare, filter and flow are separate stages. Shot, tap and auto-tare detection read this stream independently of the mode.
- Settings in NVS (Firmware) Settings and calibration stored under keys in NVS, via the ESP-IDF API, instead of at fixed EEPROM addresses.
- Own Wi-Fi setup instead of AutoConnect, and safe updates (Firmware)
Set up from the phone, no app: the scale opens its own access point and shows a Wi-Fi QR code; the camera joins it and the setup page opens. Asked once on the first start, then in the settings menu. Built on the ESP-IDF API, so it carries over. Updates check GitHub's certificate against the CA bundle instead of
setInsecure(), and a firmware that crashes in its first seconds rolls back to the previous one. Core 2.0.17 already has both, so the move to Core 3.x waits. - Automatic updates (Firmware) Every 5th start the scale checks GitHub in the background for a newer firmware, and the next start asks "Update to v1.10?". Yes installs exactly that version, Later asks again next time, and a version that was rolled back isn't offered again. Wi-Fi is shared: whoever needs internet holds a connection, the last one turns Wi-Fi off. The dev server can pose as a release, see development.
- Zero tracking (Firmware) When the scale is empty and steady, it slowly pulls small deviations around zero back to zero, e.g. as it warms up. Paused during shots and recipes so slow first drops aren't tracked away.
The scale understands what happens on it.
- Lift-to-tare (Firmware) Sliding a finger up the side of the platform, lifting it a little, tares. Taps can't be told apart at 10 readings per second, lifts can: nothing else on the counter dips below the weight and comes right back, see ADR 1. How firmly you have to lift is adjustable. Uses the unsmoothed readings and is locked during a shot.
- Shot detection (Firmware) With shot detection on, the scale notices a shot after a tare by how smoothly it flows, switches from the scale mode to the espresso screen, times it from the pump start (the first drop minus an adjustable offset) and stops the time when the pump stops. Off by default; the click works as before. See ADR 2.
- Shot graph on the display (Firmware) While a shot runs, the espresso screen also shows the flow in g/s. When it ends, at the pump stop, the click or the target weight, the screen shows the whole shot: its curve, the last shot's curve dotted behind it, the time on the time axis and the yield on a line at its height. A click or a tare goes back.
- Mahlkönig grinder (Firmware) With the setting on, the scale plays the Xenia for a Mahlkönig E64 WS: the grinder finds it on the network, a knob press opens the espresso screen with the recipe's weight as the target, and the grinder dials itself in from the time until the cup reached it. See ADR 3.
Record every shot and analyze it.
- Shot log on the scale (Firmware) Every detected shot is stored in flash, in LittleFS on the data partition: time, dose, yield, duration and the curve at 5 Hz, under 1 KB per shot. The time comes via NTP once Wi-Fi is on.
- Shot server (Server) A container behind your Traefik stores the shots in SQLite, separated by scale. Reachable on its own subdomain so the address in the firmware survives a server move. Later it also computes the grinder model.
- The scale is the account (Server, Firmware) No accounts: on first start the scale generates a secret key and uses it to sign in to the server. It shows access to the web app as a QR code, so whoever holds the scale has access. The link can be renewed on the scale.
- Upload from the scale (Firmware) After each shot the scale briefly turns on Wi-Fi and uploads it via HTTPS. Until that succeeds, the shot stays in flash.
- Web app (Web) Runs on the server and works on any phone: curves, history and notes per shot on bean, grind setting and taste.
- Claude connector (Server) An MCP endpoint on the server. Everyone adds it to Claude as their own connector, with their scale's access token, and can then ask about their shots in any chat.
- Flash firmware in the browser (Web, Tooling) ESP Web Tools on the same page: install firmware over USB straight from the browser, without PlatformIO.
Collected, but not yet planned.
- The scale learns the grinder (Firmware, Web) From past shots the scale learns, per bean, how much one click changes the shot time. Then it tells you how many clicks finer or coarser to go. Needs shot detection and the shot log.
- Compare shots between scales (Web) People using the same beans share a reference shot with dose, yield, time and curve. The other scale takes it as a target and, using the grinder model, shows how to get there.
- Pump start via smart plug (Firmware) A smart plug with power metering on the machine detects the pump start. Together with the first drop from the scale, that gives the real shot time and the preinfusion duration.
- Grind-by-weight for the Philos (Firmware, Hardware) A smart plug (Shelly, 16 A) switches off the grinder just before the target weight. The overrun offset learns from every grind.
- Live weight via Bluetooth (Firmware) The Decent Scale protocol, so apps like Beanconqueror can use the scale directly.
- Dose sets the target weight (Firmware) The measured dose sets the espresso target automatically, e.g. 18.2 g × 2 = 36.4 g. The finished shot then also shows the ratio.
- Container detection (Firmware) The weight of the container set down picks the mode: portafilter opens espresso, V60 opens your recipe.
- Auto-sleep (Firmware) Deep sleep after a few minutes without use, wake via the rotary encoder.
- Arduino Core 3.x (Firmware) IDF 5 underneath. The official PlatformIO platform still ships Core 2.0.17, Core 3.x only comes through the pioarduino fork. Waits until the platform supports it, or for the move to plain ESP-IDF.