I’ve done this very thing using a microwave radar sensor instead. Positioned it behind the glass and used the standard PIR module which works without any additional configuration (just need to tell it the correct GPIO pin as standard). It was a RCWL-0516 sensor and there’s loads on ebay.
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
A