Last Updated:

Times of The Day Binary Sensor

S.C.O.R.E.ConvenienceDeviceControl

Overview

The Times of The Day Binary Sensor provides an automated way to manage home activities based on the time of day. It enhances convenience by allowing users to trigger specific actions tailored to different times, improving daily routines and home efficiency.

Convenience icon

Benefits

  • Automates home lighting and appliance control according to daily schedules.
  • Saves energy by turning off devices when not needed during specific times.
  • Enhances security by simulating occupancy through controlled lighting.

Intent

This capability aims to simplify the management of home environments by enabling capability based on the time of day. The outcome is a more efficient and responsive living space that aligns with the user’s daily routine.

Preconditions

  • Home Assistant must be installed and configured.
  • The Times of The Day Binary Sensor integration must be enabled.
  • Connected devices must be compatible with Home Assistant.
  • Home Assistant installed and configured.
  • Integration available and authenticated: ESPHome.
  • Device installed and reachable: RainMachine Version 2 (API 4.6.1).

Actors

  • Homeowner managing daily schedules
  • Family members interacting with automated systems
  • Guests experiencing a responsive environment

Trigger

The capability is triggered by the current time of day, which activates or deactivates connected devices based on predefined schedules.

Workflow Diagram

flowchart TD
    A[Current Time] -->|check| B{Is it Morning?}
    B -->|Yes| C[Activate Morning Routine]
    C --> D[Lights On, Appliances Active]
    B -->|No| E{Is it Evening?}
    E -->|Yes| F[Activate Evening Routine]
    F --> G[Lights Dim, Appliances Off]
    E -->|No| H[Check Other Times]

Workflow Description

1. Identify Current Time

The system checks the current time using the built-in clock.

2. Evaluate Time Conditions

The sensor evaluates if the current time matches predefined morning or evening parameters.

3. Trigger Actions Based on Time

Depending on the time, specific actions such as turning on lights or adjusting appliances are triggered.

4. Send Notifications (Optional)

Users may receive notifications about the activated routines for awareness.

5. Log Activities

The system logs actions taken for future reference and optimization.

Postconditions

Upon completion, the home environment adjusts according to the current time, enhancing user convenience and energy efficiency.

Optional Enhancements

  • Integrate with voice assistants for manual overrides.
  • Add more granular time control for specific devices.
  • Implement notifications for users when routines are activated.

Recommended Components

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

Source Examples