This is the test setup. I actually found an old device I had around from 13 years ago (“Aviosys IP Power 9212”) to handle the power cycling. It didn’t respond to modern browsers’ HTTP requests (I’m guessing the requests were too large), but I figured out a way to control it via UDP packages. I cut the +5V part of a flat micro USB cable and routed it through the relays inside this device.