<?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[cronjob vcgencmd display_power]]></title><description><![CDATA[<p dir="auto">Hi guys, i am having trouble getting the magicmirror to turn the screen on and off with cronjob. I have used them before and it used to work and works with other installations with root /usr/bin…&gt;/dev/null 2&gt;&amp;1 command but does not work anymore. I have tried all these variations and none work. I have used system wide cron with sudo nano edit and the reboot actually works…<img src="/assets/uploads/files/1666878959692-56cee79b-2240-43b0-91c0-78664a2d9871-image.png" alt="56cee79b-2240-43b0-91c0-78664a2d9871-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/topic/17321/cronjob-vcgencmd-display_power</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 00:09:54 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17321.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Oct 2022 13:57:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Fri, 13 Jan 2023 21:56:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/megagprime" aria-label="Profile: megagprime">@<bdi>megagprime</bdi></a> <a href="https://forum.magicmirror.builders/topic/16865/mmm-remotecontrol-or-vcgencmd-issue/5?_=1673646835489">https://forum.magicmirror.builders/topic/16865/mmm-remotecontrol-or-vcgencmd-issue/5?_=1673646835489</a> maybe</p>
]]></description><link>https://forum.magicmirror.builders/post/107222</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107222</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 13 Jan 2023 21:56:20 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Fri, 13 Jan 2023 13:43:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> yes i use vcgencmd DISPLAY_POWER 0 or 1, like i said those commands work just fine just not in cron</p>
]]></description><link>https://forum.magicmirror.builders/post/107221</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107221</guid><dc:creator><![CDATA[megagprime]]></dc:creator><pubDate>Fri, 13 Jan 2023 13:43:17 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Thu, 12 Jan 2023 22:02:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/megagprime" aria-label="Profile: megagprime">@<bdi>megagprime</bdi></a> I think vcgencmd needs a DISPLAY env variable</p>
]]></description><link>https://forum.magicmirror.builders/post/107200</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107200</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 12 Jan 2023 22:02:14 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Thu, 12 Jan 2023 19:00:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> i use sudo for cron and have tried root and just the vcgencmd, neither work</p>
]]></description><link>https://forum.magicmirror.builders/post/107192</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107192</guid><dc:creator><![CDATA[megagprime]]></dc:creator><pubDate>Thu, 12 Jan 2023 19:00:34 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Thu, 12 Jan 2023 15:03:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> i use sudo for cron and root vcgencmd display_power for the command.</p>
<p dir="auto">no idea if i am doing this right but like i said, i used to work lol</p>
]]></description><link>https://forum.magicmirror.builders/post/107199</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107199</guid><dc:creator><![CDATA[megagprime]]></dc:creator><pubDate>Thu, 12 Jan 2023 15:03:52 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Thu, 12 Jan 2023 14:44:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/megagprime" aria-label="Profile: megagprime">@<bdi>megagprime</bdi></a> what user is cron executing them as?</p>
<p dir="auto">what user do you use when testing?</p>
<p dir="auto">cron is root by default unless u add another parm for the username</p>
]]></description><link>https://forum.magicmirror.builders/post/107188</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107188</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 12 Jan 2023 14:44:59 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Thu, 12 Jan 2023 14:43:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> hi there, i still dont see a fix or alternative workaround. The commands themselves work i just cant get it to work with cronjon :(</p>
]]></description><link>https://forum.magicmirror.builders/post/107187</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/107187</guid><dc:creator><![CDATA[megagprime]]></dc:creator><pubDate>Thu, 12 Jan 2023 14:43:28 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Fri, 06 Jan 2023 23:54:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/megagprime" aria-label="Profile: megagprime">@<bdi>megagprime</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/nneuland" aria-label="Profile: Nneuland">@<bdi>Nneuland</bdi></a>  depending on the board firmware, the vcgencmd may or may not work</p>
<p dir="auto">this was reported and worked thru in the fall.<br />
see <a href="https://forum.magicmirror.builders/topic/17185/pir-sensor-problem-after-restart-raspi/20?_=1672509926391">https://forum.magicmirror.builders/topic/17185/pir-sensor-problem-after-restart-raspi/20?_=1672509926391</a></p>
]]></description><link>https://forum.magicmirror.builders/post/106982</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106982</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 06 Jan 2023 23:54:21 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Fri, 06 Jan 2023 23:41:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nneuland" aria-label="Profile: Nneuland">@<bdi>Nneuland</bdi></a> nope, still no dice. building a new mm now, will update</p>
]]></description><link>https://forum.magicmirror.builders/post/106981</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106981</guid><dc:creator><![CDATA[megagprime]]></dc:creator><pubDate>Fri, 06 Jan 2023 23:41:42 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Fri, 25 Nov 2022 16:42:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/megagprime" aria-label="Profile: megagprime">@<bdi>megagprime</bdi></a><br />
Did you ever figure this out?  I’m having the same issue</p>
]]></description><link>https://forum.magicmirror.builders/post/106103</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/106103</guid><dc:creator><![CDATA[Nneuland]]></dc:creator><pubDate>Fri, 25 Nov 2022 16:42:46 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Tue, 08 Nov 2022 18:33:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/megagprime" aria-label="Profile: megagprime">@<bdi>megagprime</bdi></a> anybody have any ideas why this doesnt work and should i change my boot file?</p>
]]></description><link>https://forum.magicmirror.builders/post/105733</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105733</guid><dc:creator><![CDATA[megagprime]]></dc:creator><pubDate>Tue, 08 Nov 2022 18:33:11 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Mon, 31 Oct 2022 15:12:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mumblebaj" aria-label="Profile: mumblebaj">@<bdi>mumblebaj</bdi></a> ya even this didnt work, maybe i need to change my boot/config file back to kms</p>
]]></description><link>https://forum.magicmirror.builders/post/105626</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105626</guid><dc:creator><![CDATA[megagprime]]></dc:creator><pubDate>Mon, 31 Oct 2022 15:12:42 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Thu, 27 Oct 2022 16:41:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/megagprime" aria-label="Profile: megagprime">@<bdi>megagprime</bdi></a> This is how I run mine. I have 2 scripts and I call these scripts from the cron and not the actual vcgencmd</p>
<p dir="auto"><img src="/assets/uploads/files/1666888788789-3fdefb68-5776-47df-8d84-77b37e55d927-image.png" alt="3fdefb68-5776-47df-8d84-77b37e55d927-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">And in the scripts I run the following:</p>
<p dir="auto"><img src="/assets/uploads/files/1666888829921-cacceb58-583d-425f-8249-960a351a4e7f-image.png" alt="cacceb58-583d-425f-8249-960a351a4e7f-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">This works perfectly for me. Give it a go and let’s see if that works. I run an RPI 3B.</p>
]]></description><link>https://forum.magicmirror.builders/post/105555</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105555</guid><dc:creator><![CDATA[mumblebaj]]></dc:creator><pubDate>Thu, 27 Oct 2022 16:41:27 GMT</pubDate></item><item><title><![CDATA[Reply to cronjob vcgencmd display_power on Thu, 27 Oct 2022 14:57:21 GMT]]></title><description><![CDATA[<p dir="auto">this is on pi3 and i also tried modifying boot/config.txt file</p>
<h1>Enable DRM VC4 V3D driver</h1>
<p dir="auto">dtoverlay=vc4-kms-v3d (changed to fkms)<br />
max_framebuffers=2</p>
]]></description><link>https://forum.magicmirror.builders/post/105547</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105547</guid><dc:creator><![CDATA[megagprime]]></dc:creator><pubDate>Thu, 27 Oct 2022 14:57:21 GMT</pubDate></item></channel></rss>