Modular multifunctional home automation device adapted to be inserted as an element in an electrical box, said element having an enclosure having the size of a single "Electric element" and being constructed to have outer shapes compatible with frames and plates of the existing electrical boxes based on the different national or international standards, wherein said element comprises: - an actuator module comprising: - a transformer/power supply for generating a low voltage (Vcc) to supply the other components, - a voltage modulator comprising at least one electronic regulator connected to at least two outputs (U1, U2) for wiring to an existing electrical grid or net of a room; said electronic regulator piloting said at least two outputs (U1, U2); - a logical module connected with said actuator module and comprising: - an electronic processor for the management and control of the functions of said voltage modulator; - a non-volatile memory to save information that allows the proper functioning of the home automation device, even in case of power failure, - a Wireless and/or Wired communication system for bidirectional communication with outside devices, - a functional module, connected to said logical module, and placed in said enclosure so as to have at least one face facing the outside of said electrical box, said at least one face comprising: - a touchscreen display connected to said electronic processor; and - a sensor configured to obtain information on significant events in said room of said building, wherein said Wireless and/or Wired communication system is configured for receiving instruction from and/or sending instruction to another modular multifunctional home automation device; wherein said electronic processor is configured for receiving instruction for driving said voltage modulator from either said Wireless and/or Wired communication system or said touchscreen display or said sensor so as to manage the multifunctional home automation device either internally to or from the outside of said room. - an actuator module comprising: - a transformer/power supply for generating a low voltage (Vcc) to supply the other components, - a voltage modulator comprising at least one electronic regulator connected to at least two outputs (U1, U2) for wiring to an existing electrical grid or net of a room; said electronic regulator piloting said at least two outputs (U1, U2); - a transformer/power supply for generating a low voltage (Vcc) to supply the other components, - a voltage modulator comprising at least one electronic regulator connected to at least two outputs (U1, U2) for wiring to an existing electrical grid or net of a room; said electronic regulator piloting said at least two outputs (U1, U2); - a logical module connected with said actuator module and comprising: - an electronic processor for the management and control of the functions of said voltage modulator; - a non-volatile memory to save information that allows the proper functioning of the home automation device, even in case of power failure, - a Wireless and/or Wired communication system for bidirectional communication with outside devices, - an electronic processor for the management and control of the functions of said voltage modulator; - a non-volatile memory to save information that allows the proper functioning of the home automation device, even in case of power failure, - a Wireless and/or Wired communication system for bidirectional communication with outside devices, - a functional module, connected to said logical module, and placed in said enclosure so as to have at least one face facing the outside of said electrical box, said at least one face comprising: - a touchscreen display connected to said electronic processor; and - a sensor configured to obtain information on significant events in said room of said building, - a touchscreen display connected to said electronic processor; and - a sensor configured to obtain information on significant events in said room of said building, wherein said Wireless and/or Wired communication system is configured for receiving instruction from and/or sending instruction to another modular multifunctional home automation device; wherein said electronic processor is configured for receiving instruction for driving said voltage modulator from either said Wireless and/or Wired communication system or said touchscreen display or said sensor so as to manage the multifunctional home automation device either internally to or from the outside of said room.