Sunset and sunrise rimes are constantly changing. It will be really hellful to extend the 60 min time limit in the app. In other words, allow to start a routin or automation 120/90 min after sunrise or 120 min before susnet. The current limitation of 60 min is not enough unfortunately
If you have access to Smart Lighting within the SmartApps section on the bottom of the Routines tab, in it you can control devices by setting any variations of time based off of sunrise or sunset. I currently have my outdoor lights turn on at sunset -1:15, and off at sunrise -7:43.
If Smart Lighting is not installed, you can try clicking on the compas icon at the top of the Routines tab to see if Smart Lighting is available to you to install.
It should also be available on the Life tab.
You may also be able to do a greater offset use the Rules API. @TapioX is much better versed than myself on the Rules API and can probably provide better insight than I can.
You can find Rules API examples from GitHub - SmartThingsDevelopers/Sample-RulesAPI: Rules are a versatile tool, enabling you to automate the Devices and services that connect to the SmartThings Platform. When possible, Rules execute locally on a Hub.
This example in GitHub is for starting rule at given time each day.
EveryAction also supports a specific option as well. In this case we can create a rule where we turn on a light at a given time each day. The reference field allows for a number of options: (Now , Sunrise , Noon , Sunset , Midnight ). You can then use the offset to fine tune the time to execute at an exact time every day.
It’s also possible to add and modify Rules API rules using Web tool.
Interesting, Smart Lighting has never appeared on the Life tab for me, and I see no way to add it there. It has always been at the bottom of the Routines tab (or legacy Scenes tab, if I think back far enough) for me.
Just curious, how did you get Smart Lighting to show on the Life tab? Also, iOS or Android?
It’s not on the Life Tab for me either. I’m using an iPad. ![]()
I should have mentioned that I am on Android and have never had Smart Lighting on the Life tab. ![]()
Hmmm… at some point it was there, but isn’t anymore. I don’t have any Smartlighting recipes set up, so I’m finding it after clicking the compass icon as @JKnight suggested.