Back
SunriseSunset.org On sunset. TRIGGERcmd Trigger Command.

Run TRIGGERcmd command when the sun sets

Connect

How this automation works

Automate your evening tasks by running a TRIGGERcmd command at sunset. This Applet triggers automatically when the sun sets at your chosen location using SunriseSunset.org data. Perfect for smart home enthusiasts and automation fans who want their computer tasks to align with natural light cycles.

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
TRIGGERcmd 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 run a command on your computer.
command params

Services used in this Applet

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

5 triggers, queries, and actions

Any command

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 any command runs

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

Specific command

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 files when a command you choose is triggered.

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.

Trigger Command

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 run a command on your computer.

Any command

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 any command runs

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

Specific command

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 files when a command you choose is triggered.

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.

Trigger Command

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 run a command on your computer.

Build an automation in seconds!

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

More on TRIGGERcmd and SunriseSunset.org

About TRIGGERcmd

Run commands on your computers remotely

  • Go to triggercmd.com and create an account
  • Install an agent on your Windows, Mac, Linux, or Raspberry Pi computer
  • Setup commands you want to run on the computer

Trigger your commands via IFTTT

Explore TRIGGERcmd

More integrations with TRIGGERcmd

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