The device automatically detects the presence or absence of light and shuts off the main system controlling streetlights.