Overview
The ‘Repeat Until’ capability allows for tasks to run at least once and continue executing until specified conditions are met. This functionality enhances home capability by enabling dynamic responses to changing circumstances, improving user convenience and efficiency.
Benefits
- Automates repetitive tasks based on real-time conditions, reducing manual intervention.
- Enhances comfort by adjusting settings like lighting or heating until desired conditions are achieved.
- Saves energy by ensuring devices operate only when necessary, based on user-defined criteria.
Intent
This capability is designed to automate tasks that need to be completed repeatedly until a certain condition is fulfilled. It enables homeowners to create more responsive and intelligent home environments.
Preconditions
- A compatible capability platform like Home Assistant is set up.
- At least one condition for the repeat operation is defined (e.g., sensor status).
- Devices that can be controlled by the capability are properly integrated.
- Home Assistant installed and configured.
- Integration available and authenticated: ESPHome.
- Device installed and reachable: RainMachine Version 2 (API 4.6.1).
Actors
- Homeowner setting up the capability
- Family members benefiting from the automated tasks
- Guests experiencing the enhanced home environment
Trigger
The process starts based on an event such as a specific time, sensor reading, or motion detection.
Workflow Diagram
flowchart TD
A[Trigger Event] -->|Initiate| B{{Repeat Condition Met?}}
B -->|No| C[Perform Action]
C --> D[Check Condition Again]
B -->|Yes| E[End Process]
Workflow Description
1. Define Trigger
Set up the event that will initiate the capability, such as a time of day or a specific sensor reading.
2. Set Repeat Condition
Establish the condition that will determine whether to continue repeating the action, such as a temperature threshold.
3. Execute Action
Perform the designated action, like adjusting lighting or temperature, based on the defined capability.
4. Check Condition
Evaluate the condition to see if it is still unmet; if so, the action will repeat.
5. Terminate Process
Once the condition is satisfied, the process ends, ensuring efficiency and preventing unnecessary actions.
Postconditions
The capability completes, and the home environment is adjusted according to the defined conditions, providing comfort and efficiency.
Optional Enhancements
- Incorporate machine learning to adapt actions based on past user preferences.
- Integrate with voice assistants for manual overrides or status updates.
- Enable notifications to alert homeowners when actions are being taken.
Recommended Components
| Recommended Applications | Recommended Integrations | Recommended Devices |
|---|---|---|
| Home Assistant | ESPHome, Tasmota | RainMachine Version 2 (API 4.6.1), Garage Door Opener |
Source Examples
- 2026.1: Home is where the dashboard is ?? – Home Assistant (homeassistant)