You could use some remote "smart" PDUs as done in virgo.
See as example
https://tds.virgo-gw.eu/?content=3&r=15139
(the name of the PDU is ENERGENIE EG-PMS2-LAN, see attached PDF file)