This document describes the design and implementation of a single switch SEPIC converter for an LED driver circuit with power factor correction and an automation system. The system uses a boost PFC converter operating in discontinuous mode to achieve a high power factor. A SEPIC converter is then used to supply a continuous current to the LED driver circuit. A snubber circuit clamps peak voltages and recycles leakage inductor energy. Experimental results showed the system could supply 48V and 2A to the LED load while achieving power factor correction and high efficiency. The system also includes an automation feature to power emergency lamps during a power failure using energy stored in a battery.