Hello,
I added pir sensor for my mirror but i dont want to control hdmi output with it. Because when hdmi is turned off, it changes to blue screen. So i want to control raspberry’s sleeping mode with hc-sr501 to on/off. After that i can take black screen. How can i do it? :/