HLW8012 is used to measure active power, voltage and current.
Maximum differential voltage measured on current shunt resistor is 43.75mV. 1mOhm resistor is enough to measure currents up to 30A.
Voltage is measured on V2P pin, which supports voltage range +-700mV. Datasheet recommends voltage divider of 5x470kOhm and 1kOhm. Scale factor is 2821 which convert 230V RMS into 82mV.