-J'en Have a programmed so that it lights a little, a few minutes before my alarm clock rings, on weekdays only
-When I leave home, they are extinguished
-The Evening, a light comes on just before I arrived at home, thanks to geolocation of my position, and only if it is already dark.
-Sometimes When I'm away from my home for a long, sometimes I turn on the light to simulate my presence, I do not know if that is helpful.
-Otherwise Daily for turning on and off rapidly I use a widget on my iPhone.