Skip to content

Add Monitoring of Room Temperature (MRT) use case#232

Open
andig wants to merge 2 commits into
enbility:devfrom
evcc-io:feat/mrt-usecase
Open

Add Monitoring of Room Temperature (MRT) use case#232
andig wants to merge 2 commits into
enbility:devfrom
evcc-io:feat/mrt-usecase

Conversation

@andig

@andig andig commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Implements the "Monitoring of Room Temperature" (MRT) use case per EEBus UC TS Monitoring of Room Temperature V1.0.0, following the same pattern as the existing MDT (Monitoring of DHW Temperature) use case.

  • Actor "Monitoring Appliance" (client role) reads the current temperature from an Actor "HVAC Room" entity (entityType: HVACRoom, model.UseCaseActorTypeHVACRoom).
  • Single mandatory Scenario 1: retrieve the latest room temperature via the Measurement feature (measurementDescriptionListData/measurementConstraintsListData/measurementListData), filtered by measurementType: temperature, commodityType: air, scopeType: roomAirTemperature.
  • Temperature(entity, unit) returns the value converted to the requested unit (degC/degF/K), mirroring MDT's convertTemperature helper and value-state handling.

File scope mirrors #226 exactly (interface + usecase package + generated mock), no other files touched.

Monitoring Appliance actor reading the current HVAC room temperature
from an HVACRoom entity, per EEBus UC TS Monitoring of Room Temperature
V1.0.0. Mirrors the existing MDT (Monitoring of DHW Temperature)
use case structure: single mandatory Scenario 1, Measurement feature
client reading measurementDescriptionListData/measurementListData with
scopeType roomAirTemperature and commodityType air.
ErrDataInvalid is reserved for invalid data received from the remote
entity. An unsupported target unit is a caller mistake, so report it as
ErrNotSupported instead.
@volschin

Copy link
Copy Markdown

Tested to work on Vaillant VR940

1 similar comment
@volschin

Copy link
Copy Markdown

Tested to work on Vaillant VR940

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants