The invention relates to automatically configuring of a lighting created by a lighting system, particularly to creating a lighting, which follows a person, with a networked lighting system. A basic idea of the invention is to adapt the learning based processing of activations of lamps and presence detectors received as input data to changes in a system for automatically configuring lighting with a variable adaptation rate in order to make the automatic lighting configuration more robust with regard to system changes. An embodiment of the invention relates to a system (10) for automatically configuring a lighting, wherein the system comprises—a network of lamps (12), wherein each lamp is activated by a control signal and outputs its activation,—a network of presence detectors (14), wherein each presence detector is activated by detecting an activity and outputs its activation, and—a lighting configurator (16) for processing activations of lamps and presence detectors received as input data (18) based on learning and outputting control signals (20) for lamps depending on the processed input data for configuring the lighting, wherein the processing of input data by the lighting configurator can be adapted to changes in the system with a variable adaptation rate (22).