I’ve added a PIR (passive infrared) motion detector to my magic mirror. Now the monitor turns off after 5 minutes if no one is in the kitchen.
Super simple to do.
I brought an Aukru HC-SR501 sensor from Amazon.
This excellent YouTube video explains how the sensor works and how to check it’s operational. HC-SR501 PIR Motion Detector – With Arduino & Raspberry Pi
This post gets the sensor set up using Python and Shell script. How to: Install a PIR motion sensor on your Raspberry Pi Magic Mirror.