A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
MMM-PIR-Sensor: Everything works fine, just one thing not...
-
@AxLed
Thanks, did not know that this has to be done to “activate” a PIR sensor…Interesting…hmm…Does anyone know, if there is a method that this can be “simulated” in any way?
-
one idea is to just put the
tvservice -o
command in your rc.local.
before that u should do a little sleep.like this:
sudo nano /etc/rc.local
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address _IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi sleep 60 & tvservice -o exit 0
So on every reboot it will wait 60 seconds (just to let everything start like MM) and then turn the monitor off.
-
Sounds like a great idea! I will try that soon and will geht you a reply if it works! Thanks for that possible solution…
-
@cruunnerr
Your solution worked like a charm.
Thanks! -
Glad to hear that :)