As [Luc] explains in the project write-up, simply monitoring ... sensor to take phase measurements. Since he had the ability to toggle the pump on and off with a relay attached to the Arduino ...
Ditronix is offering a multi-phase power and energy monitoring board in the form of a 'Hat' for Raspberry Pis. Called 'IPEM ...