Hi Friovega63 Thank you for your time. Look, I still have to measure the tension that reaches the little motor because the amperometric clamp broke and until tomorrow, Monday, I can't replace it, with respect to the swicht of the doors I have them activated with a magnet and the lights turn on and off correctly, if I miss checking the relay or triac. Thank you very much for your input. I will continue telling you how this topic is going.
If the switches are of that type, check the correct closing of doors, it may not be sticking enough or it may be somewhat hinged or pivoted.