My green light goes off if I move the sensor

The sensor on my desk has been glowing a bright green since I installed it a few days ago but I just moved it a few inches and the light went out. Everything is still connected and there is power to the unit. Any idea about why this might have happened?

This post explains how the light works on the indoor sensors: