Automated control system for controlling electrical and electronic devices installed in a home, the system is characterized in that it comprises: - a server comprising: • a control unit for controlling and communicating with some client devices; • a first Power Line Communications "PLC" device configured to allow sending and receiving information to and from the client devices through the electrical grid; and • a transformer for powering the server; - at least one client device located in each room of the home, where the client device is connected to the wiring of an electrical junction box of the electrical installation of the home, and the client device comprises: • a connector strip connected to the wiring of the electrical junction box; wherein the connector strip comprises power inlets (21, 27), switch inputs (22, 28) and power outlets (23, 29); • a headpiece located on the exterior of the electrical junction box, the headpiece comprising a plurality of sensors (11,12,13,14,16), a plurality of actuators (15,18,19), a second PLC device, a transformer and a microcontroller, with said headpiece being connected to the connector strip; wherein the at least one client device and the server feed and intercommunicate each other via the wiring of the electrical installation of the home, so that the client devices inform the server by means of the sensors (11, 12, 13, 14, 16) of the changes taking place in the room where they are located, and the server via instructions given by the user, either to the server itself or from a device with internet connection, instructs the client device the actions that it must carry out to control any of the electrical and electronic devices of the home that are connected to the electrical grid. - a server comprising: • a control unit for controlling and communicating with some client devices; • a first Power Line Communications "PLC" device configured to allow sending and receiving information to and from the client devices through the electrical grid; and • a transformer for powering the server; • a control unit for controlling and communicating with some client devices; • a first Power Line Communications "PLC" device configured to allow sending and receiving information to and from the client devices through the electrical grid; and • a transformer for powering the server; - at least one client device located in each room of the home, where the client device is connected to the wiring of an electrical junction box of the electrical installation of the home, and the client device comprises: • a connector strip connected to the wiring of the electrical junction box; wherein the connector strip comprises power inlets (21, 27), switch inputs (22, 28) and power outlets (23, 29); • a headpiece located on the exterior of the electrical junction box, the headpiece comprising a plurality of sensors (11,12,13,14,16), a plurality of actuators (15,18,19), a second PLC device, a transformer and a microcontroller, with said headpiece being connected to the connector strip; • a connector strip connected to the wiring of the electrical junction box; wherein the connector strip comprises power inlets (21, 27), switch inputs (22, 28) and power outlets (23, 29); • a headpiece located on the exterior of the electrical junction box, the headpiece comprising a plurality of sensors (11,12,13,14,16), a plurality of actuators (15,18,19), a second PLC device, a transformer and a microcontroller, with said headpiece being connected to the connector strip;