Skip to content

Releases

ems 0.12.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 22:49

Breaking changes

  • ems_flex::Session runs on s2-kit's RmSession, which owns the handshake, acknowledgements, validation and the execution-time schedule. open, on_text and on_message take now; poll_transmit returns encoded Outgoing frames; poll_timeout, on_timeout and transport_closed are new; SessionState and CloseReason are s2-kit's; SessionEvent::Refused carries the diagnostic and SessionEvent::Noted reports protocol trouble.
  • ems_flex::envelope_interval and envelope_command take now. envelope_now is gone; envelope_steps returns every step with its interval.
  • ems_drv::mbus::HeatMeter drives mbus-kit's Readout: readout(), then delivered_wh over every telegram or explain(outcome). requests is gone.
  • SlotPlan::grid: the net exchange the plan expects at the connection point (import positive, serde default None). ems-optimizer sets it.

Added

  • hemsd benchmark replays a SMART-HEMS-Benchmark scenario through the gateway's planner and compares grid only, PV only, self-consumption, ems and, with --perfect-foresight, the bound. It infers and reports the series unit and UTC offset, refuses inconsistent series, and --dispatch writes ems's quarter hours.
  • ems_forecast::Nowcast blends the last hour's clear-sky index into the next hours of the PV forecast. The gateway, the reference days and hemsd benchmark plan with it.
  • The S2 Resource Manager offers S2 JSON v1.0.0 beside 0.0.2-beta, answers an undecodable frame with a ReceptionStatus, and refuses an unoffered control type (S2-RMD-001) while keeping the session open.
  • The heat meter repeats an unanswered request up to three times and follows up to four telegrams.
  • ems-drv reads SunSpec model 124's ChaState as a battery's state of charge where model 802 is absent; a device with 124 and no inverter model is a battery.
  • ems-drv re-exports the ems-core and time types its API uses.
  • ems_drv::testing::FakeSunSpec (feature testing), a SunSpec device double that records every function code.

Changed

  • The arbiter holds a battery's tracked plan energy to the plan's grid figure: a charge planned into a surplus does not buy the shortfall at that slot's price, and a discharge planned for the house does not export. The rule only narrows what tracking asks for; the guard bounds the result.
  • hemsd starts a scheduled S2 instruction when it is due rather than at the next report tick.
  • ems-core, ems-grid and ems-drv declare MSRV 1.89, checked by the drivers CI job.
  • s2-kit 0.8 and mbus-kit 0.4.

Fixed

  • A PEBC envelope with several elements was held at its first element. hemsd follows it step by step within the instruction's lease and stops bounding the asset after the last step.
  • An appliance's S2 status could go out as EXECUTING without progress (S2-PPBC-005).
  • A wall clock that stepped back stalled every Modbus driver for the length of the step and kept a silent device's link Up. The drivers rebase their deadlines on a step, and hemsd wakes each Modbus driver at least once a second.
  • hemsd retried a TCP device that accepts a connection and closes it at once every second, for ever. The backoff resets only after the device has sent something.

ems 0.11.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 02:54

Breaking changes

  • ems-service is no longer published. It is the daemon shell, and only the EMS daemons use it. Versions up to 0.10.0 stay on crates.io.
  • ems-events is now the catalogue only. It has no dependencies with default features, is no_std and declares MSRV 1.85. The CloudEvents envelope and Standard Webhooks signing moved to ems_service::{envelope, webhook}. There is no re-export.
  • Catalogue types are ems_events::EventType values that only the catalogue can construct. Each one carries its dataschema URI, data classification and GDPR category. is_known is gone; use str::parse::<EventType>().
  • The catalogue lists the 12 types EMS sends. The 18 types that had no sender are removed. cargo xtask check-events now fails on a catalogued type with no sender outside integration tests.
  • Every event now carries partitionkey (the site), dataclassification, and for personal data dataregulation: GDPR and datacategory. These are taken from the catalogue. dataschema is required, and time is UTC. Receivers refuse a missing or unrecognised value, a different schema and a missing partition key. obsd also refuses a partition key that is not the signing site's.
  • schemas/events/ publishes a closed schema for all 12 types, including the fleet reports de.ems.site.day.reported and de.ems.site.departure.rehearsed. platform.toml lists them all.

Added

  • Every MCP tool declares its autonomy level in _meta["x-mcp"].level (the stack's AUT-1), with a readOnlyHint that agrees. All 20 tools across agentd, fleetd, forecastd, histd, obsd and tariffd are read, and there is no act level. A daemon refuses to mount its MCP surface when a tool declares no level or a contradicting hint. The conformance probe checks the level of every listed tool.

Security

  • curve25519-dalek 5.1.0 (RUSTSEC-2026-0620, the AVX-512 scalar multiplication backend).

Changed

  • AGENTS.md and SECURITY.md at the repository root: how to build and test, the stack rules an agent follows, what it must never touch, and how to report a vulnerability.
  • opcua-kit and meterstore are required by caret rather than exact version.
  • eebus 0.16. A § 14a or § 9 limit reaches the guard as the exact decimal the Energy Guard wrote: 4200.5 W stays 4200.5 W, with no f64 rounding on the way in. Logged limit values print exactly. Partial SPINE notifications are merged onto the driver's own snapshot as before. Disconnect handling is unchanged, because the Controllable System's failsafe runs off the stopped heartbeat.
  • s2-kit 0.7. The S2 session, descriptions and instructions are unchanged. ems already reads a 3_PHASE_SYMMETRIC value as the total over three phases, which is how s2-kit now defines it (S2 erratum E32). ems uses neither Explanation::electric_power nor Steps, whose meaning changed.
  • metering 0.29, meterstore 0.21 and ocpp-kit 0.9. metering and meterstore moved from time to jiff. ems still speaks time, and ems_core::calendar is the single place where instants and dates convert between the two. The conversion is exact to the nanosecond.
  • The § 14a minimum power the guard grants is now whole watts rounded up, because it is a guaranteed minimum [BK6-22-300 A1 4.5]: 0.4 × 20.001 kW is 8 000.4 W and grants 8 001 W, never 8 000.
  • Energy-sharing credits use metering's exact intermediates for each quarter hour and its window, with the quantity rounding (each nominal share cut to six decimals, then capped at consumption).
  • OCPP instants reach the departure evidence exactly. They were truncated to whole seconds before.
  • The optional industrial OpenADR simulation uses openadr 0.11, required by caret. Report values are exact decimals: a fractional kWh reading such as 285.001 reads back exactly, with no arbitrary-precision JSON needed. The simulation uses openadr::model::Decimal and no longer depends on rust_decimal directly. Its receipts are unchanged.

ems 0.10.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 02:58

Breaking changes

  • Gateway and collector webhook keys must use whsec_ followed by standard Base64 encoding 24–64 random bytes. Replace literal keys on both ends and remove webhook_tolerance_s. The Standard Webhooks SDK enforces a five-minute window.
  • The fleet update schema requires a fresh development database and site enrolment.

Added

  • Household Setup commissions SunSpec model 203 meters over RS-485 and reads cumulative thermal Wh from a wired M-Bus heat meter. Setup and doctor flag silent, unexpected and unusable replies.
  • Industrial sites can commission a pinned OPC UA import register and compare exact Wh against independent quarter-hour closes in JSON or offline HTML.
  • The operator desk shows up to 90 days of import and export, gateway freshness and staged update results. Households can inspect missing days, peak readings and EV departure receipts.
  • hemsd winter-day follows storage, heating and EV charging across a metered winter day. house --keep-history retains the gateway ledger and simulate --site-from reuses the installed inventory.
  • Releases include gateway and tariff OCI images, architecture-specific conformance receipts, and ten downloadable CloudEvents schemas. just interfaces exercises REST, CloudEvents, signed webhooks and MCP.

Changed

  • Local power history uses Chronix 0.11 and reopens 0.10 directories in place. On Chronix 0.9, export historical readings before configuring a fresh series directory. Keep the separate redb ledger.
  • The wired heat-meter driver uses mbus-kit 0.2.0. Gateway events identify their versioned payload schema in dataschema.

Fixed

  • Commissioning keeps the language switch and meter identity within a 320-pixel viewport.
  • Gateway sign-in restores the requested view. Losing access to a departure receipt preserves visible energy history.
  • EV planning accounts for midnight departures and complete charging quarters. The gateway checks write acknowledgements, and the simulated outlet accounts for partial-interval charging.
  • A full heat-pump request permits full output. The tank distinguishes unmet hot-water demand from standing losses.
  • hemsd simulate --json --store keeps diagnostics on stderr. Enabling the example levy or Modul 3 tables preserves the feed-in rate and standing charge.

ems 0.9.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 00:45

Added

  • Households can sign in through OIDC to compare 7 or 30 calendar days of import, export and generation. The portal distinguishes missing reports from measured zeroes and shows the latest simulated EV departure receipt.
  • Operators can search and filter the fleet desk, check gateway and feeder freshness independently and load one site's check-in history.
  • The building simulator compares two OCPP charging stations with a KNX feeder meter and reserves heating capacity using BACnet/IP zone readings. Its replays cover station reconnects, sensor faults and incomplete tenant readings.
  • hemsd ev-departure rehearses an OCPP charging interruption and reconciles outlet delivery with SunSpec whole-house import. hemsd house --run --manage-storage exercises battery setpoints, measured AC power and timed release.
  • cemsd reconcile --format html produces an offline interval review with links to meter exceptions and explicit offsets for the repeated Berlin hour.

Changed

  • Household cold starts use a project-owned synthetic demand profile in place of the bundled BDEW H25 table.
  • Day and Month show savings only for comparable service and expose comparison coverage. Daily bills require a unique priced reading for every quarter. Setup shows the signed unit price and UTC offset for the active contract.
  • SunSpec meters of types 201–204 report import and export. The driver checks write acknowledgements and rediscovers inverter controls after reconnecting. Gateway readiness follows the Steuerbox connection.

Full changelog

ems 0.8.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 21:54

EMS 0.8.0 ships three local edge daemons for homes, buildings and industrial sites on the German grid.

  • Home · hemsd supports browser commissioning, tariff verification and quarter-hour power history. Plan previews the cost of changing a household goal.
  • Building · bemsd replays a charging reduction across two simulated OCPP stations and compares community electricity allocations.
  • Industrial · cemsd compares battery dispatch times and reconciles meter traces. The Linux archive includes a sample trace. Run ./cemsd reconcile examples/shift-trace.json after extraction.

Upgrading household history requires exporting the Chronix 0.9 tier and starting a fresh Chronix directory. Keep the separate redb store. The changelog covers the environment variable, historian and API changes. 0.8.0 changelog

Download the archive for your daemon and Linux architecture below. SHA256SUMS covers all six archives and three CycloneDX inventories. You can also try both scenarios in a browser. Industrial peak challenge · Household solar charging

ems 0.7.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 14:00

Full Changelog: v0.6.0...v0.7.0

hems 0.6.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 09:37

Full Changelog: v0.5.0...v0.6.0

hems 0.5.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 02:12

Full Changelog: v0.4.0...v0.5.0

hems 0.4.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 07:31

Full Changelog: v0.3.0...v0.4.0

hems 0.3.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 05:55