Last time in the
comments there was a sensible offer to put solid state relays together with ordinary electromechanical relays.
What I actually did.
A week ago, the SSR-25 DA relays arrived:

They are controlled by voltage from 3 to 32V. Commute narguzku to 25A from 24V to 380V. Exactly what is needed.
Silent, on the case there is a large red LED that illuminates when the circuit is closed.
I removed the old unit, fixed two solid-state relays instead, connected the same power section as usual relays, and the control signals are sent simply - common ground, connected to the terminal "-", and to the terminal "+" the wire from the microcontroller leg . The consumed current is only about 8.2 mA according to my measurements, so there is no significant load for the MK relay.
I brought contacts to the relay through the contact pad, so that it was more convenient to change in case of anything:

"
USB-IRPC SS Relays Module v2 "
Black is earth, yellow and green are relay control signals.
The white wire serves +5, but it is not used, since the relays do not require a separate power supply. In principle, this allows for the same 4-wire cable to control already three relays / sockets. It is only necessary to withdraw another leg from the MC to the cable.
After checking the connection, be sure to insulate the contacts. Be careful, check and double check the power unit!
My relays arrived without plastic covers, so I had to isolate it like this:

"
USB-IRPC SS Relays Module v2 "
Better yet, put it in a hard case.
Benefits
- The resource of solid-state relays is significantly higher
- Noiseless switching
- Lower consumption
- No additional power needed, which means that it is possible to control 3 wires over 4 wires, not 2 relays.
- More reliably - due to interference from mechanical relays, sometimes the device itself was buggy when one of the relays was disconnected.
The cost of such a
relay is $ 3.79 with delivery.
I immediately bought 5 pieces in reserve.
Code Changes
Since the relay is controlled by direct logic - 1 is on, 0 is off, not reverse, like electromechanical, I changed the display of the relay states in the program to the opposite.
The changes are primitive, but if anyone needs it, write in the comments - I'll post a new version of the program for the PC.