Last Updated:

Enhanced Scheduling with Plural Conditions

S.C.O.R.E.OrganizationScheduling

Overview

The new capability of having a plural ‘conditions’ key allows for more versatile scheduling options in home capability. This enhancement enables users to set multiple conditions for triggering actions, increasing the flexibility and precision of their automated routines.

Organization icon

Benefits

  • Improved accuracy in scheduling tasks based on multiple conditions.
  • Greater control over home capability scenarios, allowing for complex workflows.
  • Enhanced user experience with more responsive and tailored capability.

Intent

This capability aims to streamline home management by allowing users to define multiple conditions in their scheduling capabilities. The result is a more efficient home environment that adapts to the user’s specific needs and preferences.

Preconditions

  • Home Assistant software version 2024.10 or later.
  • Configured capability routines in Home Assistant.
  • Supported devices or integrations capable of responding to multiple conditions.
  • Home Assistant installed and configured.
  • Integration available and authenticated: ESPHome.
  • Device installed and reachable: RainMachine Version 2 (API 4.6.1).

Actors

  • Homeowner configuring capabilities
  • Family members adjusting schedules
  • Guests benefiting from tailored home settings

Trigger

The capability is triggered when the defined conditions are met, such as time of day, occupancy status, or sensor readings.

Workflow Diagram

flowchart TD
    A[Conditions Met] -->|check| B{{Are all conditions satisfied?}}
    B -->|Yes| C[Execute Scheduled Task]
    C --> D[Update Home Status]
    B -->|No| E[Wait for Conditions]

Workflow Description

1. Define Conditions

Identify and set the multiple conditions under which the capability should trigger, such as time, presence, or sensor states.

2. Save Capability

Once conditions are defined, save the capability within the Home Assistant interface.

3. Monitor Conditions

Home Assistant continuously monitors the defined conditions to check if they are satisfied.

4. Trigger Actions

When all conditions are met, the scheduled tasks are executed, such as turning on lights or adjusting the thermostat.

5. Feedback Loop

The system updates the home status based on the actions taken, allowing for real-time adjustments and feedback.

Postconditions

Upon completion, the home environment reflects the changes made by the capability, ensuring that all defined conditions resulted in the desired actions.

Optional Enhancements

  • Integrate with voice assistants for hands-free control of schedule adjustments.
  • Create visual dashboards to monitor active conditions and their statuses.
  • Enable notifications for condition changes that trigger actions.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantESPHome, TasmotaRainMachine Version 2 (API 4.6.1), Garage Door Opener

Source Examples