I purchased a grade crossing setup that uses an IR emitter/receiver unit for the trigger. Unfortunately for me, it is always triggering in sunlight, but works fine indoors. I suspect that the receiver is looking for light in the near visible range, while sunlight is providing plenty of far IR creating problems. Does anyone have another way? Magnets might work but I don't want to put magnets on every axle. Photocells across the tracks might work, but the receiver probably would be affected the same way as I have now. So maybe a mechanical means?