Read the statement by Michael Teeuw here.
22'' Display + 40cmx50cm IKEA Frame + PIR Sensor
-
-
Hey ryck, thanks for the details.
Did your monitor shows information like “no HMDI found” or “lost signal” or anything like this, when the PIR turns off the screen?
If not … what have you done to suppress the text/infos?
Or is your monitor smart enough to do that for you?
Greets
MyMirror -
@MyMirror I don’t get any text on the display when it goes off, maybe the display is smart enough? Are you using the same software to turn it off?
-
Hi @ryck,
i think it is python …
I just get “Python 2 (IDLE)” on my menue.
I’ll try to force an update with
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install --reinstall python3
but, after reboot, nothing happens. I’ve got just python2 on my menue.
…
(After searching in the main menue Editor …)
OK - found python3 but without IDLE) - but this should not be the problem, or?
But if it is “easy” to install the IDLE - can you give me a hint?I use pin 14 - as in the pir.py written - nothing happens … :-(
I think, it is the missing line 7 in the pir.py.
You wrote:
You have to change line 7 to the location of the pir.py file like this:
ExecStart=/usr/bin/python /path/to/your/pir.pyBut in my pir.py i didn’t find a line like this …
Can you help me?Thanks
MyMirror -
@MyMirror in the pir.py file you need to change only one thing, the GPIO data pin to which the PIR sensor is connected (you can double check yours here: https://pinout.xyz/). The line is this one: https://github.com/deg0nz/MagicMirror-Display-Controller/blob/master/pir.py#L8
That should be all.
The line 7 stuff is for the service (ie, run the script automatically every time the Pi reboots) and is in a different file: https://github.com/deg0nz/MagicMirror-Display-Controller/blob/master/pir_sensor.service#L7
-
Merry xmas :-),
thanks … your script works - my monitor not really :-(
If your script power off HDMI i’ll get a “HDMI”-Logo and “no Signal” … bad :-(
It seems that i have to buy a different screen.
Which one do you use? Is it available as 32’’ ?Greets
MyMirror -
You can see it here :-(
-
Nice mirror. Have you considered leading the cable to the right and down along the corner of the wall? Might look even cleaner. And if it’s a selfmade cable, I’d consider some white cable sleeving.
-
@ryck hello. Please, would you consider making a video on installing software steps for morons like me? I manage to install the module but after that I was lost completely. Following the github Magic Mirror pir control hdmi. If you would be kind enough to make that video please consider every step as I am a complete noob and a moron considering raspbian. I was lucky that there are a great number of videos on how to install Magic Mirror otherwise I would never been able to get it done. Thank you very much.
-
@cornusandu said in 22’’ Display + 40cmx50cm IKEA Frame + PIR Sensor:
@ryck hello. Please, would you consider making a video on installing software steps for morons like me? I manage to install the module but after that I was lost completely. Following the github Magic Mirror pir control hdmi. If you would be kind enough to make that video please consider every step as I am a complete noob and a moron considering raspbian. I was lucky that there are a great number of videos on how to install Magic Mirror otherwise I would never been able to get it done. Thank you very much.
PS. I do not understand how to install and get it working Magic Mirror Display Control for the PIR