"or you do not understand what you are doing"
Fair comment, I'm a software guy.
Thanks all for the comments. I am in Australia.
I do have brown/blue connected, not green on the AC side. The Vcc/GND on the right of the opto is Arduino, no AC connection other than shown.
My only explanation is that I have two faulty H11AA1 - perhaps I did have the connection wrong at one time and destroyed both. I will start again on a new board and if it trips again with only the AC connected I guess I'll be ordering more. It looks OK because there is around 15M between pins 1 & 2...
WRT transformer - this looks suitable?
http://au.element14.com/block/vb0-35-2-6/transformer-0-35va-2-x-6v/dp/1131608?MER=MER-BPR-4PPM-PD-BLK-TF&If I am going to be driving a triac with the arduino via MOC3052 will adding a transformer on the zero crossing opto add much?
(I will be getting an electrician in to look at the RCD, it's nice that it trips when there is a fault but is a real pain most of the time - either it is a unit designed for less power than we use or there is some real fault in house wiring.)