Long time ago I visited this forum, so I don’t know if this will help. but the MMM-ModuleScheduler can hide all modules per notifications. So maybe you can trigger the module with your pir-module.
Or take a look at point 6 in this tutorial
https://forum.magicmirror.builders/topic/6291/howto-turn-on-off-your-monitor-time-based-pir-button-app/2
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
S