I have been trying to setup a ST routine to turn on certain lights when I arrive home with a cell phone presence sensors/geofence, but only between sunset and sunrise.
I can only get this routine to work if there are no restrictions on when this occurs (i.e. omitting the sunrise to sunset).
Any help on how I can make this work or what I’m doing wrong?
You Can use webcore if you want to, but you don’t need to. As @Automated_House mentioned, the official smart lights feature can do this and have the additional advantage of being able to run locally, which webcore cannot.
In fact, if you look in the official knowledgebase article, one of the examples is for exactly this kind of use case: