Turn on lights one hour before sunset

In order for this to work, you need to add a sunset time calendar to your Google calendar. Have it send an email notification to you, one hour before sunset. (You can change this time, of course.) Set a Gmail filter to label these emails "sunset". This script runs when you receive an email with a specified filter.

by suzirecipes

Install 38
works with
  • Philips Hue