Last Updated:

Enhance Yeelight Control with Custom Effects

S.C.O.R.E.ConvenienceDeviceControl

Overview

The Yeelight start_flow service allows users to create custom lighting effects that enhance the ambiance of their home. This capability addresses the need for personalized lighting scenarios, providing flexibility and creativity in home lighting management.

Convenience icon

Benefits

  • Create unique lighting effects tailored to specific moods or events.
  • Easily automate lighting transitions for parties, relaxation, or focus.
  • Enhance the smart home experience by integrating personalized lighting with other smart devices.

Intent

This capability aims to provide homeowners with the ability to customize their Yeelight lighting for various situations. By declaring custom effects, users can achieve specific aesthetic goals and enhance their living environments.

Preconditions

  • Yeelight smart lights installed and configured in the home.
  • Home Assistant integration set up to control Yeelight devices.
  • Home Assistant installed and configured.
  • Integration available and authenticated: Zigbee2MQTT.
  • Device installed and reachable: Lutron Caseta Dimmer.

Actors

  • Homeowner customizing their living space
  • Family members enjoying personalized lighting during activities
  • Guests experiencing tailored lighting in communal areas

Trigger

The custom lighting effect can be triggered by a voice command, a scheduled time, or an event such as entering a room.

Workflow Diagram

flowchart TD
    A[Voice Command or Event Trigger] -->|check| B{{Custom Effect Defined?}}
    B -->|Yes| C[Activate Custom Lighting Effect]
    C --> D[Lighting Adjusted to Desired State]
    B -->|No| E[Exit]

Workflow Description

1. Define Custom Effect

The user specifies the desired lighting effect parameters, such as color, brightness, and duration.

2. Save Effect in Home Assistant

The custom effect is saved within the Home Assistant configuration for future use.

3. Set Trigger Conditions

The user sets conditions under which the custom effect will be activated, such as time of day or motion detection.

4. Activate Effect

When the defined trigger occurs, the Yeelight start_flow service is called to execute the custom effect.

5. Monitor Feedback

The user checks the lighting to ensure it meets expectations and makes adjustments if necessary.

Postconditions

The Yeelight lighting is adjusted according to the user’s custom effect, creating the desired atmosphere in the home.

Optional Enhancements

  • Integrate with voice assistants for hands-free control.
  • Add more complex capability scenarios based on multiple sensor inputs.
  • Create presets for different occasions, such as movie nights or dinner parties.

Recommended Components

Recommended ApplicationsRecommended IntegrationsRecommended Devices
Home AssistantZigbee2MQTT, Z-Wave JSLutron Caseta Dimmer, WLED Light Controller

Source Examples