A set comprising a bed equipped with a pendulum mechanism comprising a horizontal immovable part, which is connected by at least two diagonally placed suspensions with a movable part, and a device for actuating the pendulum mechanism adapted to be mounted onto the pendulum mechanism, the device comprising a first assembly adapted to be mounted onto the immovable part of the pendulum mechanism and a second assembly adapted to be mounted onto the movable part of the pendulum mechanism, wherein the first assembly and the second assembly are connected to each other by a wire;
- wherein at least the first assembly comprises an electromagnet and the second assembly comprises an electromagnet;
- wherein one of said assemblies comprises at least a processor and a power source for components of both the first assembly and the second assembly;
- and wherein the first assembly and the second assembly are positioned so that their electromagnets could interact in order to move the movable part.