In this presentation we describe the main design objectives, the detailed specifications and the final layout of the Detector Control System (DCS) for the electromagnetic calorimeter (ECAL) of the CMS experiment. Emphasis is put on the system implementation and specific hardware and software solutions in each of its sub-systems. The latest results from the tests of final prototypes of these subsystems during the 2006 ECAL test-beam programme, as well as the installation and commissioning of the whole DCS at the CMS experimental construction site are discussed