Am I right in understanding you are trying to measure mains (AC) voltage and load using a few resistors and a capacitor?