Thanks Alain. That was my first thought, to use a capacitor, but want to avoid it as it is large and costly.

This is going for a production device, so all matter.

Maybe I will find a low current opto and just use large enough resistors.

Will see.

Ioannis