<?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[HDMI turns on without movement]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">I needed to re-setup my MagicMirror, now it runs on Raspi 4 and Debian Trixie 64-bit.</p>
<p dir="auto">Everything works nicely as before, PIR is on PIN 22 and I use:<br />
{<br />
module: “MMM-Universal-Pir”,<br />
position: “top_left”,<br />
config: {<br />
gpioCommand: “/usr/bin/gpiomon -e rising -c 0 22”,<br />
//onCommand: “WAYLAND_DISPLAY=‘wayland-1’ wlr-randr --output HDMI-A-1 --on”,<br />
//offCommand: “WAYLAND_DISPLAY=‘wayland-1’ wlr-randr --output HDMI-A-1 --off”,<br />
onCommand: “wlr-randr --output HDMI-A-1 --on”,<br />
offCommand: “wlr-randr --output HDMI-A-1 --off”,<br />
deactivateDelay: 20 * 1000,<br />
}<br />
},<br />
As you can see I experimented already with the commands, now it works fine with “wlr-randr --output HDMI-A-1 --on”, and the monitor turns off after 20 seconds if no movement, and turns back on when moving.</p>
<p dir="auto">Now comes the trick: when turned off, after ca. 1 minute the monitor goes back on and the MM shows “0 sec”. I.e., the HDMI activation did not come from the MM.</p>
<p dir="auto">I tested the offCommand directly in the Terminal, the monitor goes off, and again after a minute or so goes back on. So this does not come from the MM.</p>
<p dir="auto">I looked in the settings of the NT68676.2A Controller Board if there is an AutoDetect for HDMI or so, but did not find an entry.</p>
<p dir="auto">Any idea what I can do? Thanks for your help!</p>
<p dir="auto">Hobbes</p>
]]></description><link>https://forum.magicmirror.builders/topic/19918/hdmi-turns-on-without-movement</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 23:25:14 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/19918.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Oct 2025 11:32:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to HDMI turns on without movement on Mon, 20 Oct 2025 18:48:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hobbes-0" aria-label="Profile: Hobbes-0">@<bdi>Hobbes-0</bdi></a> Dear Dirk,<br />
This is „normal“ behaviour with VNC…<br />
Some other PIR modules (especially Bugsounet‘s MMM-Pir) solved this with placing a mouse-sensitive layer on the GUI and mouse click in VNV wakes the screen.<br />
AFAIK this is not true for MMM-Universal-Pir.</p>
<p dir="auto">Regards,<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/128643</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128643</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Mon, 20 Oct 2025 18:48:08 GMT</pubDate></item><item><title><![CDATA[Reply to HDMI turns on without movement on Sun, 19 Oct 2025 06:56:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi Ralf and Karsten,</p>
<p dir="auto">Thanks for your support. I tried, but did not work unfortunately. Still the monitor goes on for no reason.</p>
<p dir="auto">So I switched now to X11, and updated the config file, AND finally it works. Here my command:</p>
<p dir="auto">            {<br />
                  module: “MMM-Universal-Pir”,<br />
                  position: “top_left”,<br />
                  config: {<br />
                        gpioCommand: “/usr/bin/gpiomon -e rising -c 0 22”,<br />
                        //onCommand: “WAYLAND_DISPLAY=‘wayland-1’ wlr-randr --output HDMI-A-1 --on”,<br />
                        //offCommand: “WAYLAND_DISPLAY=‘wayland-1’ wlr-randr --output HDMI-A-1 --off”,<br />
                        //onCommand: “wlr-randr --output HDMI-A-1 --on”,<br />
                        //offCommand: “wlr-randr --output HDMI-A-1 --off”,<br />
                        //onCommand: “echo on | sudo tee /sys/class/drm/card0-HDMI-A-1/status”,<br />
                        //offCommand: “echo off | sudo tee /sys/class/drm/card0-HDMI-A-1/status”,<br />
                        //onCommand:  “/usr/local/bin/hdmi-on.sh”,<br />
                        //offCommand: “/usr/local/bin/hdmi-off.sh”,</p>
<p dir="auto">                        //X11:<br />
                        onCommand:  “xrandr --output HDMI-1 --mode 1920x1080 --rate 60”,<br />
                        offCommand: “xrandr --output HDMI-1 --off”,<br />
                        //onCommand:  “xrandr --output HDMI-1 --on”,<br />
                        //offCommand: “xrandr --output HDMI-1 --off”,<br />
                        //onCommand:  “vcgencmd display_power 1”,<br />
                        //offCommand: “vcgencmd display_power 0”,<br />
                        //onCommand:  “wlr-randr --output HDMI-1 --on”,<br />
                        //offCommand: “wlr-randr --output HDMI-1 --off”,</p>
<p dir="auto">                        deactivateDelay: 40 * 1000,<br />
                  }<br />
            },<br />
My assumption is that the auto-switch to On of the monitor comes from raspi-connect. With VNC this is not the case. But this is not thoroughly tested, just gut feel.</p>
<p dir="auto">Maybe a last question you might help me with: with the now working offCommand my VNC window on the PC shrinks to tiny. Any suggestion how to avoid?</p>
<p dir="auto">Best,</p>
<p dir="auto">Hobbes aka Dirk</p>
]]></description><link>https://forum.magicmirror.builders/post/128632</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128632</guid><dc:creator><![CDATA[Hobbes 0]]></dc:creator><pubDate>Sun, 19 Oct 2025 06:56:40 GMT</pubDate></item><item><title><![CDATA[Reply to HDMI turns on without movement on Fri, 17 Oct 2025 16:34:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> said</p>
<blockquote>
<p dir="auto">trixie: <code>gpiomon -e rising -c 0 23</code></p>
</blockquote>
<p dir="auto">You could try Karsten‘s suggestion…<br />
Replace your configs gpioCommand with the suggested one and check what happens…<br />
As I had assumed in my earlier post it‘s may related more to gpio than to HDMI …</p>
<p dir="auto">Regards,<br />
Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/128629</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128629</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Fri, 17 Oct 2025 16:34:50 GMT</pubDate></item><item><title><![CDATA[Reply to HDMI turns on without movement on Fri, 17 Oct 2025 12:04:53 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the analysis so far. Anything I can test?</p>
]]></description><link>https://forum.magicmirror.builders/post/128624</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128624</guid><dc:creator><![CDATA[Hobbes 0]]></dc:creator><pubDate>Fri, 17 Oct 2025 12:04:53 GMT</pubDate></item><item><title><![CDATA[Reply to HDMI turns on without movement on Wed, 15 Oct 2025 21:36:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a> dang I hate breaking changes for no obvious value</p>
]]></description><link>https://forum.magicmirror.builders/post/128602</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128602</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 15 Oct 2025 21:36:35 GMT</pubDate></item><item><title><![CDATA[Reply to HDMI turns on without movement on Wed, 15 Oct 2025 20:16:10 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> said in <a href="/post/128597">HDMI turns on without movement</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a>  have you had a chance to test universal pir on Trixie yet?</p>
</blockquote>
<p dir="auto">I’m on it …</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hobbes-0" aria-label="Profile: Hobbes-0">@<bdi>Hobbes-0</bdi></a> said in <a href="/post/128595">HDMI turns on without movement</a>:</p>
<blockquote>
<p dir="auto">I tested the offCommand directly in the Terminal, the monitor goes off, and again after a minute or so goes back on. So this does not come from the MM.</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a>  so this problem is not related to universal pir or mm</p>
<p dir="auto">I tested universal pir on mmos, which is on trixie but uses the os lite version, mm and labwc/wayland are started as containers.</p>
<p dir="auto">I cannot reproduce the unexpected activation there.</p>
<p dir="auto"><s>(I found another permission problem which I will fix later)</s> fixed</p>
<p dir="auto">Other difference between trixie and bookworm is a breaking version change of <code>gpiomon</code> so you have to use different commands:</p>
<p dir="auto">bookworm: <code>gpiomon -r -b gpiochip0 23</code><br />
trixie: <code>gpiomon -e rising -c 0 23</code></p>
]]></description><link>https://forum.magicmirror.builders/post/128598</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128598</guid><dc:creator><![CDATA[karsten13]]></dc:creator><pubDate>Wed, 15 Oct 2025 20:16:10 GMT</pubDate></item><item><title><![CDATA[Reply to HDMI turns on without movement on Wed, 15 Oct 2025 14:45:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/karsten13" aria-label="Profile: karsten13">@<bdi>karsten13</bdi></a>  have you had a chance to test universal pir on Trixie yet?</p>
]]></description><link>https://forum.magicmirror.builders/post/128597</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128597</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 15 Oct 2025 14:45:01 GMT</pubDate></item><item><title><![CDATA[Reply to HDMI turns on without movement on Wed, 15 Oct 2025 14:15:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hobbes-0" aria-label="Profile: Hobbes-0">@<bdi>Hobbes-0</bdi></a> I would invest in direction of GPIO…<br />
As I’ve experienced GPIO in bookworm was strongly different as in earlier version - may this applies to Trixie as well?<br />
If monitor “awakes” suddenly this seem not to be a problem of HDMI-commands ?</p>
<p dir="auto">Sorry cannot advice more concrete - I#m still on bookwork, not Trixie.</p>
<p dir="auto">Good luck!</p>
<p dir="auto">Ralf</p>
]]></description><link>https://forum.magicmirror.builders/post/128596</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/128596</guid><dc:creator><![CDATA[rkorell]]></dc:creator><pubDate>Wed, 15 Oct 2025 14:15:58 GMT</pubDate></item></channel></rss>