Back
iOS Shortcuts Shortcut automation started. Yeelight Toggle lights on/off.

Toggle Yeelight lights when an iOS Shortcut automation starts

Connect

How this automation works

Control your Yeelight smart lights automatically from your iPhone. This Applet runs when an iOS Shortcut automation starts, toggling or changing your lights based on your chosen setting. Perfect for automating lighting scenarios like bedtime routines, morning activation, or hands-free ambiance control through Yeelight and iOS Shortcuts.

If
iOS Shortcuts icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an iOS Shortcut automation is started.
OccurredAt
Then
Yeelight icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will turn on, turn off or toggle your lights.
device_id on_off_option

Services used in this Applet

Create your own Yeelight and iOS Shortcuts workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

11 triggers, queries, and actions

Shortcut automation started

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an iOS Shortcut automation is started.

Current brightness value

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the brightness of the device you choose

Current color temperature value

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the color temperature value of the device you choose

Current color value

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the color value of the device you choose

Current power state

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the on/off state of the device you choose

Change brightness

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your light's brightness to the specified level.

Change color

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will change your lights to a specified color.

Change color temperature

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will change your lights to specified color temperature.

Set brightness

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will set your lights to a specified brightness.

Set scene

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will set your lights to a pre-defined scene.

Toggle lights on/off

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will turn on, turn off or toggle your lights.

Change brightness

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your light's brightness to the specified level.

Change color

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will change your lights to a specified color.

Change color temperature

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will change your lights to specified color temperature.

Current brightness value

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the brightness of the device you choose

Current color temperature value

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the color temperature value of the device you choose

Current color value

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the color value of the device you choose

Current power state

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns the on/off state of the device you choose

Set brightness

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will set your lights to a specified brightness.

Set scene

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will set your lights to a pre-defined scene.

Shortcut automation started

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when an iOS Shortcut automation is started.

Toggle lights on/off

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will turn on, turn off or toggle your lights.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on Yeelight and iOS Shortcuts

About Yeelight

Yeelight service will let you connect and automate your bulbs and lamps. Just enjoy the fun of lights.

Explore Yeelight

More integrations with Yeelight

About iOS Shortcuts

A shortcut provides a quick way to get things done with your apps, with just a tap or by asking Siri. Shortcuts can automate a wide variety of things on your iOS devices. This service requires the IFTTT app for iOS.

Explore iOS Shortcuts

More integrations with iOS Shortcuts

IFTTT helps all your apps and devices work better together

Get started for free