- Preview
- A fictional drip line with a local countdown after confirming a run.
- Inputs
- Provide zoneId, revision, label and state (ready, watering or blocked). For start, provide limits with positive whole minMinutes and maxMinutes, plus an optional defaultMinutes. A reported run has an ID, durationMinutes and remainingSeconds (or null). Optional flowM3PerHour is the measured rate.
- Source options
- Map the zone controller's confirmed state. Revalidate duration, permissions and revision in the host before sending an operation. Reconcile repeat requests at the host boundary.
- Actions
- Specify a duration and confirm a start, or confirm stop for the reported run. The Zod payload contains zoneId, revision and either type: start with durationMinutes, or type: stop with runId. After acceptance, the widget waits for the updated revision.
- Integration requirements
- Change revision when command-relevant state changes. Refresh remainingSeconds as new readings arrive. Elapsed progress is derived from the reported remaining and total time. The demo alone uses a local clock.