frequenz-floss / frequenz-api-microgrid

gRPC+protobuf specification and Python bindings for the Frequenz Microgrid API
https://frequenz-floss.github.io/frequenz-api-microgrid/
MIT License
6 stars 6 forks source link

Return valid-until timestamps from set-power RPCs #183

Closed tiyash-basu-frequenz closed 1 year ago

tiyash-basu-frequenz commented 1 year ago

The RPCs to set power now return timestamps until which the command will stay in effect. The component's active/reactive power will be set to 0 after this timestamp, if the API receives no further requests to change it before then.

By default, this timestamp will be the current time plus 60 seconds.

tiyash-basu-frequenz commented 1 year ago

Needs another approval after rebase.