<?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-PIR-Sensor black screen]]></title><description><![CDATA[<p dir="auto">Hello everyone,</p>
<p dir="auto">i just found out about this module - didn’t even know this exists - and i hat to try it!<br />
I’m planning on saving some energy by powering off the Monitor.</p>
<p dir="auto">The install worked fine and the PIR Sensor is working (i have a litte .py script that’s prints a message in the shell if a movement is dedected) <strong>BUT</strong> the screen stays black!</p>
<p dir="auto">The Monitor is powerd on - i even see the desktop seconds bevor MM boots up, but the screens stays black and nothing is displayed.</p>
<p dir="auto">I noticed this before when i was trying to turn my monitor on and off again with <code>tvservice --off</code> / <code>tvservice --preferred</code>.<br />
If i use <code>vcgencmd display_power 1</code> / <code>vcgencmd display_power 0</code> my Monitor perfectly switches on and off again.</p>
<p dir="auto">But, i checked the “node_helper.js” on <a href="https://github.com/paviro/MMM-PIR-Sensor/blob/master/node_helper.js" target="_blank" rel="noopener noreferrer nofollow ugc">github</a> and the helper file is using the “vcgencmd script”</p>
<p dir="auto">What is going here? Any ideas how i can solve this?</p>
]]></description><link>https://forum.magicmirror.builders/topic/9960/mmm-pir-sensor-black-screen</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 07:39:43 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9960.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Mar 2019 22:06:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-PIR-Sensor black screen on Sat, 09 Mar 2019 10:29:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stef" aria-label="Profile: Stef">@<bdi>Stef</bdi></a> Hi, yesterday i added two Modules to the Showcase Area. On that monitors GPIO Pins and one which controls the Monitor.<br />
My usecase is exactly like yours. I use an PIR sensor to detect user presence and want the screen to be turned off after a configurable timeout.<br />
If you want to try them:<br />
MMM-Screen-Powersave-Notification<br />
and<br />
MMM-GPIO-Notifications</p>
]]></description><link>https://forum.magicmirror.builders/post/53980</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/53980</guid><dc:creator><![CDATA[wishmaster270]]></dc:creator><pubDate>Sat, 09 Mar 2019 10:29:59 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-PIR-Sensor black screen on Fri, 08 Mar 2019 19:59:15 GMT]]></title><description><![CDATA[<p dir="auto">Hey all,<br />
turns out, that the MMM-PIR-Sensor Module is buggy - well, at least for me.<br />
Can’t get it to work, but i found an alternative: <a href="https://github.com/deg0nz/MagicMirror-Display-Controller" target="_blank" rel="noopener noreferrer nofollow ugc">MagicMirror-Display-Controller</a></p>
<p dir="auto">Works like a Charme!</p>
<p dir="auto">Case closed :)</p>
<p dir="auto">Have a nice weekend!</p>
]]></description><link>https://forum.magicmirror.builders/post/53956</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/53956</guid><dc:creator><![CDATA[Stef]]></dc:creator><pubDate>Fri, 08 Mar 2019 19:59:15 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-PIR-Sensor black screen on Fri, 08 Mar 2019 20:00:00 GMT]]></title><description><![CDATA[<p dir="auto">I did a little research and stumbled over severall issues on the github page - <a href="https://github.com/paviro/MMM-PIR-Sensor/issues/65" target="_blank" rel="noopener noreferrer nofollow ugc">this one</a> catched my eye, but didn’t brought me any luck…</p>
<p dir="auto">So, what did i do excatly?</p>
<ol>
<li>Install:</li>
</ol>
<pre><code>cd ~/MagicMirror/modules/
git clone https://github.com/paviro/MMM-PIR-Sensor.git
npm install
sudo usermod -a -G gpio pi
sudo chmod u+s /opt/vc/bin/tvservice &amp;&amp; sudo chmod u+s /bin/chvt
sudo reboot
</code></pre>
<ol start="2">
<li>New wiringPI version:</li>
</ol>
<pre><code>sudo apt-get purge wiringpi
hash -r
sudo apt-get install git-core
cd
git clone git://git.drogon.net/wiringPi
cd ~/wiringPi
git pull origin
./build
sudo reboot
</code></pre>
<ol start="3">
<li>reinstall EPOLL:</li>
</ol>
<pre><code>cd ~/MagicMirror/modules/
sudo npm install --save-dev electron-rebuild ./node_modules/.bin/electron-rebuild
</code></pre>
<ol start="4">
<li>recompile Electron:</li>
</ol>
<pre><code>npm list | grep electron
cd ~/MagicMirror/modules/MMM-PIR-Sensor
npm rebuild --runtime=electron --target=1.4.5 --disturl=https://atom.io/download/atom-shell --abi=50
sudo reboot
</code></pre>
<p dir="auto">Expectation: It Works now…<br />
Reality: <strong>It does not…</strong></p>
<p dir="auto">my Config is:</p>
<pre><code>{
          module: 'MMM-PIR-Sensor',
          config: {
                       sensorPin: 23,
                       powerSaving: true,
                       powerSavingDelay: 120 // 2 Minutes
                       }
},
</code></pre>
<p dir="auto">I just excluded this part of my config - and my mirror displays everything again…</p>
<p dir="auto">Andy ideas left? :)</p>
]]></description><link>https://forum.magicmirror.builders/post/53890</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/53890</guid><dc:creator><![CDATA[Stef]]></dc:creator><pubDate>Fri, 08 Mar 2019 20:00:00 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-PIR-Sensor black screen on Thu, 07 Mar 2019 21:04:02 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> thanks for the headsup - but this does not work… i see the mous coursor though, but that’s it.<br />
I even can’t “cancel” the fullscreen mode of the magic mirror by pressing F11 (usually this brings me back to the desktop) :/</p>
]]></description><link>https://forum.magicmirror.builders/post/53887</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/53887</guid><dc:creator><![CDATA[Stef]]></dc:creator><pubDate>Thu, 07 Mar 2019 21:04:02 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-PIR-Sensor black screen on Wed, 06 Mar 2019 02:03:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/stef" aria-label="Profile: Stef">@<bdi>Stef</bdi></a> with the black screen and a keyboard, press ctrl-shift-i (letter I),<br />
to open the developers console, select the console tab, and scroll up to find errors, red text</p>
]]></description><link>https://forum.magicmirror.builders/post/53724</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/53724</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 06 Mar 2019 02:03:31 GMT</pubDate></item></channel></rss>