Read the statement by Michael Teeuw here.
Pir Sensor not shutting off screen.
-
Re: {HowTo} turn on/off your monitor (Time based
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.
-
@tinsebayacc
This is the tutorial ive been following -
@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 *
-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login