<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Auto on/off of the TV (not the Pi)?]]></title><description><![CDATA[<p dir="auto">Hey Everyone,</p>
<p dir="auto">I was wondering if anyone had any ideas on a good way to have the monitor/tv turn on and off automatically at specific times.  I know there is an auto on/off module for the raspberry pi, but I was thinking this for the screen itself.</p>
<p dir="auto">My mirror is set up with a non-smart tv that doesn’t have any options for auto on and off.  I have a logitech harmony remote that I haven’t had a chance to try yet , but some quick googling makes me think it doesn’t have the auto start functions.  Anyone have any (preferably cheap) ideas?</p>
]]></description><link>https://forum.magicmirror.builders/topic/115/auto-on-off-of-the-tv-not-the-pi</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 05:49:16 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/115.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 May 2016 22:25:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Mon, 01 Jul 2019 20:52:09 GMT]]></title><description><![CDATA[<p dir="auto">Yeah my project stopped just because of this same reason…<br />
Prob is, that I’ve made MM on my rpi 3 and bought sonoff relays for turning on and off my tv, but the prob is, that when I power my tv it doesn’t start. It just gets its power and I need to use my remote for it. Now… if I would have some sort of remote app of some sort with wich I could control my tv, then this could be the answer (maybe some android remote or something)…</p>
]]></description><link>https://forum.magicmirror.builders/post/58410</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/58410</guid><dc:creator><![CDATA[kroket]]></dc:creator><pubDate>Mon, 01 Jul 2019 20:52:09 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Thu, 20 Dec 2018 08:22:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mdissel" aria-label="Profile: mdissel">@<bdi>mdissel</bdi></a><br />
Just power your rpi on?<br />
If you want to power on your rpi schedully, you should use poweroutlet with timer function or something like smartoutlet.<br />
If your problem is unintentional RPI’s poweroff, this could be another issue.</p>
]]></description><link>https://forum.magicmirror.builders/post/48359</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/48359</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 20 Dec 2018 08:22:27 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Thu, 20 Dec 2018 08:10:04 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fuet" aria-label="Profile: fuet">@<bdi>fuet</bdi></a> said in <a href="/post/44404">Auto on/off of the TV (not the Pi)?</a>:</p>
<blockquote>
<p dir="auto">I use a simple command in my crontab:<br />
0 23 * * *  vcgencmd display_power 0<br />
0 6 * * *  vcgencmd display_power 1</p>
<p dir="auto">This turns the monitor off at 11pm and back on at 6am.</p>
</blockquote>
<p dir="auto">I’ve configured the monitor off with display_power 0, but the next morning my raspberry pi is also shutdown… Any tips?<br />
(no other scheduled tasks running)</p>
]]></description><link>https://forum.magicmirror.builders/post/48358</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/48358</guid><dc:creator><![CDATA[mdissel]]></dc:creator><pubDate>Thu, 20 Dec 2018 08:10:04 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Thu, 13 Sep 2018 23:54:32 GMT]]></title><description><![CDATA[<p dir="auto">I use a simple command in my crontab:<br />
0 23 * * *  vcgencmd display_power 0<br />
0 6 * * *  vcgencmd display_power 1</p>
<p dir="auto">This turns the monitor off at 11pm and back on at 6am.</p>
]]></description><link>https://forum.magicmirror.builders/post/44404</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/44404</guid><dc:creator><![CDATA[fuet]]></dc:creator><pubDate>Thu, 13 Sep 2018 23:54:32 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Fri, 16 Sep 2016 16:50:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rtopher" aria-label="Profile: Rtopher">@<bdi>Rtopher</bdi></a> said in <a href="/post/4788">Auto on/off of the TV (not the Pi)?</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a><br />
I had already found the link you referenced and in trying to go through it the instructions falter.  I’m following the setup listed towards the bottom of this <a href="http://harryjjacobs.blogspot.com/2014/01/raspberry-pi-and-cec.html" target="_blank" rel="noopener noreferrer nofollow ugc">site</a> but when I get down to sudo git clone <a href="https://github.com/Pulse-Eight/libcec.git" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Pulse-Eight/libcec.git</a>  I’m prompted to login to get hub but then just get “remote: repository not found.”  Any ideas or advice?</p>
</blockquote>
<p dir="auto">What are you logging in as? The <code>'sudo'</code> command is local to you (your rpi), so that password is your regular user’s password (possibly the <code>'pi'</code> user, in which case you should not need it as it’s already configured to be allowed to run <code>'sudo'</code>.) I can run it just fine and it clones that repository as expected.</p>
]]></description><link>https://forum.magicmirror.builders/post/4793</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4793</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Fri, 16 Sep 2016 16:50:08 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Wed, 14 Sep 2016 18:44:29 GMT]]></title><description><![CDATA[<p dir="auto">Turn the monitor on and off automatically</p>
<p dir="auto">To turn the monitor on/off on a daily schedule, <a href="https://gist.github.com/AGWA/9874925" target="_blank" rel="noopener noreferrer nofollow ugc">grab this script</a> and put it in /home/pi/rpi-hdmi.sh. Next, make it executable:</p>
<p dir="auto">chmod +x /home/pi/rpi-hdmi.sh</p>
<p dir="auto">Now we’ll need to add a cron entry to call this script at the desired time, so open the cron editor:</p>
<p dir="auto">crontab -e</p>
<p dir="auto">And add the following lines at the bottom of the file:</p>
<h1>Turn HDMI Off (22:00/10:00pm)</h1>
<p dir="auto">0 22 * * * /home/pi/rpi-hdmi.sh off</p>
<h1>Turn HDMI On (7:00/7:00am)</h1>
<p dir="auto">0 7 * * * /home/pi/rpi-hdmi.sh on</p>
<p dir="auto">The  first number (0) is the minutes and the second number on each of those lines (22 and 7) is the hour in 24 hour time. So in this example, the monitor would turn off at 10:00pm and back on again at 7:00am. Adjust the time for your needs.</p>
<p dir="auto">Keep in mind: this does not turn the Raspberry Pi off! It just turns off the monitor, saving energy and hopefully extending the life of your monitor. The Raspberry Pi is still on and running however.</p>
]]></description><link>https://forum.magicmirror.builders/post/4790</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4790</guid><dc:creator><![CDATA[nhl]]></dc:creator><pubDate>Wed, 14 Sep 2016 18:44:29 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Wed, 14 Sep 2016 15:40:01 GMT]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/115/auto-on-off-of-the-tv-not-the-pi">Auto on/off of the TV (not the Pi)?</a><br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/mechmatt" aria-label="Profile: MechMatt">@<bdi>MechMatt</bdi></a>   This is nearly the exact setup I would like to implement but without the PIR sensor.  I’ve already checked and my Vizio TV is CEC compatible and Ive got a Pi3 with Jessie 8.0.  Ideally I’d like to display the MM just from 6-9 am and again from 7-10 pm.  Did you make any progress with a script or service that would allow timed display power changes?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a><br />
I had already found the link you referenced and in trying to go through it the instructions falter.  I’m following the setup listed towards the bottom of this <a href="http://harryjjacobs.blogspot.com/2014/01/raspberry-pi-and-cec.html" target="_blank" rel="noopener noreferrer nofollow ugc">site</a> but when I get down to sudo git clone <a href="https://github.com/Pulse-Eight/libcec.git" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Pulse-Eight/libcec.git</a>  I’m prompted to login to get hub but then just get “remote: repository not found.”  Any ideas or advice?</p>
]]></description><link>https://forum.magicmirror.builders/post/4788</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/4788</guid><dc:creator><![CDATA[Rtopher]]></dc:creator><pubDate>Wed, 14 Sep 2016 15:40:01 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Fri, 01 Jul 2016 20:02:43 GMT]]></title><description><![CDATA[<p dir="auto">CEC implementation is far and wide on monitors/tvs. There’s a client for the Raspberry Pi that you would have to install yourself, possibly (re)compile for your specific setup, and see if it is even able to communicate. This part is outside the scope of MagicMirror, like way out there. :)</p>
<p dir="auto">You can start by reading the rpi forum: <a href="https://www.raspberrypi.org/forums/viewtopic.php?t=15749" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.raspberrypi.org/forums/viewtopic.php?t=15749</a></p>
]]></description><link>https://forum.magicmirror.builders/post/2167</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2167</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Fri, 01 Jul 2016 20:02:43 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Fri, 01 Jul 2016 19:31:36 GMT]]></title><description><![CDATA[<p dir="auto">I was wondering if there is a way to toggle the power to the TV via HDMI CEC commands (sent by pi) and integrating a PIR sensor?<br />
Example setup: The pi is always powered on. I walk into the room, the PIR senses me, and sends a power on signal to my TV via HDMI CEC command, and the mirror modules are displayed.</p>
<p dir="auto">After a set duration, if no activity sensed by PIR sensor, a power off CEC command is sent to the TV by PI.</p>
<p dir="auto">Has this been done before?</p>
<p dir="auto">Any guidance would be much appreciated.</p>
]]></description><link>https://forum.magicmirror.builders/post/2158</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/2158</guid><dc:creator><![CDATA[sameershah23]]></dc:creator><pubDate>Fri, 01 Jul 2016 19:31:36 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Thu, 19 May 2016 17:25:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kirash4" aria-label="Profile: KirAsh4">@<bdi>KirAsh4</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/zombi27" aria-label="Profile: zombi27">@<bdi>zombi27</bdi></a> changed it to ten minutes :) Should be enough to fix mistakes :D</p>
]]></description><link>https://forum.magicmirror.builders/post/816</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/816</guid><dc:creator><![CDATA[paviro]]></dc:creator><pubDate>Thu, 19 May 2016 17:25:30 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Thu, 19 May 2016 17:06:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zombi27" aria-label="Profile: zombi27">@<bdi>zombi27</bdi></a>, yeah, <a class="plugin-mentions-user plugin-mentions-a" href="/user/paviro" aria-label="Profile: paviro">@<bdi>paviro</bdi></a> wants to make sure that once you post your message, you are 100% committed to it. There will be no going back to change your post, or reply. You don’t get to pass GO and collect twice. :)</p>
]]></description><link>https://forum.magicmirror.builders/post/808</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/808</guid><dc:creator><![CDATA[KirAsh4]]></dc:creator><pubDate>Thu, 19 May 2016 17:06:38 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Thu, 19 May 2016 16:42:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zombi27" aria-label="Profile: zombi27">@<bdi>zombi27</bdi></a> oh awesome i will have to check this out</p>
]]></description><link>https://forum.magicmirror.builders/post/805</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/805</guid><dc:creator><![CDATA[MechMatt]]></dc:creator><pubDate>Thu, 19 May 2016 16:42:08 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Thu, 19 May 2016 13:55:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zombi27" aria-label="Profile: zombi27">@<bdi>zombi27</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/paviro" aria-label="Profile: paviro">@<bdi>paviro</bdi></a>  I’m wanting to use the camera/facial recognition to do this - but haven’t even looked at it yet.</p>
<p dir="auto">Work/Family life has prevented me recently.</p>
<p dir="auto">Slow and steady wins the race :)</p>
]]></description><link>https://forum.magicmirror.builders/post/799</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/799</guid><dc:creator><![CDATA[Mitchfarino]]></dc:creator><pubDate>Thu, 19 May 2016 13:55:52 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Thu, 19 May 2016 13:19:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zombi27" aria-label="Profile: zombi27">@<bdi>zombi27</bdi></a> Yes might consider changing this to ten minutes or so :)</p>
]]></description><link>https://forum.magicmirror.builders/post/795</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/795</guid><dc:creator><![CDATA[paviro]]></dc:creator><pubDate>Thu, 19 May 2016 13:19:56 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Thu, 19 May 2016 06:13:35 GMT]]></title><description><![CDATA[<p dir="auto">*just did what you probably want :) (typo)</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paviro" aria-label="Profile: paviro">@<bdi>paviro</bdi></a> / <a class="plugin-mentions-user plugin-mentions-a" href="/user/michmich" aria-label="Profile: MichMich">@<bdi>MichMich</bdi></a>: am i not allowed to edit my reply? there is a 120sec time limit for editing? :/</p>
]]></description><link>https://forum.magicmirror.builders/post/788</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/788</guid><dc:creator><![CDATA[zombi27]]></dc:creator><pubDate>Thu, 19 May 2016 06:13:35 GMT</pubDate></item><item><title><![CDATA[Reply to Auto on/off of the TV (not the Pi)? on Thu, 19 May 2016 06:05:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/paviro" aria-label="Profile: paviro">@<bdi>paviro</bdi></a> just did want you probably want :)</p>
<p dir="auto"><a href="https://github.com/paviro/MMM-PIR-Sensor" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/paviro/MMM-PIR-Sensor</a></p>
<p dir="auto">With this you can either turn of the HDMI signal (maybe your monitor goes to sleep then), or you can cut off the power signal of your monitor with a simple relay.</p>
]]></description><link>https://forum.magicmirror.builders/post/787</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/787</guid><dc:creator><![CDATA[zombi27]]></dc:creator><pubDate>Thu, 19 May 2016 06:05:20 GMT</pubDate></item></channel></rss>