Back
SunriseSunset.org On sunset. BG Home Turns device on or off. Govee Home Turns on/off.

Turn on lights at sunset

Connect

How this automation works

Automate your evening lighting by turning on your selected smart lights when the sun sets. This Applet runs at sunset, automatically switching your BG Home or Govee lights on for added convenience and ambiance. Perfect for creating a cozy home atmosphere or improving outdoor visibility 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
BG Home 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 a device on or off
deviceinfo PowerControl_ChangePowerState_string
And
Govee Home 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/off the device of your choosing.
device_name light_on_off

Services used in this Applet

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.

30 triggers, queries, and actions

Appliance alert

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 the alert is triggered

Armed/DisArmed

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 the sensor is armed or disarmed

Body induction

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 the status of the body induction(PIR Detector) change

Contact sensor triggered

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 contact sensor triggered

Device turns on or off

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 a device turns on or off

Low battery

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 battery is low

Motion sensor triggered

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 motion sensor triggered

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

Sub-devices triggered

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 the gateway sub device is triggered

Turned on/off

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 the device is turned on/off

Water leakage detected

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 water leakage is detected or stops

Ping

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.
server health check ping

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.

Apply Snapshot

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 apply the snapshot of your choice to the device that created the snapshot

Arm/Disarm

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.
You can choose to arm or disarm your device through this action.

Set appliance mode

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 the device (not including lights) to a specified mode.

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 control the brightness of your device

Set 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 control the color of your device

Set 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 control the color temperature of your device

Set light 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 the light to a specified brightness.

Set light 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 set the light to specified color.

Set Volume

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 the device Volume

Smart Aroma Diffuser Scenes

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 apply the Smart Aroma Diffuser Scene of your choice to the device

Turn on/off Dreamview

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/off the Dreamview of your choosing.

Turn on/off Night Light

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/off the Night Light of your choosing.

Appliance alert

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 the alert is triggered

Apply Snapshot

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 apply the snapshot of your choice to the device that created the snapshot

Arm/Disarm

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.
You can choose to arm or disarm your device through this action.

Armed/DisArmed

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 the sensor is armed or disarmed

Body induction

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 the status of the body induction(PIR Detector) change

Contact sensor triggered

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 contact sensor triggered

Device turns on or off

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 a device turns on or off

Low battery

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 battery is low

Motion sensor triggered

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 motion sensor triggered

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

Ping

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.
server health check ping

Set appliance mode

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 the device (not including lights) to a specified mode.

Build an automation in seconds!

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

More on these services

About BG Home

Take control of your connected devices from anywhere with BG Home.Add button widgets, turn your devices on and off automatically when approaching or leaving home with geo-location, and enhance your experience by building connectivity tasks with other Smart Home devices through IFTTT.

Explore BG Home

More integrations with BG Home

About Govee Home

Govee Home allows you to control your smart devices, like lights, leak detectors, and smart plugs. With IFTTT, you can create automated tasks, such as having your strip lights power on when you open your door. You can also connect all your smart home apps and sync them with your daily routine automatically.

Explore Govee Home

More integrations with Govee Home

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