I created powersaving program for automatically start the RaspberryPi, if a motion ist detected via PIR-sensor and shut down after a waiting time.
It’s at Git and I want to share it with you. I would be happy if you give me Feedback.
https://github.com/ChrisBaehrig/MM-PIR-motion-poweron
@sdetweil Thanks for your fast reply. I will test this out next week. Then I will come back to you to let you know if I have more questions or if I solved it. I really appreciate it!
Step 1: Calibrate your PIR Sensor. You may use a small circuit for testing !
[image: 1589955905997-proximity_pirtestbb.gif]
Step 2: Connect your PIR sensor to Pi
[image: 1589955545528-8.a.rpi-pir_bb.jpg]
Step 3: Install MMM-PirSensor module
https://github.com/paviro/MMM-PIR-Sensor
Hope it helps !
@sdetweil True - however these commands do work the same as they did before. (Assuming you’re using the HDMI 0 plug closest to the power supply anyway)
Depends on position and deflective angle of the sensor. If you think there is nothing it should detect, try it out, leave the room, set a timer and check after 120 (+10) seconds.
@romain said in turning monitor on by incoming call?:
Hopefully it was clear enough. I know it’s hard to understand that kind of stuff when you never did it before
It was wonderfully clear. I can barrel my way through some simple coding without really understanding how or why it’s working (or not working). Thanks for helping me to understand a little better.