Work / 2026 / web
Oomi Energy
A household electricity app that shows what power costs right now, and when it gets cheaper.
- Status
- live
- Stack
- Rust (Axum) · SQLite · WebAssembly · SvelteKit · Python + Playwright · ENTSO-E API · Docker on Proxmox · Cloudflare Tunnel
- Analytics
- One Rust crate, native and WASM, byte-identical output
- Prices
- ENTSO-E day-ahead, 15-minute slots
- Sign-in
- Passkeys first, roles per household
- Offline
- IndexedDB sync, works in airplane mode
- Demo
- Static build with made-up data
A private PWA on top of our Oma Oomi meter data and the European day-ahead market. One Rust analytics crate runs on the server and, as WebAssembly, on the phone, so every number matches the invoice to the cent and still works in airplane mode.
The problem
On a spot-price contract the price of electricity changes every 15 minutes. The supplier’s portal shows yesterday’s consumption and little else, and nothing answers the two questions that matter: what does power cost right now, and when is it cheaper tomorrow?
Constraints
- No API from the supplier. The meter data only comes out of a web portal as an export file.
- Family members, not just me. Several people use it, on phones, some of them outside the home network.
- Numbers must match the bill. If the app and the invoice disagree, the app is wrong.
Decisions
One analytics crate, compiled twice. The same Rust code computes on the server and in the browser as WebAssembly, and a parity suite requires byte-identical output. A golden test reproduces a real invoice to the cent.
The server makes no outbound calls. A Python sidecar signs in to the supplier’s portal and polls the ENTSO-E market for prices, and posts raw files to a private endpoint. The server parses them once.
Passkeys first. Family members join through invite links and sign in with passkeys. Roles are per household, and every query goes through one access check.
Colour only means price. The redesign (“Quiet Meter”) keeps the interface monochrome. Five steps from blue to orange mark cheap and expensive time, and nothing else uses colour.
Tradeoffs
Scraping the supplier’s portal is brittle; the fetcher fails loudly and retries on a schedule, and a manual import stays available. The market token needs a human approval at ENTSO-E, so live prices arrived a few days after the redesign itself.
The build notes cover the rewrite and the migration in detail.
Two static demos run with made-up data and no sign-in: the current interface and the previous one.