This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Sense the AC signal from mains power supply connected with I2C relay Board

Hi, I have been working with Two-way switch concept in which I have connected the I2C relay Board module with ESP32 and another point is connected with the Main switches which are around 8 in numbers.

I need to detect Ac current form every switch and send the signal to the controller. I looking for the IC package which helps me to fulfill my requirement and I will easily detect the AC signal. 

Any kind of suggestion on this will be a great help