<?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[MMM-Universal-Pir - Desparately seeking right command]]></title><description><![CDATA[<p dir="auto">Good eveneing, all.<br />
My mirror is working fine, I was able to configure a Raspi5 with bookworm and all migrated modules are working in this version.<br />
Because I have to keep in mind that my favourite MMM-Pir ( :-) ) won’t run that much in future I try to investigate alternatives.<br />
The most current module for PIR detection seems to be MMM-Universal-Pir.<br />
Unfortunately I’m not able to figure out the right commands (or the module doesn’t work - but I’ve seen some success messages).</p>
<p dir="auto">For some strange reason my Mirror-Autostart is configured with a X11 start, so on my bookworm instance I have disabled wayland to run MagicMirror in this mode, so “default” commands of module won’t definitely not work.</p>
<p dir="auto">I’ve found here around :</p>
<p dir="auto"><em>“vcgencmd display_power 1” / “vcgencmd display_power 0”</em> - on bookworm vgencmd doesn’t have this “display_power” option.</p>
<p dir="auto"><em>“echo on | sudo tee /sys/class/drm/card1-HDMI-A-1/status”  /  “echo off | sudo tee /sys/class/drm/card1-HDMI-A-1/status”</em>  – this doesn’t do anything on my system - neither on terminal command-line nor in module.</p>
<p dir="auto"><em>“DISPLAY=:0.0 xrandr --output HDMI-1 --off”  /  “DISPLAY=:0.0 xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 59.951 --pos 0x0 --rotate left”</em> are the most promising candidates - they at least are working on command-line in terminal<br />
But xrandr doesn’t work with MMM-Universal-Pir.<br />
(I’ve also tried to use these xrandr commands without display-reference<br />
(“xrandr --output HDMI-1 --off”  /  “xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 59.951 --pos 0x0 --rotate left”* ) . Doesn’t work, either (from module).</p>
<p dir="auto">Is anybody out there with Pi5/bookworm/X11 with a working configuration / Command pair?</p>
<p dir="auto">And an additional question to those who are uing this module successfully: Is it true, that the countdown is not interrupted if a motion is detected ? (this is my impression when looking at the countdown - but may 1 Minute is too short) …</p>
<p dir="auto">Many thanks for any hint!<br />
Regards,<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/topic/19577/mmm-universal-pir-desparately-seeking-right-command</link><generator>RSS for Node</generator><lastBuildDate>Mon, 11 May 2026 06:20:53 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19577.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Mar 2025 15:52:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-Universal-Pir - Desparately seeking right command on Fri, 28 Mar 2025 12:31:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> said in <a href="/post/125361">MMM-Universal-Pir - Desparately seeking right command</a>:</p>
<blockquote>
<p dir="auto">“DISPLAY=:0.0 xrandr --output HDMI-1 --off” / “DISPLAY=:0.0 xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 59.951 --pos 0x0 --rotate left”</p>
</blockquote>
<p dir="auto">these are the right commands and are working now!</p>
<p dir="auto">(If one was not too blonde to switch the commands …)<br />
My fault - I’ve entered the on comand to the off parameter …<br />
Sorry!</p>
<p dir="auto">Regards,<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125376</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125376</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Fri, 28 Mar 2025 12:31:32 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Universal-Pir - Desparately seeking right command on Mon, 14 Apr 2025 06:41:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/atwist" aria-label="Profile: atwist">@<bdi>atwist</bdi></a> said in <a href="/post/125759">MMM-Universal-Pir - Desparately seeking right command</a>:</p>
<blockquote>
<p dir="auto">DISPLAY=0.0 xrandr --output HDMI-2 --off</p>
</blockquote>
<p dir="auto">Dear <a class="plugin-mentions-user plugin-mentions-a" href="/user/atwist" aria-label="Profile: atwist">@<bdi>atwist</bdi></a>, guessing from the distance is quite hard.<br />
You didn’t provide system information.<br />
From your told story you can try to check two things which came in my mind:</p>
<ol>
<li>PIR sensor: does this work correctly / is it adjustd correctly (on my sensor there are two screws to adjust distance and sensitivity.<br />
I had SERIOUS truble with theses settings and motion detection as my Pi5 gettih hot (caused by insufficient cooling)</li>
<li>Screen/Monitor itself: Does some energy setting is causing the monitor to come back by itself?</li>
</ol>
<p dir="auto">Good luck,<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125823</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125823</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Mon, 14 Apr 2025 06:41:10 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Universal-Pir - Desparately seeking right command on Fri, 11 Apr 2025 21:16:24 GMT]]></title><description><![CDATA[<p dir="auto">I am trying to get this to work after no longer being able to use MMM-Pir.  When the countdown hits 0 the screen goes black like it should .  But, then it immediately turns back on even without motion.</p>
<p dir="auto">What am i missing?</p>
<p dir="auto">I’m using the DISPLAY=0.0 xrandr --output HDMI-2 --off</p>
<p dir="auto">It works fine from the command line but not within MM.</p>
]]></description><link>https://forum.magicmirror.builders/post/125759</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125759</guid><dc:creator><![CDATA[atwist]]></dc:creator><pubDate>Fri, 11 Apr 2025 21:16:24 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Universal-Pir - Desparately seeking right command on Fri, 28 Mar 2025 12:31:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rkorell" aria-label="Profile: rkorell">@<bdi>rkorell</bdi></a> said in <a href="/post/125361">MMM-Universal-Pir - Desparately seeking right command</a>:</p>
<blockquote>
<p dir="auto">“DISPLAY=:0.0 xrandr --output HDMI-1 --off” / “DISPLAY=:0.0 xrandr --output HDMI-1 --primary --mode 2560x1440 --rate 59.951 --pos 0x0 --rotate left”</p>
</blockquote>
<p dir="auto">these are the right commands and are working now!</p>
<p dir="auto">(If one was not too blonde to switch the commands …)<br />
My fault - I’ve entered the on comand to the off parameter …<br />
Sorry!</p>
<p dir="auto">Regards,<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/125376</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/125376</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Fri, 28 Mar 2025 12:31:32 GMT</pubDate></item></channel></rss>