Back
SunriseSunset.org On sunset. Switchur App Update a Switchboard Switch.

Turn on a Switchur switch at sunset

Connect

How this automation works

Automatically turn on a Switchur switch when the sun sets. This Applet runs when SunsetSunrise.org detects sunset at your chosen location and updates your selected Switchur switch accordingly. It's perfect for automating lighting or evening routines using Switchur smart devices.

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
Switchur App 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.
Use this action to turn on, turn off, or toggle a Switchboard Switch.
switchboard_switch_item set_value

Services used in this Applet

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

6 triggers, queries, and actions

An automation is checked

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 automation is evaluated.

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.

Update a Switchboard Counter

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.
Use this action to set, increment, or decrement a Switchboard Counter.

Update a Switchboard Keyword

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.
Use this action to assign a word or short sentence to a Switchboard Keyword.

Update a Switchboard Switch

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.
Use this action to turn on, turn off, or toggle a Switchboard Switch.

An automation is checked

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 automation is evaluated.

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.

Update a Switchboard Counter

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.
Use this action to set, increment, or decrement a Switchboard Counter.

Update a Switchboard Keyword

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.
Use this action to assign a word or short sentence to a Switchboard Keyword.

Update a Switchboard Switch

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.
Use this action to turn on, turn off, or toggle a Switchboard Switch.

Build an automation in seconds!

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

More on Switchur App and SunriseSunset.org

About Switchur App

Switchur is a home automation dashboard and rules engine. Store multiple sensor readings and events as easy to understand switchboard items. And use the logic builder and expression engine to create advanced home automation routines.

Explore Switchur App

More integrations with Switchur App

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