Sunrise/sunset app

(Jim) #1

Is anyone using this app with the offset? I’m trying to use it to turn lights on 15 minutes before sunset but I can’t get it to fire. I looked at the code and it mentions a work around for a scheduling bug . Is it broken?

I’m not much of a programmer…

(Im Brian) #2

I would look into getSunriseAndSunset()

It accepts parameters for:

getSunriseAndSunset(zip, sunriseOffset, sunsetOffset)

As documentation on this function are pretty slim, I’m not sure how supported it is.

(Im Brian) #3 (must be logged in to view)

(Jim) #4

Thanks - I think I have something cooking