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

Turn on BG Home devices at sunset

Connect

How this automation works

Automate your lighting by turning on selected BG Home devices when the sun sets at your chosen location. This Applet runs automatically based on local sunset times provided by SunriseSunset.org and powers on your connected BG Home sockets. Perfect for keeping your home illuminated during the evening or when you’re away, ensuring comfort and visibility.

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

Services used in this Applet

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

8 triggers, queries, and actions

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

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

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.

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

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

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

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

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

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

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.

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

Build an automation in seconds!

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

More on BG Home and SunriseSunset.org

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 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