This is a work-in-progress implementation of the OpenADR 3.0 specification. OpenADR is a protocol for automatic demand-response in electricity grids, like dynamic pricing or load shedding.
This repository contains only OpenADR 3.0, older versions are not supported.
Currently, only the /programs, /reports, /events endpoints are supported.
Also no authentication is supported yet.
Startup a postgres database. For example, using docker compose:
docker compose up dbRun the migrations:
cargo sqlx migrate runRunning the VTN using cargo:
RUST_LOG=trace cargo run --bin vtnRunning the VTN using docker-compose:
docker compose upRunning the client
cargo run --bin openadr