So I’ve been looking through the net and have found I can use vcgencmd display_power 0 to turn off my monitor and the same again to power 1 to turn it back on, it also explains it can be run as a cron job but I’ve never done one of them so not to sure.
Would it all be possible to hook up a push button switch to the gpio and have them commands somehow turn the display off and on.
Thanks
Read the statement by Michael Teeuw here.
Best posts made by robmcc83
-
RE: Want to turn off my monitor
-
RE: What are all the warnings when installing mm2
Thanks you for responding so quickly.
And also thanks for clearing all that up for me, it makes more sense now lol.
As it is working I shall just leave it as it then, I just wanted to double check if I should of been doing anything about these warnings.
Rob
Latest posts made by robmcc83
-
RE: What are all the warnings when installing mm2
Thanks you for responding so quickly.
And also thanks for clearing all that up for me, it makes more sense now lol.
As it is working I shall just leave it as it then, I just wanted to double check if I should of been doing anything about these warnings.
Rob -
What are all the warnings when installing mm2
Hi,
I have just updated my mirror as my mirror was running Jessie and I wanted to make sure I was on the latest os
So a fresh memory card, with latest stretch image updated and ready to, I use the auto installation method mentioned on github and during the installation there are alot of warnings about packages. I couldn’t catch what any of them was as it was going quite quick.
I believe it was vulnerabilities do to out of date npm packages.
After it had finished it all works but my question is should I ignore these warnings and is this normal, or should there be something else I’m doing after installing mm2
Thanks
Rob -
Wake mirror with voice
Hi all I have another new project on the go here and I’m wanting to know if what I’m trying to achieve is possible.
Basically what I want is a mirror that display slideshow of family photos.
Then when I say for example “mirror wake” it displays the magic mirror software for say 5 minutes then goes back to photos or even say for example “mirror sleep” instead.
Not sure how easy this would be, I was thinking maybe some sort of screen saver for photos making sure the monitor doesn’t sleep, then just a voice command to open close mirror software, but usually when I think something can be simple it really isn’t lol.
Anyway any help or advice would be very much appreciated.
Thanks
Rob -
RE: How much cpu/ram usage does mm use
I use to use my rpi3 which had retropie install on it also as a plex server and had torrent software on it, I used it like that for around 8 months and everything was fine but the only problem I had is I use to take the pi to friends houses alot at weekends then the kids use to moan that they couldn’t watch anything on plex whilst I was out lol.
But it seems retropie uses less resources when idle than magic mirror does.
For example if I enter “top” on my magic mirror electron is running twice and cpu usage is around 25-30%.
Retropie on the other hand idles around 1-3% only even going up a couple of percent whilst streaming to my smart tv.
I think I’ll just have to pull out one of my spare memory cards and see what happens I think.
For sure I’ll post back my results here just for everyone else’s information:)
Cheers -
How much cpu/ram usage does mm use
Hi all.
Didn’t quite know where to post this as it’s no a problem it’s just info for my own purpose.
I would like to know if magic mirror is resource heavy on cpu and ram as I would like to attach a hard drive to it aswell and setup up dlna on my mirror so I can also use to stream media across my network.
Obviously don’t want to put to much pressure on my little pi 2 that’s currently in my mirror.
Any help would be appreciated.
Thanks
Rob -
RE: Want to turn off my monitor
@Mykle1 that’s cool as :) what are you using for the voice command I love that its brill.
-
RE: Want to turn off my monitor
That’s brill your a legend, got a few hours to myself tomorrow so armed with all this information and sure be giving this a try see what the outcome is.
Thank you so much :) -
RE: Want to turn off my monitor
One interesting thing I like about the second way is it seems easy :) lol.
Would it be possible to say have the screen come on 6-9am in the morning Monday to Friday then come on again 4-10pm as everyone out at work or school during the day. Than say set it so that its on 8am till 10pm on a saturday and sunday when everyone is usually about.
Thanks
-
RE: Want to turn off my monitor
Thanks this is very useful information that I didn’t know before.
I have issued the sudo tvservice -o command and it did indeed shut down my monitor.
But what I am trying at the moment is to have it shutdown and wakeup the monitor with a usb webcam now.
That’s what I’m struggling with.
Cheers -
RE: Want to turn off my monitor
Ok so after trying various ways to get my monitor to turn off I have still been unsuccessful.
What I am trying now is with a webcam.
I found in my box of computer bits a Microsoft lifecam hd 3000.
After a little Google research I can confirm the webcam works with the pi using motion software.
I also found a site explaining how I can add a start and and event on detection so I set vgencmd display_power 1 as start event and vgencmd display_power 0 as end event but still no luck it just keeps display on but if I enter the command in terminal my display turns on/off as it should.
Am I going about this in the most awkward way or is there a simple way to get the monitor to sleep using the usb webcam.
Thanks in advance