A web server was hosted on a Raspberry Pi 0W to control 2 outlets. I wrote an algorithm on an Arduino to measure the current through each channel, and interfaced the Raspberry Pi and Arduino to display current levels on the web page hosted by the Raspberry Pi.