Skip to content

Extract Valve Service from whs.py #122

Description

@Nomad-01

Objective

Extract valve control from whs.py. The valve responsibilities being extracted:

  • Validate requested volume/duration
  • Energize Valve
  • Observe flow
  • Accumulate gallons
  • Stop on target, timeout, or error
  • Always de-energize valve during cleanup

Done when

The orchestration can use the service without directly manipulating the GPIO

Metadata

Metadata

Assignees

Labels

TaskThings to completeTestdocumentationImprovements or additions to documentationenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions