A recessed lighting system for walls, ceilings or floors, comprising: - a supporting structure, extending in a longitudinal direction and forming an internal space; - at least one functional unit extending in a longitudinal direction and suited to be housed in the internal space of the supporting structure, and comprising a lower surface which comprises electrical contacts; - at least one lighting device equipped with a lighting means and comprising electrical contacts attachable to the electrical contacts of the functional unit to maintain the lighting device connected to the functional unit; wherein the supporting structure comprises a rail on which the lighting device is coupled, - a lighting device control unit which in turn comprises a microprocessor for the control of the lighting device, - a computer application and means to allow the sending of a set of instructions from the computer application to the control unit, - an array of actuators (120, 130, 140) and/or controllers which receive an array of commands sent from the control unit, based on the set of instructions sent from the computer application to the control unit, where the array of actuators (120, 130, 140) comprises at least one first actuator or motor to perform the displacement of the lighting device along the rail, and characterized in that the lighting device is comprised of a housing which encases the control unit, the array of actuators (120, 130, 140) and/or controllers and an array of mechanisms which transmit the movement of said array of actuators (120, 130, 140) and/or controllers to an arm linking said array of mechanisms to the lighting means, and consequently transmitting the movements performed by the array of actuators (120, 130, 140) and/or controllers and transmitted by the control unit, based on the set of instructions sent from the computer application. - a supporting structure, extending in a longitudinal direction and forming an internal space; - at least one functional unit extending in a longitudinal direction and suited to be housed in the internal space of the supporting structure, and comprising a lower surface which comprises electrical contacts; - at least one lighting device equipped with a lighting means and comprising electrical contacts attachable to the electrical contacts of the functional unit to maintain the lighting device connected to the functional unit; wherein the supporting structure comprises a rail on which the lighting device is coupled, - a lighting device control unit which in turn comprises a microprocessor for the control of the lighting device, - a computer application and means to allow the sending of a set of instructions from the computer application to the control unit, - an array of actuators (120, 130, 140) and/or controllers which receive an array of commands sent from the control unit, based on the set of instructions sent from the computer application to the control unit, where the array of actuators (120, 130, 140) comprises at least one first actuator or motor to perform the displacement of the lighting device along the rail, and characterized in that the lighting device is comprised of a housing which encases the control unit, the array of actuators (120, 130, 140) and/or controllers and an array of mechanisms which transmit the movement of said array of actuators (120, 130, 140) and/or controllers to an arm linking said array of mechanisms to the lighting means, and consequently transmitting the movements performed by the array of actuators (120, 130, 140) and/or controllers and transmitted by the control unit, based on the set of instructions sent from the computer application.