|We don't bite newbies here... much|
Re: Efficiency of indoor grow light timerby Marshall (Abbot)
|on Nov 14, 2017 at 09:05 UTC||Need Help??|
I do figure that you are way over-thinking this.
To handle power-failure restarts, put a call to turn_off_lights(); in the Pi boot routine.
Schedule a chron job to run this code every 10,20 minutes, or even every hour.
I think I had the wrong sense between day and night time before. Oops.
Here is one link to ChronTab.
I have a Raspberry PI 3. What version do you have?