Sunset, sunrise settings

Hi All, just starting out with my whole automation and I have tried a few different scenarios within the smartapps to get my outside lights to turn on at sunset and on at sunrise. It never works. If I try a new smartapp and put in an actual time to turn on and time to turn off it works as scheduled. I have also tried setting up a sunset to sunrise smartapp for some motion detectors but they too failed but work with a set times? Anyone have any ideas as to why this would be happening?

It sounds like your hub doesn’t know where it is. No location = no sunset or sunrise time. If you set a location in the mobile app, you could email support to ask them if that’s the problem and whether they can fix your hub’s location.

Hi @geopac20, welcome to ST and the Community!

Are you using ST’s Smart Lighting smartapp?

1 Like

Thanks for the welcome. Yes that is the one I am using.

totally agree with this. I have been using this from day one for my outside house security lighting and never have an issue. It has been the most reliable automation for me thus far. So if you are having issues definitely verify location settings like @marktheknife suggests and if that is right just get on chat with tech support.


Well that’s odd… Of all my smartapps I use, that’s been one of the best, including turning on/off my outside lights at sunset/sunrise.

You could have an issue with your hub not knowing it’s location, but before we go that route let’s check your settings for Smart Lighting. Here’s what mine look like:

It’s about as simple as it gets. Does yours look like that? If not, can you set yours up like mine to see what happens? If it is like that already, then it might be time to email support.

Thanks John, I did submit it in to support today and they checked my settings and said they corrected the issue for me. Will find our shortly.


Update: never mind, found under smart apps >lightning

Am I missing something or this is how it works.
With my kasa devices with there app, I can just schedule that switch/plug turn on 30min before sunset and off 30min after everyday.

But on smartthings, i don’t don’t sunset or sunrise within device’s own menu, but in automations only.
I set if within this time frame x switch is off, turn it On. But now it will keep it on after that time frame, unless i make another ‘if’ automations for rest of time frame for ‘off’ function.
Is their something straight one step option like TP kasa app to achieve this?