Repository navigation
RBgrid v1.2.0
RBgrid v1.2.0
Dynamic (spot) electricity prices, cheap windows with a price notification for other devices, and import peaks.
An update over the air from v1.1.x keeps settings and history.
Dynamic prices
- The hub can follow a market price and price every 15-minute period with the price of that period. It is off
until you turn it on. Your tariff plan stays the fallback, and its taxes, fees and VAT still apply to a spot price. - Sources:
- Energy-Charts (Fraunhofer ISE, CC BY 4.0 zones);
- Nord Pool;
- Elpriset just nu (SE);
- Hva koster strømmen (NO, hourly);
- EnergyZero (NL, all-in);
- Octopus Agile (UK, all-in);
- Home Assistant, as a local source that pushes prices to the hub.
- Fallback: a primary and a backup source, then the plan.
- An all-in source is taken as it is, so nothing is counted twice.
- Contract options: a factor and a markup, floors for buy and sell, three sell modes, and billing at the hourly
mean for contracts settled per hour. - Negative prices are kept as they are, unless you set a floor.
- Currency is not converted: the source's currency must be your plan's.
- Every price the hub booked is logged per 15-minute period with its source, for 40 days (the Prices page, CSV
export,GET /api/v1/price?log=1). - The history format is unchanged: clients need no change.
Cheap windows and the price notification
-
Up to 8 rules mark the cheap periods:
- below a price (with hysteresis);
- the N cheapest periods of a day or a time range;
- N periods before a set time.
-
They work on a fixed time-of-use plan too.
-
The hub switches nothing itself. It publishes a notification that other devices and Home Assistant
automations read:- the price now;
- its rank in the day;
- the open windows;
- "cheap now" and "low sell" flags.
It is available at
GET /api/v1/signaland on MQTTrbgrid/<mac>/price(retained), refreshed every 15 minutes
and on any change.
Import peaks
- The highest 15-minute and hourly import at the grid input, and the top days, per billing cycle (start day
1–28), for capacity tariffs. Metering only: no charge is added to the bill. They work without dynamic prices.
Other changes
- Remote nodes going offline or back online are written to the hub's event log (the app's Journal).
- The hub's own time zone decides tariff zones and days.
GET /api/v1/schemalists every route the hub serves.
Web app 1.2.0
- The Prices page: price now, today and tomorrow; the source and the formula; cheap windows and flags; import
peaks; the applied-price log with CSV. - Fixes:
- History orders a site's points with the input first and draws late-starting hours on their own bar.
- Economics counts generation in the balance.
- The node panel warns when the hub isn't taking in node data.
Files
- ESP32 hub:
main_release.bin(OTA);- for a first USB install:
bootloader.bin,partition-table.bin,ota_data_initial.bin. They are identical to
v1.1.8, so an OTA keeps everything.
- ESP32-S3 hub (N16R8):
main_release_s3.bin(OTA); the USB set is inrbgrid-hub-s3_v1.2.0_full.zip. - Node firmware 1.5 (unchanged since v1.1.8):
rbgrid-node_v1.2.0.bin; the USB set is in
rbgrid-node_v1.2.0_full.zip. - Web app:
rbgrid-ui_v1.2.0.zip.
The full list is in CHANGELOG.md.