Skip to content

Commit 7283271

Browse files
Add message linking microgrid and sensor IDs (#284)
2 parents ebe12dd + 7aee568 commit 7283271

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

RELEASE_NOTES.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Frequenz Common API Release Notes
22

3+
## New Features
4+
5+
- Added message linking microgrid and sensor IDs.
6+
37
## Bug Fixes
48

59
- Fix a dependency issue by pinning the `grpcio` version and related libraries.

proto/frequenz/api/common/v1/microgrid/microgrid.proto

+9
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,12 @@ message MicrogridComponentIDs {
7171
// List of component IDs belonging to this microgrid.
7272
repeated uint64 component_ids = 2;
7373
}
74+
75+
/// A message to link sensor IDs with their respective microgrid ID.
76+
message MicrogridSensorIDs {
77+
// The ID of the microgrid.
78+
uint64 microgrid_id = 1;
79+
80+
// List of sensor IDs belonging to this microgrid.
81+
repeated uint64 sensor_ids = 2;
82+
}

0 commit comments

Comments
 (0)