Sat Dec 29, 2018 1:21 pm
It depends what you want to do.
If you want to actually measure the voltage then its not easy.
But if all you want to do is monitor if the 120v AC is present or has failed you could use a simple relay with a 120v AC coil and just use one of the contacts connected to the pi gpio the same as any switch, or you could use a simple 3v power supply plunged in to a socket and then connect that to the pi gpio.
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported