Detect presence of 230v - not measure

If you can, get James C4S's attention. The dude lives and breaths capacitors. I suspect he can recommend the perfect part. As an added bonus, you would be (indirectly) financially supporting him.