A system and device for and a method of programming and controlling light fixtures is disclosed. A system in accordance with the present invention includes a stationary controller unit that is electrically coupled to the light fixtures. The stationary controller unit is configured to be remotely programmed with a portable commissioning device to automatically control the lights fixtures. The stationary controller unit and the portable commissioning device include light sensors, micro-computers and transceivers for measuring light levels, running programs, storing data and transmitting data between the stationary controller unit and the portable commissioning device. In operation, target light levels selected with the portable commissioning device and the controller unit is remotely programmed to automatically maintain the target level.