Recommended · for some experience
#114 No contact mains detector for Arduino & Pi 🥧(just 10 components)
Why people recommend it
Ralph S Bacon's circuit is recommended for sensing whether mains is live without any direct connection, keeping a microcontroller safely isolated from dangerous voltage.
Watch for: check suitability for your board before going near mains