Back
Button widget Button press. iOS Calendar Create a calendar event. Philips Hue Dim lights. TP-Link Kasa Turn off.

Dim Philips Hue lights and create iOS calendar event with Button widget

Connect

How this automation works

Control your lighting and schedule tasks with one simple tap. This Applet runs when you press the Button widget in the IFTTT app, dimming your Philips Hue lights and creating a calendar event in iOS Calendar. Perfect for setting the mood and logging actions or reminders effortlessly. Note: Install the IFTTT app and add the Button widget to your home screen.

If
Button widget icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.
ShareURL Latitude Longitude LocationMapURL LocationMapImageURL OccurredAt
Then
TP-Link Kasa 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 off a selected device.
device
And
Philips Hue 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 dim or brighten your hue lights to a value between 0-100.
lights brightness
And
Philips Hue 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 off your hue lights.
lights
And
iOS Calendar 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 creates a new event in the calendar you specify.
calendar_name title location start_date duration notes url alert

Create your own 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.

24 triggers, queries, and actions

Button press

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.

New event added from search

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 every time a new event is added to any of your calendars that contains a specific keyword or phrase. The search looks at all of the attributes associated with an event, including title, location, notes, and invitees.

New event added to any calendar

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 every time a new event is added to any of your calendars.

New event added to specific calendar

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 every time a new event is added to the calendar that you specify.

Get Lights

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 all lights of the bridge.

Activate 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 activate a selected Scene from your account.

Blink lights

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 briefly turn your hue lights off then back on.

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 the brightness of a light bulb.

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 the color of your hue lights. NOTE: Accepts color names and CSS hex color values. Defaults to white if no color match is found. NOTE: not compatible with hue lux bulbs.

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 the color of a light bulb.

Change color from image

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 the color of your hue lights to match the dominant colors found in an image you specify. NOTE: not compatible with hue lux bulbs.

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 the color temperature of a light bulb.

Change to random 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 hue lights to a randomly selected color. NOTE: not compatible with hue lux bulbs.

Create a calendar event

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 creates a new event in the calendar you specify.

Dim lights

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 dim or brighten your hue lights to a value between 0-100.

Set a scene in a room

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 well set a scene on your hue lights. NOTE: in order to add lights to a room, you must be using the newest version of the Hue app

Set speed level

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 speed level of devices such as fans.

Activate 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 activate a selected Scene from your account.

Blink lights

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 briefly turn your hue lights off then back on.

Button press

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This trigger fires every time you press the button.

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 the brightness of a light bulb.

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 the color of your hue lights. NOTE: Accepts color names and CSS hex color values. Defaults to white if no color match is found. NOTE: not compatible with hue lux bulbs.

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 the color of a light bulb.

Change color from image

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 the color of your hue lights to match the dominant colors found in an image you specify. NOTE: not compatible with hue lux bulbs.

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 the color temperature of a light bulb.

Change to random 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 hue lights to a randomly selected color. NOTE: not compatible with hue lux bulbs.

Create a calendar event

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 creates a new event in the calendar you specify.

Dim lights

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 dim or brighten your hue lights to a value between 0-100.

Get Lights

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 all lights of the bridge.

Build an automation in seconds!

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

More on these services

About iOS Calendar

iOS Calendar makes setting up and sharing your events easy. Keep your calendar information up to date across multiple devices, including iPhone, iPad, and your laptop. This service requires the IFTTT app v3.2.0 or above.

Explore iOS Calendar

More integrations with iOS Calendar

About Button widget

Make buttons and control other services with a single tap. This service creates widgets that you can use from the home screen of your Android or iOS device.

Explore Button widget

More integrations with Button widget

About Philips Hue

Philips Hue connected bulbs and bridge let you to take full control of your lighting. Whatever you want to do with your lighting, Hue can.

Explore Philips Hue

More integrations with Philips Hue

About TP-Link Kasa

Kasa by TP-Link is a leading smart home system that includes Kasa Smart Plugs, Smart Bulbs, Smart Switches and more. It works with other leading smart home products such as Amazon Echo, Google Home, and more. Now with IFTTT, you can also create personalized Applets that trigger automatic actions on your Kasa devices.

Explore TP-Link Kasa

More integrations with TP-Link Kasa

IFTTT helps all your apps and devices work better together

Get started for free