When the central Connecticut town of Cheshire moved to reduce power use, it upgraded six of its eight public schools with the latest internet of things technology. The plan combined energy-efficient LED fixtures with sensors and cloud-based servers that automatically turn the lights off in an empty room or adjust brightness.