Return them and purchase some that already have that function.
Seriously, it's far more trouble than it's worth to do something you can purchase for pennies (figuratively).
But if you really want to do this yourself then yes, voltages and currents will be needed although 'generically' you will...