Pir Sensor not shutting off screen.
I have followed this tutorial and its great thank you. i installed the pir module and everything works great. the only issue is my screen goes into a no signal screen with an annoying cube in the middle which i cannot disable. So, on a fresh install i tried the manual way and followed all steps to have my screen turn black instead of off when the pir detects motion but nothing happens. i have run my python pir.py and it detects my motions and gives me … everytime i move so i know its working ok. What have i missed? im new to the whole raspberry pi and programming world but im learning fast. I have a fully functional magic mirror with lots of 3rd party modules installed so im quite good with following instructions. Any help would be greatly appriciated.
This is the tutorial ive been following
sdetweil last edited by
@tinsebayacc some devices do not have the ability to turn to back… (none of my TV’s do)…
I wrote my MMM-SleepWake (on github) module to provide the ability to hide all modules to darken the screen…
its not off, and at night it has a glow (the backlight)… but its better than nothing…
i don’t care how you detect motion, camera, pir, wave, …
when you do, call my provided script with ‘started’, and when the motion ends, call it again with ‘ended’
see the readme.
set the “mode” to “hide”
I use a webcam for motion detection
@sdetweil Thank you for your reply
This would work for me. As I mentioned I am a beginner in all this. How would I configure your module to work with my pir sensor. Sorry if this seems a daft question, I’m still learning the ropes. Thanks
Modify you script *
sdetweil last edited by sdetweil
I just added some code to my module to handle PIR_SENSOR sending notice of user around…
so you shouldn’t have to change anything there… well, stop it from turning off the display