Home is a web app for our house. It started as a way to see what the heat pump was up to, and now shows and controls the heat pump, the air conditioners, the lights, the home battery, the car and its charger, the dishwasher and washing machine, and the cat flap, all in one place. It also works out what the heating and hot water really cost once the solar panels and the battery are taken into account.

It runs on a small server at home and only the people in the house can reach it, over our private network. On a phone it opens full screen from the Home Screen, like any other app.

Why

We have a Mitsubishi Ecodan heat pump, and its own app, MELCloud, tells you very little. It can turn the heating up and down, but it doesn't tell you whether the heat pump is working well, how much heat you got for your electricity, or what any of it cost.

And the heat pump was only one of the apps. The battery has Tesla's, the immersion diverter has myenergi's, the air conditioners have Bosch's, and the lights, the car charger, the car, the appliances and the cat flap each have another. That's nine apps for one house, none of which knows about the others. The question I most wanted answered, what did the heating cost today, needs at least three of them at once.

So I built one app that talks to all of them, and keeps what they tell it.

From an iPhone app to a web app

The first version, on 19 October 2026, was a native iPhone app that talked to MELCloud. It worked, but it lived on one phone and could only show what MELCloud showed at that moment. The next day I put it away and started again as a web app with a server behind it. The server checks every device around the clock and keeps a history of its own, so anyone in the house can open it on any phone or computer and see the same thing, with nothing to install.

It was called Heat Pump until 21 October, when the air conditioners and lights arrived and it plainly wasn't only about the heat pump any more.

Now

The first tab, Now, is the house at a glance. The big card is the room temperature against its target. Below it, a moving picture of the heat pump shows where the water is going: round the radiators, into the hot water tank, or nowhere. It says in words what's happening too, such as how hard the compressor is running and how much heat the radiators took out of the water.

Now. The room against its target, and a picture of the heat pump, its compressor, the water out and back, and the tank.
Control. Every device, grouped. Tapping a tile on Now opens its card here.

Further down are tiles for everything else: the lights in each room, the air conditioners, where the house's power is coming from, the battery, the car's charge, whether the dishwasher has finished, and whether the cat is in or out. Anything that's under way rises to the top, and the quiet tiles gather into rows.

There's a version for a terminal, too. On a Raspberry Pi 400, typing now shows the same page in text, kept up to date as things change.

What it really costs

This is the part I most wanted. MELCloud reports how much electricity the heat pump used each day, but not when it used it, and when matters: power from the grid at night is cheap, in the day it isn't, and power from the solar panels or the battery has its own cost.

So the app prices every quarter of an hour separately, using Tesla's five-minute record of where the house's power came from:

  • From the grid, it costs the tariff's rate at that time of day.
  • From the solar panels, it costs the export rate, because that's the payment we gave up by using it rather than selling it.
  • From the battery, it costs whatever filled the battery, as a running average, plus what's lost on the way in and out.

The heat pump's day is then spread across those slots by when it was actually working, which the server knows from its own readings every two minutes. Surplus solar that the diverter sends into the hot water tank is counted separately. Where any of that is missing, the day is still priced, but marked as an estimate.

History and reports

History has the day's temperatures, the compressor, and the time spent heating and on hot water, by day, week, month or year. Reports adds it up by month and by year, and puts each beside the same days a year earlier.

Reports. How much heat each kWh of electricity made, and what it cost, against a year earlier.

The headline is the COP: how many kWh of heat each kWh of electricity made. A cold month needs more heat than a mild one, so comparing months directly isn't fair, and the reports allow for the weather with heating degree days, a measure of how cold it was. A month only gets that comparison once it has had at least 50 degree days, so a few chilly days don't produce a misleading number. A report can be saved as a PDF, and any of the history as a spreadsheet.

Changing things, carefully

The app can change things as well as show them: the heating target and mode, hot water boosts and holiday mode, the air conditioners, the lights and lighting scenes, and the battery's settings.

Each kind of control arrived switched off. The app watched the air conditioners and the lights, read-only, for a while before it was allowed to change them, and only then did I turn their controls on. Every change is written down in a change log with who made it, and changes made in the devices' own apps are logged too, so a thermostat turned up from MELCloud doesn't go unnoticed.

It notifies the house about things that need someone: a fault code on the heat pump, a device that has stopped answering, a service that has signed the app out, or a storm warning that has the battery charging from the grid. There's a Help section written for everyone in the house, not just me, that explains the heat pump's fault codes and what to try.

Looks, themes and moments

Since it's our own app, it can have some fun. In Settings, you can pick a look: the standard one, or Teletext, Neon Terminal, Control Room, Blueprint or Broadsheet. Each is a complete restyle, with its own header and footer, not just a change of colours.

Teletext. Eight colours on black, a page number, and a coloured link for each tab.

On certain dates a theme takes over for the day: Halloween, Christmas, New Year's Eve with fireworks, midsummer and midwinter, and the Perseid and Leonid meteor showers. There's a birthday theme that only the person whose birthday it is gets to see.

Moments are smaller: a tile that celebrates something in the house's own data, like the solar panels' total on Midsummer's Day.

How it's built

  • The server is Python with FastAPI, storing everything in SQLite. Each device is described once, in one list: how to reach it, its pretend stand-in for the demo, and its part of the app.
  • The web app is Svelte 5 and TypeScript, built with Vite, and installs to the Home Screen as a web app with notifications.
  • It runs in a single Docker container on the home server, and is published to the house's devices with Tailscale. Tailscale says who each request is from, so there's no separate sign-in, and nothing outside the house can reach it.
  • The passwords and tokens for each service are encrypted, with the key kept apart from the data and from the nightly backups, which are kept for 14 days.
  • It never asks a device for news more than once a minute, and backs off when a service says it's busy. That limit survives a restart.
  • A demo mode runs the whole app against pretend devices and a year of made-up history, so I can try changes without touching the real heat pump. The previews on this page show its made-up data.
  • There are over 400 tests, and the deploy script runs them first and refuses to deploy anything that isn't committed.

The small print

Home is private. It's built for one house's devices and runs only on our own network, so there's no download and no public code. It's unofficial and has no connection with any of the companies whose devices it talks to. Several of the services it relies on don't publish their interfaces, so any of them could change and break a part of it without warning, and I'll fix it when they do.