We're indirectly measuring the ac line voltage through a 12 volt ac wall transformer, a resistive voltage divider, half-wave rectifier and rc filter with time constant of about 1 second. (more)