2016-11-09
@Alex Tucker
Got the open/close thing wrong. No wonder MAX_OPEN_TIME made no difference.
Alex Tucker committed on 9 Nov 2016
2015-11-01
@Alex Tucker
Reduced brightness threshold further.
Alex Tucker committed on 1 Nov 2015
2013-08-01
@Alex Tucker
Renamed door up/down to open/close for new configuration. Lowered dark threshold again. Slightly reduced door open time.
Alex Tucker committed on 1 Aug 2013
2013-07-18
@Alex Tucker
Added second sensor and configured for new chicken house.
Alex Tucker committed on 18 Jul 2013
2013-05-17
@Alex Tucker
Fiddled with delays.
Alex Tucker committed on 17 May 2013
2013-04-28
@Alex Tucker
Added timeout to door close, in case sensor isn't reached because of blockage. Increased door open time slightly.
Alex Tucker committed on 28 Apr 2013
2013-03-12
@Alex Tucker
Lowered brightness threshold to 600.
Alex Tucker committed on 12 Mar 2013
2013-03-09
@Alex Tucker
Only supply power to sensors when needed. Added debugging.
Alex Tucker committed on 9 Mar 2013
2013-03-02
@Alex Tucker
Use Narcolepsy library for sleep. Add hysteresis. Lower dark threshold.
Alex Tucker committed on 2 Mar 2013
@Alex Tucker
Moved pins around so that external button can be used for wakeup. Set up delays and brightness values for first try. Rejigged brightness rolling average calculation.
Alex Tucker committed on 2 Mar 2013
2013-02-26
@Alex Tucker
Initial version, uses photocell and door contact and powers down the Arduino for 8 seconds at a time while waiting.
Alex Tucker committed on 26 Feb 2013