How is the H11AA1 ic working with AC mains voltage?
What makes you think that the voltage at pis 1 and 2 is 55VAC?  There are back-to-back diodes across pins 1 &amp; 2, and as long as you don't exceed the current rating of the diodes you will never see more than the diode's forward voltage drop between pins 1 &amp; 2. 

The max forward diode voltage is specified as 1.5V at 10mA.  In your circuit the peak current will be the peak of the AC line, maybe 155V across 30K or around 5mA.  So pins 1 &amp; 2 will have less than 1.5V across them.

If you limit the current to a safe value you could use the circuit at 230VAC as well.  

There are safety issues with use and PCB layout of this kind of device that you have to understand, but the device itself should be fine for these applications.