You can alway get into a controller to do this and some more. The XS starter kit starts at $200 and you can add either a optical water level sensor for $40 or a float sensor for $30. The XS has 4 sense ports and the starter kit comes with a wifi power strip and a temp sensor. So if you use the temp sensor and get a water level sensor for low level then that will leave 2 sense ports where you can add a leak detector and another sensor. It does not have a pH/ORP port but if you do ever decide to expand you can get another Hydros controller and a command bus cable and at least one terminator and create a collective and add the new controller to the collective. A collective works like a controller with the sump of the inputs and outputs of all member controller. So it is like getting a larger controller without giving up what you already have. The wifi strip has 4 AC outputs that can be controller with the controller individually and 4 USB power outputs that can be controlled together by the controller. A single controller or collective can control up to 8 wifi devices. The wifi strip counts as one device. So you can use one of the outlets to power your return pump but since you would turn off your return you will also want to turn off your skimmer at that time. You can do that with this and add a turn back on delay on the skimmer and have it depend on the return being powered. Using that dependency the delay time would start as soon as your return outlet powers back up. I also used a wifi strip to control my heaters but they were 50 watt heaters and had their own thermostat also so I use their thermostat as a backup. If you already have a heater controller you can use the Hydros as a backup and power down if the temp goes above a certain point. Since my heaters are in my sump they also are dependent on the the return output. So doing this way you can add some more fail safes to other devices as well if you return were turned off. Here is a link to the one I suggested here
https://www.coralvue.com/hydros-control-xs-starter-kit . If you are not in a hurry there is a new controller coming out with the AC outlets on the controller instead of a wifi strip. That one has 4 sense port and 4 drive ports along with a pH port and salinity port but it is quite a bit more in price. It also has 4 0-10v inputs in a port so you can add things like button boxes and some other DIY things up to those. It is called Launch. It will be on the same website that the link to the other one is on.