sensing mains power

Grumpy_Mike:

A capacitor over led/optocoupler is no problem.

Except for the voltage rating it has to be.

The "flashing LED" circuit on the web page I linked to uses a 47uF 10V capacitor. Do you think the capacitor should be rated as high as the "mains dropper" capacitor?