Read the statement by Michael Teeuw here.
PIR Sensor ??
-
@mdlefevere said in PIR Sensor ??:
One was working half. Screen turns of but no way to get it back on.
This was: MMM-Pir-Sensoroff is easy, PIR doesn’t report , so nobody there, by default, so turn off…
make sure u have ssh enabled, so u can get in from your PC and turn display back on…
put the sensor is not reporting, or the module config isn’t looking at the right GPIO pin .
make it work outside MM… then it will be better
-
Alright i got i working with this guide.
The only thing i’m now facing is, and i can’t understand this, that i get the message “Cable not connected” on my display.
When i was using it in crontab with “vcgencmd display_power 0” (timebased) it put the monitor in sleep mode and the led’s of the monitor turned off.
Now when using it in a .sh command the monitor stays on with this message.Do you have any idea?
-
@mdlefevere well, when u ran in cron, you ran as root
in your script do you do
sudo vcgencmd display_power 0
-
@sdetweil said in PIR Sensor ??:
sudo vcgencmd display_power 0
No i don’t
But i tried it already and didn’t make a difference.Also if i sudo su and then use vcgencmd display_power 0 it’s not sleeping.
-
@mdlefevere this is where I have trouble… all my displays behave as u describe…
turn off the hdml and then they holler about no input… , and 15 mins later power off (energy start complaince) …
-
Hmm alright.
So do you have a “workaround”?. How do you handle this?. I just want the screen to be not on all day long when i’m just home for a couple of hours -
@mdlefevere I use module hiding. never turn the display ‘off’
-
Ahh so. But doesn’t the backlight stay on all nigjt?. Not very energy efficiënt 😋
-
@mdlefevere yes. but can’t turn it off programatically… what else can I do?
-
So weird. I can’t imagine that a crontab can do it and the same line in a .sh not.
That’s bothering me. To be continued.Saw another module im gonna try tomorrow: MMM-NewPIR