Hello friends, in case someone is of use to you, after the tests with the LR8 the conclusion is that it goes perfect, from 9VDC / VAC to 260VDC / VAC.
I have configured the LR8 so that it takes 3V and I have put an opto to the FOD852300 output that has a ctr of 1000% with a resistance in the 1k led, the consumption is 0.002 mA/ Iinput 240VCA. and the temperature of the LR8 less than 15 degrees centigrade .
The truth is that microchip does not disappoint, it makes good products.
Greetings and thanks.