cancel
Showing results for 
Search instead for 
Did you mean: 
Replies are disabled for this topic. Start a new one or visit our Help Center.

Modify sunrise and sunset times

Johnwa
Community Member

Is it possible to add or subtract a bit of time from the sunrise/sunset times?.  I would like to turn my porch lite on and off about 30 minutes after and before the rise and set times.

1 Recommended Answer

JillG
Diamond Product Expert
Diamond Product Expert

Hi @Johnwa 

You can make a script as @Idalar posted. You can also use a pre made automation in the Google Home app.

Automations + (to make a new one) Household>+ add starter>at sunrise or sunset> then click the top box 9when the sun rises etc) to adjust the time. You will then see options for minutes before or after.

Hope this all helps!

View Recommended Answer in original post

3 REPLIES 3

Idalar
Community Member

Hello

 

You can use this script on home.google.com and modify the value + /- around the sunset/sunrise

starters:
- type: time.schedule
   at: sunrise+60min 

JillG
Diamond Product Expert
Diamond Product Expert

Hi @Johnwa 

You can make a script as @Idalar posted. You can also use a pre made automation in the Google Home app.

Automations + (to make a new one) Household>+ add starter>at sunrise or sunset> then click the top box 9when the sun rises etc) to adjust the time. You will then see options for minutes before or after.

Hope this all helps!

Johnwa
Community Member

Thank you.  That was easy!!