How to get watt hour consumption from current reading of AC current

The RMS for a sine wave is 0.707 x Peak. (That goes for current and/or voltage.)

A "real" power meter measures the voltage & current and the phase difference caused by inductive loads. But, if your load is non inductive or only slightly inductive you can ignore that and still get a reasonably close measurement, and you can also assume the voltage is constant.

See [u]OpenEnergyMonitor.org[/u].