What happens with the sensor if you’re in the outbuilding with the doors open? Does the signal survive?
Just making sure the range is confirmed and tested to be okay (it sounds like it should be based on working just outside, another foot shouldn’t put it out of the effective range)