Air flow safety device detected improper air/gas mixture and automatically shut down boiler which powers generator for power generation. Secondary power to the hoist was lost and evacuation commenced at 3:25 am and was complete at 3:39 am. Power was restored at 3:50 am, the hoist was tested and miners returned underground 4:00 am.