The power supply/photo switch for the deck “foot lights” failed so I built a new photo switch that will initially run from an LED power supply until I wire it for the solar plant. I don’t particularly like this circuit as it sinks more current when it is off than when it is on. It’s warming up a 2 watt resistor pretty aggressively. Maybe I’ll redesign it so that off is actually off.

