an electronic control system for operating lighting is rated and operable from normal ac mains supply voltages . a street light controller is adapted to activate a luminaire when ambient light levels are considered too dark and , conversely , when ambient light levels are sufficient , the luminaire is turned off .