Try an improvement on PIR detection