Detect presence of 230v - not measure

Hang on... someone pointed out either here or the Electronics_101 Yahoogroup that the maximum current starting with no charge on the capacitor is actually if you connect right at the zero crossing. I even did an LTSpice simulation, which agreed with him.

If powered up at a peak with no charge on the capacitor, the current should be at about 170mA for a very short time.

But as I pointed out above, the current peak is actually higher, albeit a bit later, if started at the zero crossing. I can't fire up LTSpice right now.