Back
SunriseSunset.org On sunset. MagicHue Turn lights on.

Turn MagicHue lights on at sunset

Connect

How this automation works

Automate your lighting by turning on your MagicHue lights when the sun goes down. This Applet runs at your specified location's sunset and powers on the lights automatically using MagicHue. Perfect for creating a cozy atmosphere or enhancing home security after dark.

If
SunriseSunset.org 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.
Includes tonight's sunset, tomorrow's sunrise and time of night
CivilSunset CivilSunrise NightimeDuration
Then
MagicHue 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 your lights on.
which_lights color brightness

Services used in this Applet

Create your own MagicHue and SunriseSunset.org 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.

10 triggers, queries, and actions

On sunset

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.
Includes tonight's sunset, tomorrow's sunrise and time of night

Sunrise and sunset information

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 times for all sunrise and sunsets for a specified location that day.

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 your scene.

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 make your lights quickly blink the color of your choice.

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.

Switch to dynamic mode for your 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 change your lights to the requested dynamic mode such as light flashing, jumping, gradual change and strobe.

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 your lights off if they are on, and turn them on if they are off.

Turn lights 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 your lights off.

Turn lights on

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 your lights on.

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 your scene.

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 make your lights quickly blink the color of your choice.

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.

On sunset

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.
Includes tonight's sunset, tomorrow's sunrise and time of night

Sunrise and sunset information

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 times for all sunrise and sunsets for a specified location that day.

Switch to dynamic mode for your 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 change your lights to the requested dynamic mode such as light flashing, jumping, gradual change and strobe.

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 your lights off if they are on, and turn them on if they are off.

Turn lights 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 your lights off.

Turn lights on

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 your lights on.

Build an automation in seconds!

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

More on MagicHue and SunriseSunset.org

About MagicHue

MagicHue service will let you connect and automate your bulbs and wifi led controller. Just enjoy the fun of lights. Supported Magic Home WiFi smart light.

Explore MagicHue

More integrations with MagicHue

About SunriseSunset.org

Sunrise and sunset times for a given location including civil, nautical, and astronomical twilights. See https://sunrise-sunset.org for more info

Explore SunriseSunset.org

More integrations with SunriseSunset.org

IFTTT helps all your apps and devices work better together

Get started for free