The RBgrid panel in Home Assistant, tab by tab

Home Assistant energy panel: points, tariff, prices — RBgrid

RBgrid in Home Assistant via HACS: a seven-tab energy panel for measurement points, tariff, market electricity prices and history, plus actions and events.

Once the integration is installed, there is a new panel in your Home Assistant sidebar called RBgrid Hub — seven tabs, and everything the hub can be told is in them. This is the half of the path that configures: the hub measures and keeps its history whatever Home Assistant is doing, and the panel is where you decide what it measures and what it costs.

What RBgrid gives you as a Home Assistant energy monitor

Not installed yet? The whole way, from the board on your desk to the cost of one circuit, is on the main page.

See it before you buy anything

The panel is the hub's own app, running inside Home Assistant: the same overview, the same points, the same tariff and history screens. So the live demo shows you what the panel shows — pick a household and open its tabs. What the demo leaves to the frames below is the Home Assistant frame around it: the sidebar entry, and where the panel sits among your other dashboards.

Open the live demo → A household with solar →

In the demo the data is made up and nothing you press reaches a hub. On your own hub the same screens carry your readings, and the hourly rows go into Home Assistant's long-term statistics once an hour.

Seven tabs, and what you do on each

Points and Tariff are where you set things up; Overview is the one you come back to. The rest you visit once, or when something has changed.

Overview — the tab you come back to. Grid power now; energy in and out for today and for the hub's lifetime; what it cost and what your exports were worth; the buy and sell price in force, everything included, and which tariff zone you are in. Your points are a table, in the order the panel shows them: slot, name, role, voltage — that column appears when the hub measures more than one — power, current, energy in, energy out, what the circuit has cost since it started counting, and a state badge for whether the module answering for it is present. Phase voltages and frequency are live here too. Overview is the reading tab: a Refresh button, and links into the tabs that set things.

Points — where circuits are made. Add a point on a free sensor channel; edit its name, role, phase, rated power, breaker size and sign, and the clamp model where the module allows it — the hub writes that choice into the module itself; move it to a different channel; delete it. Deleting a point takes it out of Home Assistant and leaves its history on the hub.

Tariff — what your energy costs. Your plan goes in here: the currency (it will take Home Assistant's in one click), the hours your zones cover, the price you buy and sell at, tax, grid fee, other charges and VAT. A price pushed in from Home Assistant is shown here too, and cleared here.

Prices — market prices, cheap windows and the hub's clock. Switch on day-ahead prices: your provider and a fallback, your bidding zone, the formula that turns the raw price into yours, and what counts as cheap. Rules for cheap windows live here as well — a price threshold, the cheapest hours of the day, or the cheapest window that still finishes by a deadline. You can read the next prices quarter-hour by quarter-hour and see where each came from. The Hub time card is on this tab: it is where the hub takes your time zone.

Network — modules and wireless nodes. Scan a bus and add the modules that answer; change the bus pins or move a module to the other bus; pair a wireless node, switch its inputs on or off, remove it. This is the tab a new module goes through before it can carry a point.

History — the hub's own records. Pick a point, a resolution from an hour to a year, and a range, and read the energy and the money straight off the hub, one row per period with a total for the whole range at the bottom. This is where you see what a circuit cost over a day, a week or a month — including days and weeks older than Home Assistant's statistics hold, because this tab reads the hub itself. There is also a button to import the hub's hourly book into Home Assistant's statistics at once — everything it still holds — instead of waiting for the hourly import.

Events — what the hub has been doing. The hub's log, filterable, including the lines a node delivered after it reconnected.

Settings of the integration itself — as opposed to the hub's — are where Home Assistant keeps them: Settings → Devices & services → Integrations → RBgrid, then the gear in your hub's row.

What you get as entities

Per point: power, current, energy in and out, cost since it started counting, and whether it is online. The energy entities are the cumulative kind the Energy dashboard takes directly, so it reads them as they are.

Per hub: the live picture — power now, prices in force, the tariff zone, the clock's state, how many modules and nodes are answering.

And the hub's own hourly record, imported into Home Assistant's long-term statistics as a series of its own per point. That series is what makes the history survive a Home Assistant that was switched off.

Reactive power and power factor do not reach Home Assistant. The hub measures and stores both and returns them to a hub command — the integration's rbgrid.command action is how you ask. Frequency and phase voltages are live in the panel; the hub keeps hourly averages and extremes of voltage in its own records, and the panel shows no history for either.

While Home Assistant was off

The hub carries on by itself: it keeps measuring, closes every hour and prices it with the tariff you gave it, and keeps the result in its own flash. When Home Assistant comes back, the integration asks the hub for what it missed and loads those hours into statistics — each hour in its own place, with the money the hub worked out at the time — and a stop comes back whole for as long as the hub still holds the hours, which is 60 days.

One detail people find for themselves: the Energy dashboard reads the live entities, so it draws the gap as a single catch-up hour. The day's and the month's totals come out right, and the hour-by-hour shape of that day is in the hub's own series in statistics.

A restart of the hub itself is shorter and takes care of itself: its entities go unavailable for a few seconds and come back, and the statistics close up behind them.

When the hub is offline

The panel says so plainly: the chip at the top turns offline, the live values become dashes, each list waits with a line explaining why, and the buttons are disabled until the hub answers. Your points, your history and your settings stay where they are, and the panel picks the hub up again by itself when it comes back.

In Home Assistant, every entity of an offline hub goes unavailable; each point also has its own Online entity, so an automation can watch one circuit rather than the whole hub.

Hub health — the card on Overview that says why: uptime, the reason for the last restart, Wi-Fi signal, free memory, and which image the hub is running, including the line that tells you it rolled back to the previous one after a failed update.

Automations

Four actions come with the integration: push prices to the hub, clear the pushed prices, run any hub command and get its answer back, and import statistics on demand. The hub's own ESPHome device adds a command action of its own, and the hub's events arrive in Home Assistant as events you can trigger on.

Two blueprints are yours to import: one notifies you of the hub's events, the other switches something on and off with a cheap window. They live in the integration's repository — Settings → Automations → Blueprints → Import, with the link to the file.

If the price already lives in Home Assistant — your own integration, your own template — you can push it to the hub instead of letting the hub fetch it, and the hub will price your energy with it.