How can I detect 120v power (not smart) being turned on and off?

Check this thread out: