Skip to content

Return UTC timestamp until when requested power level is valid #157

@tiyash-basu-frequenz

Description

@tiyash-basu-frequenz

What's needed?

The commands SetComponentPowerActive and SetComponentPowerReactive do not return anything at the moment.

The commands should, at least, return the timestamp until which the requested power will be active unless no further command is sent. Otherwise clients cannot know if the service will issue the command for an indefinitely long duration, or will stop it after a definite amount of time.

Proposed solution

The SetComponentPowerActive RPC should return an object of type SetComponentPowerActiveResponse. The SetComponentPowerActiveResponse message should be the following:

message SetComponentPowerActiveResponse {
    google.protobuf.Timestamp valid_until_ts = 1;
}

(Similar for the SetComponentPowerReactive RPC)

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:protobufAffects the protocol buffer definition filespriority:❓We need to figure out how soon this should be addressedtype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions