Current sensor for AC the ACS712 or YHDC SCT-013-000

Have a look at openenergymonitor.org, in particular the firmware for the emonTx on GitHub shows how to get voltage and current measurements then calculate power.