Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

## New Features

<!-- Here goes the main new features and examples or instructions on how to use them -->
- Added message linking microgrid and sensor IDs.

## Bug Fixes

Expand Down
9 changes: 9 additions & 0 deletions proto/frequenz/api/common/v1/microgrid/microgrid.proto
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,12 @@ message MicrogridComponentIDs {
// List of component IDs belonging to this microgrid.
repeated uint64 component_ids = 2;
}

/// A message to link sensor IDs with their respective microgrid ID.
message MicrogridSensorIDs {
// The ID of the microgrid.
uint64 microgrid_id = 1;

// List of sensor IDs belonging to this microgrid.
repeated uint64 sensor_ids = 2;
}