<?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[Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods]]></title><description><![CDATA[<p dir="auto">I noticed that after long sleep cycles (mostly overnight), the monitor turns on with detected movement (PIR sensor), but MagicMirror itself is just a black screen with my mouse cursor. I have to restart MagicMirror with alt + f4 to load properly after the long sleep. Has anyone had a problem like this? The mirror detects the motion just fine, but I lose everything on the screen when it awakes. Thanks!</p>
<p dir="auto"><a href="https://i.imgur.com/pRrLsnw.jpg" target="_blank" rel="noopener noreferrer nofollow ugc">https://i.imgur.com/pRrLsnw.jpg</a></p>
]]></description><link>https://forum.magicmirror.builders/topic/13456/black-screen-only-with-cursor-visible-when-waking-mirror-with-mmm-pir-sensor-after-long-sleep-periods</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Apr 2026 19:11:31 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/13456.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Aug 2020 20:41:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Wed, 19 Aug 2020 16:59:46 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></p>
<p dir="auto">Thanks! I must have lost that file somewhere. Ill get that added and see if I still have that problem.</p>
]]></description><link>https://forum.magicmirror.builders/post/80343</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80343</guid><dc:creator><![CDATA[Matthew]]></dc:creator><pubDate>Wed, 19 Aug 2020 16:59:46 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Wed, 19 Aug 2020 16:57:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matthew" aria-label="Profile: Matthew">@<bdi>Matthew</bdi></a> replied</p>
]]></description><link>https://forum.magicmirror.builders/post/80342</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80342</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 19 Aug 2020 16:57:07 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Wed, 19 Aug 2020 16:54:15 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></p>
<p dir="auto">sent! Thanks again!</p>
]]></description><link>https://forum.magicmirror.builders/post/80341</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80341</guid><dc:creator><![CDATA[Matthew]]></dc:creator><pubDate>Wed, 19 Aug 2020 16:54:15 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Wed, 19 Aug 2020 16:57:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matthew" aria-label="Profile: Matthew">@<bdi>Matthew</bdi></a> u can mail them to me. same user ID on gmail</p>
]]></description><link>https://forum.magicmirror.builders/post/80340</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80340</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 19 Aug 2020 16:57:21 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Wed, 19 Aug 2020 16:50:11 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></p>
<p dir="auto">Im trying to reply with the logs, but it’s getting flagged as spam</p>
]]></description><link>https://forum.magicmirror.builders/post/80337</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80337</guid><dc:creator><![CDATA[Matthew]]></dc:creator><pubDate>Wed, 19 Aug 2020 16:50:11 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Tue, 18 Aug 2020 18:10:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matthew" aria-label="Profile: Matthew">@<bdi>Matthew</bdi></a> so, you can’t use it  with the npm start…</p>
<p dir="auto">as I said in the prior post, if you use pm2, then restart mm after adding the logging  module (pm2 restart 0)  and then see the logs with pm2 logs</p>
<pre><code>pm2 logs --lines=100
</code></pre>
<p dir="auto">or u can direct edit the logs in ~/.pm2/logs</p>
]]></description><link>https://forum.magicmirror.builders/post/80291</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80291</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 18 Aug 2020 18:10:51 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Tue, 18 Aug 2020 18:08:21 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> its been a while since I set all of this up, but pm2 is the auto launch right? If so then yeah it always launches automatically</p>
]]></description><link>https://forum.magicmirror.builders/post/80290</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80290</guid><dc:creator><![CDATA[Matthew]]></dc:creator><pubDate>Tue, 18 Aug 2020 18:08:21 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Tue, 18 Aug 2020 17:09:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matthew" aria-label="Profile: Matthew">@<bdi>Matthew</bdi></a> &gt;[2020-08-15 17:22:14.668] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080<br />
that happened on the 15th within 2 seconds of starting…</p>
<p dir="auto">is that the right log?</p>
<p dir="auto">that says something is already running … do you normally use pm2 to launch MM?</p>
<p dir="auto">do pm2 status</p>
]]></description><link>https://forum.magicmirror.builders/post/80277</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80277</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Tue, 18 Aug 2020 17:09:22 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Tue, 18 Aug 2020 17:02:44 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> Thank you! I got the error again today, and this is what the logs said.</p>
<blockquote>
<p dir="auto">magicmirror@2.12.0 start /home/pi/MagicMirror<br />
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js</p>
</blockquote>
<p dir="auto">[2020-08-15 17:22:12.919] [LOG]    Starting MagicMirror: v2.12.0<br />
[2020-08-15 17:22:12.936] [LOG]    Loading config …<br />
[2020-08-15 17:22:12.946] [LOG]    Loading module helpers …<br />
[2020-08-15 17:22:13.105] [LOG]    Initializing new module helper …<br />
[2020-08-15 17:22:13.108] [LOG]    Module helper loaded: MMM-Logging<br />
[2020-08-15 17:22:13.110] [LOG]    No helper found for module: alert.<br />
[2020-08-15 17:22:13.112] [LOG]    No helper found for module: clock.<br />
[2020-08-15 17:22:13.113] [LOG]    No helper found for module: currentweather.<br />
[2020-08-15 17:22:13.113] [LOG]    No helper found for module: weatherforecast.<br />
[2020-08-15 17:22:13.918] [LOG]    Initializing new module helper …<br />
[2020-08-15 17:22:13.919] [LOG]    Module helper loaded: newsfeed<br />
[2020-08-15 17:22:13.925] [LOG]    Initializing new module helper …<br />
[2020-08-15 17:22:13.926] [LOG]    Module helper loaded: MMM-Wallpaper<br />
[2020-08-15 17:22:13.975] [LOG]    Initializing new module helper …<br />
[2020-08-15 17:22:13.976] [LOG]    Module helper loaded: MMM-MyWastePickup<br />
[2020-08-15 17:22:13.976] [LOG]    No helper found for module: calendar_monthly.<br />
[2020-08-15 17:22:14.046] [LOG]    Initializing new module helper …<br />
[2020-08-15 17:22:14.047] [LOG]    Module helper loaded: MMM-MyCalendar<br />
[2020-08-15 17:22:14.098] [LOG]    Initializing new module helper …<br />
[2020-08-15 17:22:14.099] [LOG]    Module helper loaded: MMM-PIR-Sensor<br />
[2020-08-15 17:22:14.100] [LOG]    All module helpers loaded.<br />
[2020-08-15 17:22:14.394] [LOG]    Starting server on port 8080 …<br />
[2020-08-15 17:22:14.420] [LOG]    Server started …<br />
[2020-08-15 17:22:14.422] [LOG]    Connecting socket for: MMM-Logging<br />
[2020-08-15 17:22:14.433] [LOG]    2020-08-15T17:22:14  Module helper started for MMM-Logging (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:19 Class.start)<br />
[2020-08-15 17:22:14.435] [LOG]    Connecting socket for: newsfeed<br />
[2020-08-15 17:22:14.436] [LOG]    Starting node helper for: newsfeed<br />
[2020-08-15 17:22:14.438] [LOG]    Connecting socket for: MMM-Wallpaper<br />
[2020-08-15 17:22:14.441] [LOG]    2020-08-15T17:22:14  Starting node helper for: MMM-Wallpaper (/home/pi/MagicMirror/modules/MMM-Wallpaper/node_helper.js:33 Class.start)<br />
[2020-08-15 17:22:14.447] [LOG]    Connecting socket for: MMM-MyWastePickup<br />
[2020-08-15 17:22:14.449] [LOG]    2020-08-15T17:22:14  Starting node_helper for module: MMM-MyWastePickup (/home/pi/MagicMirror/modules/MMM-MyWastePickup/node_helper.js:10 Class.start)<br />
[2020-08-15 17:22:14.450] [LOG]    Connecting socket for: MMM-MyCalendar<br />
[2020-08-15 17:22:14.452] [LOG]    2020-08-15T17:22:14  Starting node helper for: MMM-MyCalendar (/home/pi/MagicMirror/modules/MMM-MyCalendar/node_helper.js:19 Class.start)<br />
[2020-08-15 17:22:14.453] [LOG]    Connecting socket for: MMM-PIR-Sensor<br />
[2020-08-15 17:22:14.453] [LOG]    Sockets connected &amp; modules started …<br />
Fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown element “blank”<br />
[2020-08-15 17:22:14.665] [ERROR]  Whoops! There was an uncaught exception…<br />
[2020-08-15 17:22:14.668] [ERROR]  Error: listen EADDRINUSE: address already in use 127.0.0.1:8080<br />
at Server.setupListenHandle [as _listen2] (net.js:1226:14)<br />
at listenInCluster (net.js:1274:12)<br />
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1413:7)<br />
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:65:10) {<br />
code: ‘EADDRINUSE’,<br />
errno: ‘EADDRINUSE’,<br />
syscall: ‘listen’,<br />
address: ‘127.0.0.1’,<br />
port: 8080<br />
}<br />
[2020-08-15 17:22:14.682] [ERROR]  MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?<br />
[2020-08-15 17:22:14.683] [ERROR]  If you think this really is an issue, please open an issue on GitHub: <a href="https://github.com/MichMich/MagicMirror/issues" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/MichMich/MagicMirror/issues</a><br />
[2020-08-15 17:22:14.717] [LOG]    Launching application.<br />
ATTENTION: default value of option force_s3tc_enable overridden by environment.<br />
[2020-08-15 17:22:43.588] [LOG]    Shutting down server…</p>
]]></description><link>https://forum.magicmirror.builders/post/80276</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80276</guid><dc:creator><![CDATA[Matthew]]></dc:creator><pubDate>Tue, 18 Aug 2020 17:02:44 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Thu, 13 Aug 2020 21:57:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matthew" aria-label="Profile: Matthew">@<bdi>Matthew</bdi></a> install this module<br />
<a href="https://github.com/sdetweil/MMM-Logging" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-Logging</a></p>
<p dir="auto">note that this is a modified version of this module, written by someone else… but I needed to do similar debugging a while back</p>
<p dir="auto">make its module entry in config.js the top of the list, like this</p>
<pre><code>modules: [
        {
            module: 'MMM-Logging',
            config: {
                       echoRemote:false,
            }
        },
// other modules
    ]
</code></pre>
<p dir="auto">let everything else default</p>
<p dir="auto">this will collect all the browser logging and console logging together with timestamps…</p>
<p dir="auto">then start mm like this</p>
<pre><code>cd ~/MagicMirror
npm start &gt;somefile 2&gt;&amp;1

</code></pre>
<p dir="auto">or use pm2<br />
(all the logging info will be saved in the pm2 logs)</p>
]]></description><link>https://forum.magicmirror.builders/post/80151</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80151</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 13 Aug 2020 21:57:07 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Thu, 13 Aug 2020 02:05:08 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 remember that I have some problem with an npm library with it (before I start to code)<br />
I don’t remember how I solve it</p>
<p dir="auto">After you can try my pir module if you want</p>
]]></description><link>https://forum.magicmirror.builders/post/80120</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80120</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 13 Aug 2020 02:05:08 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Thu, 13 Aug 2020 01:55:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matthew" aria-label="Profile: Matthew">@<bdi>Matthew</bdi></a> hmm.  let me think about another debug approach.</p>
]]></description><link>https://forum.magicmirror.builders/post/80119</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80119</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 13 Aug 2020 01:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Thu, 13 Aug 2020 01:45:09 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> It says that devTools was disconnected from the page. Once page is reloaded, DevTools will automatically reconnect</p>
]]></description><link>https://forum.magicmirror.builders/post/80118</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80118</guid><dc:creator><![CDATA[Matthew]]></dc:creator><pubDate>Thu, 13 Aug 2020 01:45:09 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Wed, 12 Aug 2020 21:11:48 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> next time I get the black screen I’ll take a look!</p>
]]></description><link>https://forum.magicmirror.builders/post/80116</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80116</guid><dc:creator><![CDATA[Matthew]]></dc:creator><pubDate>Wed, 12 Aug 2020 21:11:48 GMT</pubDate></item><item><title><![CDATA[Reply to Black screen (only with cursor visible) when waking mirror with MMM-PIR-Sensor after long sleep periods on Wed, 12 Aug 2020 21:10:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/matthew" aria-label="Profile: Matthew">@<bdi>Matthew</bdi></a> open the developers window ctrl-shift-i and select the console tab and scroll up to see any errors.</p>
<p dir="auto">black screen usually means some code running in the browser died</p>
]]></description><link>https://forum.magicmirror.builders/post/80115</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/80115</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 12 Aug 2020 21:10:20 GMT</pubDate></item></channel></rss>