Open Utility Stack

Docs / Start

Getting started

Check out the umbrella workspace, build the stack matrix, and run a platform's demo.

The umbrella workspace

The umbrella repository holds the manifest (stack.toml), the contracts, a script that reads the member checkouts, and this site. Clone the members you want beside it, each in a folder named after it; just matrix reads whichever are there.

You need Python 3.11 or later, just, zola and, for the contracts, uv.

git clone https://github.com/hupe1980/open-utility-stack
cd open-utility-stack
just matrix     # read every member, write site/data/matrix.json, print drift
just check      # the same, exit 1 on drift or a passed calendar date
just contracts  # check every contract schema, example and refused case
just status     # branch, dirty state and last commit of every member
just serve      # this site on http://127.0.0.1:1111

just matrix only reads the member repositories: their version, commit count, Rust line and test counts, and every dependency on another member, including the version requirement. The version matrix page renders the result.

Try a platform

Each platform has its own demo, run from its checkout. Start with the one closest to your role:

You are …PlatformTry it
Supplier, grid operator or metering point operatormakojust demo: the released images, seeded, behind the Desk. No install: the browser validator
Smart-meter gateway administratorimsysjust demo reads a simulated 1250 W measurement through the authenticated gateway
Home, building or site energyemscargo run -p hemsd -- demo (household), bemsd (building) or cemsd (industrial); or the solar simulator in the browser
Grid operations (§ 14a)fmscargo run -p fmsd -- serve --demo feeder-trends opens the operator desk on a synthetic feeder
Aggregator, virtual power plantflexpooldocker compose up -d --wait: a replayed market day with 400 assets, the desk on port 8080
E-mobilityemobjust demo: seven services, three simulated stations and a local OCPI peer
Fibre and telcotelcojust demo: a year of bills played, the Desk on port 9400
Sales, partners, call centreesalesjust demo, then sign in as Innendienst on port 9090
Field work and contractorsfieldlinkjust dev: a Stadtwerk on a simulated clock
Customer accounts and billskontojust portal: two household bills behind a passkey sign-in

Each repository’s README says what the demo needs (Docker, Rust or both).

Use a single crate

Every protocol crate works on its own, for example:

cargo add ocpp-kit   # OCPP 1.6J / 2.0.1 / 2.1
cargo add eebus      # SHIP + SPINE
cargo add edifact    # ISO 9735
cargo add metering   # exact German metering quantities

Check the crate’s own documentation for feature flags. Most have a no_std core and opt-in std, tokio and TLS features.