Why aren't my PIR security lights working through my window?
Passive infrared sensors (PIR), use Infrared (IR) light to detect motion.  Unfortunately for you, infrared light does not travel through glass so well.