How to turn on/off a device when another device turns on/off

Hello all! I have the following setup: I have a heater that turns on a circulating pump when it starts. This pump is directly connected to it. I have another circulating pump in another place in my house where I only have 220v power socket. I need to turn on the additional pump when the heater pump turns on and to turn it off then the heater pump turns off. How can this be done using Sonoff devices? Can I use the DUAL R3 to “feel” when the main pump gets power and then create a scene that turns on the Basic R2 (connect the live wire from the main pump to the DUAL R3 switch, when it gets power it turns on-> a scene turn on the Basic) ? Do you have another idea?