<?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[Blank screen issue ( another one again ) after one hour or so...]]></title><description><![CDATA[<p dir="auto">Hi to all members!</p>
<p dir="auto">First I want to thank all contributor for the Magic Mirror project. I really enjoy this project to build my own mirror and learn new things.</p>
<p dir="auto">I have a pi 3b+ running on the latest OS :<br />
stretch V9.6</p>
<p dir="auto">I have installed MM and followed all documentations then implemented a few modules.<br />
the defaults one they are working fine ( some are commented such as alert and notifications (For debugging the blank screen issue I have and make sure the cause was not those modules)<br />
MMM-AssistantMk2   &amp;  MMM-Hotword  ( perfectly works )<br />
MMM-NowPlayingOnSpotify  working fine but commented for as well because getting too much errors ( when nothing was played )<br />
mmm-systemtemperature : Works OK<br />
MMM-DarkSkyForecast :Works OK<br />
MMM-Hue   : Works OK<br />
MMM-Traffic  : Works OK<br />
MMM-PIR-Sensor  (To turn off&amp;on the HDMI Port) : Works OK</p>
<p dir="auto">You will tell me all “works OK” so what’s wrong with you guy :)</p>
<p dir="auto">Well after I start my MM all is “work ok” (Again)<br />
The Pir sensor delay works and well shutdown the HDMI port and it comes back when a movement is detected. My delay is set to 10 mins and if I come back after 15mins the screen is back ON,  So far so good .</p>
<p dir="auto">Now my issue : When I come back after a while let’s say an hour or more, the PIR sensor turn ON the HDMI port and my screen goes on.</p>
<p dir="auto">Then surprise I get a blank screen.</p>
<p dir="auto">I know I’m not in screen saver mode because after a VNC connection I see the little popup on screen and I can see the mouse moving as well.</p>
<p dir="auto">My conclusion is that the MM is in a kind of “sleep” mode waiting to be wake up.</p>
<p dir="auto">I can bring the MM modules  back on screen for example by giving input via the Hotword/assistant module so when I say “Jarvis” the hotword is detected and MM &amp; all modules directly come back on screen.</p>
<p dir="auto">No error in the MM error log from PM2 nor in the out file.<br />
Dev mode ( Shift CTRL I ) show me that the modules are still well receiving notification from other modules )</p>
<p dir="auto">Before posting this thread here as I said I read the full installation documentation and more. I did many research for a similar problem and didn’t find . I looked at many places and applied several solutions.  Unfortunately without success ).</p>
<p dir="auto">It look like it’s a matter in the MM code itself ( But I maybe wrong I do not want to bother anyone by saying this ) Just a personnal thought.</p>
<p dir="auto">Here is my setup :<br />
/etc/lightdm/lightdm.conf</p>
<pre><code>[SeatDefaults] ( I had to create this entry in the file ) 
xserver-command=X -s 0 -dpms
</code></pre>
<p dir="auto">As well added to</p>
<pre><code>[Seat:*] ( which was existing prior editing the file )
xserver-command=X -s 0 -dpms
</code></pre>
<p dir="auto">Just in case ( but I have added this after and that didn’t help )</p>
<p dir="auto">The file /etc/xdg/lxsession/LXDE-pi/autostart</p>
<pre><code class="language-@lxpanel">@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
point-rpi
@xset s noblank
@xset s off
@xset -dpms
</code></pre>
<p dir="auto">And /etc/xdg/lxsession/LXDE/autostart</p>
<pre><code>@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash
@xset s noblank
@xset s off
@xset -dpms
</code></pre>
<p dir="auto">I didn’t make it in /.config/lxsession/LXDE-pi/autostart because when creating this file my system boot in openbox and not in desktop session.<br />
And I want to keep the desktop for other reason.</p>
<p dir="auto">I installed xscreen and turn of powersaving on screen and screen saver.</p>
<p dir="auto">My config.js file :</p>
<pre><code>/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
var config = {
	"port": 8080,
	"language": "fr",
	"timeFormat": 24,
	"units": "metric",
	"modules": [
//		{
//			"module": "alert"
//		},
//		{
//			"module": "updatenotification",
//			"position": "top_bar"
//		},
		{
			"module": "clock",
			"position": "top_left"
		},

/*		{
			"module": "MMM-NowPlayingOnSpotify",
			"position": "top_left",
			"config": {
				"clientID": "f---------------------------0",
				"clientSecret": "7------------------------------6",
				"accessToken": "B------------------------------------------A",
				"refreshToken": "A------------------------------------A"
			}
		},
*/
		{
			"module": "MMM-AssistantMk2",
			"position": "top_right",
			"config": {
				"record": {
					"recordProgram": "arecord",
					"device": "plughw:1"
				},
				"play": {
					"playProgram": "mpg321"
				},
				"deviceLocation": {
					"coordinates": {
						"latitude": 48.739464,
						"longitude": 2.557584
					}
				},
				"defaultProfile": "default",
				"profiles": {
					"default": {
						"profileFile": "default.json",
						"lang": "fr-FR"
					}
				},
				"responseVoice": true,
				"responseScreen": true,
				"responseAlert": true,
				"screenZoom": "80%",
				"screenDuration": 3000,
				"youtubeAutoplay": true,
				"pauseOnYoutube": false,
				"youtubePlayerVars": {
					"controls": 0,
					"loop": 1,
					"rel": 0
				},
				"youtubePlayQuality": "default",
				"verbose": false,
				"auth": {
					"keyFilePath": "./credentials.json"
				},
				"action": {},
				"transcriptionHook": {},
				"command": {},
				"notifications": {
					"ASSISTANT_ACTIVATE": "ASSISTANT_ACTIVATE",
					"ASSISTANT_DEACTIVATE": "ASSISTANT_CLEAR",
					"ASSISTANT_ACTIVATED": "HOTWORD_PAUSE",
					"ASSISTANT_DEACTIVATED": "HOTWORD_RESUME",
					"ASSISTANT_ACTION": "ASSISTANT_ACTION",
					"DEFAULT_HOOK_NOTIFICATION": "ASSISTANT_HOOK",
					"TEXT_QUERY": "ASSISTANT_QUERY",
					"SAY_TEXT": "ASSISTANT_SAY"
				}
			}
		},
		{
			"module": "MMM-Hotword",
			"config": {
				"snowboy": [
				/*	{
						"hotwords": "smartmirror",
						"file": "resources/models/smart_mirror.umdl",
						"sensitivity": "0.5"
					},
					{
						"hotwords": "snowboy",
						"file": "resources/models/snowboy.umdl",
						"sensitivity": "0.5"
					},
*/

					{
						"file": "resources/models/jarvis.umdl",
						"sensitivity": "0.6,0.60",
						"hotwords": [
							"jarvis",
							"jarvis"
						]
					}
				],
				"record": {
					"sampleRate": 16000,
					"threshold": 0.5,
					"thresholdStart": null,
					"thresholdEnd": null,
					"silence": 1,
					"verbose": false,
					"recordProgram": "arecord",
					"device": "plughw:1"
				},
				"autostart": true,
				"autorestart": true,
				"notifications": {
					"PAUSE": "HOTWORD_PAUSE",
					"RESUME": "HOTWORD_RESUME",
					"LISTENING": "HOTWORD_LISTENING",
					"SLEEPING": "HOTWORD_SLEEPING",
					"ERROR": "HOTWORD_ERROR"
				},
				"onDetected": {
					notification: function (payload) {
        				return "ASSISTANT_ACTIVATE";
      					},
      					payload: function (payload){
        				return {
                			profile: payload.hotword
					};
				}
			},
		},
},
		{
			"module": "MMM-Traffic",
			"position": "lower_third",
			"config": {
				"api_key": "A--------------------------------------------E",
				"mode": "driving",
				"origin": "my street France",
				"destination": "my street , France",
				"route_name": "De la maison au travail",
				"changeColor": true,
				"showGreen": true,
				"limitYellow": 5,
				"limitRed": 20,
				"traffic_model": "best_guess",
				"interval": 1000000
			},
			"classes": "dimmed medium"
		},

		{
			"module": "MMM-Hue",
			"position": "top_center",
			"config": {
				"bridgeip": "192.168.0.44",
				"userid": "H---------------------------------u",
				"colour": false,
				"refreshTime": "30000"
			}
		},

{
  module: "MMM-DarkSkyForecast",
  header: "Weather",
  position: "top_right",
  classes: "default everyone",
  disabled: false,
  config: {
    apikey: "4------------------------------------------5",
    latitude: "48.725610",
    longitude: "2.572350",
    updateInterval: "60",
    language: "fr",
    label_timeFormat: "k[h]",
    label_days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"],
    iconset: "4c",
    concise: false,
    forecastLayout: "tiled"
  }
},
         {
               module: 'MMM-PIR-Sensor',
		config: {
			"sensorPIN": "23",
			"powerSavingDelay": 600,
		}
	},

	{
		module: 'mmm-systemtemperature',
		position: 'bottom_left',	// This can be any of the regions.
		classes: 'small dimmed', // Add your own styling. Optional.
		config: {
			// See 'Configuration options' for more information.
		}
	},


		{
			"module": "newsfeed",
			"position": "bottom_bar",
			"config": {
				"feeds": [
					{
						"title": "BFMTV",
						"url": "https://www.bfmtv.com/rss/info/flux-rss/flux-toutes-les-actualites/"
					}
				],
				"showSourceTitle": true,
				"showPublishDate": true
			}
		}
	],
	"address": "localhost",
	"ipWhitelist": [
		"127.0.0.1",
		"192.168.0.21",
		"::ffff:192.168.0.23/24",
		"192.168.0.23/24"
	]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/ 
if (typeof module !== 'undefined') {module.exports = config;}

</code></pre>
<p dir="auto">Finally I’m up to date on MM and all Modules.</p>
<p dir="auto">I didn’t use the OpenGL driver in /boot/config.txt as in was generating error in the logs, and my pi is Fan cooled So I don’t worry for now about system temp ( always around 50°C) and CPU usage ( around 40% when MM + VNC are running )</p>
<p dir="auto">So if anyone have clue / good question to ask my to help me dig out this issue and resolve it you are most that welcome !!!  I hope that this post was not too long but I wanted to give as much details as I can.</p>
<p dir="auto">If you need any other info feel free to ask me.</p>
<p dir="auto">Thank you again for all your work and help .</p>
]]></description><link>https://forum.magicmirror.builders/topic/9792/blank-screen-issue-another-one-again-after-one-hour-or-so</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 22:26:22 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/9792.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Feb 2019 13:57:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Blank screen issue ( another one again ) after one hour or so... on Thu, 14 Feb 2019 17:56:39 GMT]]></title><description><![CDATA[<p dir="auto">Ok Great ! That was the issue !<br />
Placing the timer to 0 prevent the module to be suspended .</p>
<p dir="auto">Now I would like to put this back in the code so the modules in suspended mode that is great as indeed I don’t need them update when the screen is Off but i’d like to resume with the onDetected when motion is detected by the PIR module ?</p>
<p dir="auto">Is it possible to Sync the Idle and onDetected with the PIR Module ?</p>
<p dir="auto">Thanks .</p>
]]></description><link>https://forum.magicmirror.builders/post/52360</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/52360</guid><dc:creator><![CDATA[ejay-ibm]]></dc:creator><pubDate>Thu, 14 Feb 2019 17:56:39 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen issue ( another one again ) after one hour or so... on Wed, 19 Feb 2020 07:17:06 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/ejay-ibm" aria-label="Profile: ejay-ibm">@<bdi>ejay-ibm</bdi></a> did you manage to fix the issue. i have the same issue with the PIR Module. Sometimes the screen wakes up but its blank and i have to restart the pi.</p>
]]></description><link>https://forum.magicmirror.builders/post/69735</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/69735</guid><dc:creator><![CDATA[philmavedzenge]]></dc:creator><pubDate>Wed, 19 Feb 2020 07:17:06 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen issue ( another one again ) after one hour or so... on Thu, 14 Feb 2019 19:47:39 GMT]]></title><description><![CDATA[<p dir="auto">Me again</p>
<p dir="auto">I Would Say that you should mark the post as solved As We have root cause here.<br />
I have created that git</p>
<p dir="auto"><a href="https://github.com/paviro/MMM-PIR-Sensor/issues/73" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/paviro/MMM-PIR-Sensor/issues/73</a><br />
To get some help from paviro and see if the ondetected function of MK2 assistant could be implemented in the PIR module so they could be kind of sync.</p>
<p dir="auto">Thanks to <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> for driving me in the right debug way for finding the root cause of the problem.</p>
]]></description><link>https://forum.magicmirror.builders/post/52366</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/52366</guid><dc:creator><![CDATA[ejay-ibm]]></dc:creator><pubDate>Thu, 14 Feb 2019 19:47:39 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen issue ( another one again ) after one hour or so... on Thu, 14 Feb 2019 17:56:39 GMT]]></title><description><![CDATA[<p dir="auto">Ok Great ! That was the issue !<br />
Placing the timer to 0 prevent the module to be suspended .</p>
<p dir="auto">Now I would like to put this back in the code so the modules in suspended mode that is great as indeed I don’t need them update when the screen is Off but i’d like to resume with the onDetected when motion is detected by the PIR module ?</p>
<p dir="auto">Is it possible to Sync the Idle and onDetected with the PIR Module ?</p>
<p dir="auto">Thanks .</p>
]]></description><link>https://forum.magicmirror.builders/post/52360</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/52360</guid><dc:creator><![CDATA[ejay-ibm]]></dc:creator><pubDate>Thu, 14 Feb 2019 17:56:39 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen issue ( another one again ) after one hour or so... on Thu, 14 Feb 2019 14:50:08 GMT]]></title><description><![CDATA[<p dir="auto">Searching for similar log in other thread I found someone saying  :<br />
“It might be due to “onIdle” and “onDetected” features. Disable them”<br />
So I have added to my config.js in the MM assistant module</p>
<pre><code> onIdle: {
      timer: 0,  // if you don't want to use this feature, just set timer as `0` or command as ""
      command: "HIDEMODULES"
    },
</code></pre>
<p dir="auto">I’m testing and will report results.<br />
Thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/52353</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/52353</guid><dc:creator><![CDATA[ejay-ibm]]></dc:creator><pubDate>Thu, 14 Feb 2019 14:50:08 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen issue ( another one again ) after one hour or so... on Thu, 14 Feb 2019 14:35:40 GMT]]></title><description><![CDATA[<p dir="auto">Once the screen goes OFF</p>
<pre><code>module.js:198 				MMM-Hotword is suspended.
module.js:198				MMM-PIR-Sensor is suspended.
module.js:198 				clock is suspended.
module.js:198 				MMM-AssistantMk2 is suspended.
module.js:198 				MMM-Traffic is suspended.
module.js:198 				MMM-Hue is suspended.
module.js:198 				MMM-DarkSkyForecast is suspended.
module.js:198 				mmm-systemtemperature is suspended.
module.js:198 				newsfeed is suspended.
received TRAFFIC_COMMUTE 	MMM-Traffic.js:273 
</code></pre>
<p dir="auto">I Get now blank screen . Nothing happens in the log/dev console</p>
<p dir="auto">Now I moove and screen goes ON , but MM still blank I say “Jarvis” and the console logs shows.</p>
<pre><code>clock received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
module.js:154 clock received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
module.js:154 MMM-Traffic received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
module.js:154 MMM-Hue received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
module.js:154 MMM-DarkSkyForecast received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
module.js:154 mmm-systemtemperature received a module notification: HOTWORD_PAUSE from sender: MMM-AssistantMk2
newsfeed.js:340 newsfeed - received notification: HOTWORD_PAUSE
newsfeed.js:391 newsfeed - unknown notification, ignoring: HOTWORD_PAUSE
module.js:154 MMM-Traffic received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
module.js:154 MMM-Hue received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
module.js:154 MMM-DarkSkyForecast received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
module.js:154 mmm-systemtemperature received a module notification: ASSISTANT_ACTIVATE from sender: MMM-Hotword
newsfeed.js:340 newsfeed - received notification: ASSISTANT_ACTIVATE
newsfeed.js:391 newsfeed - unknown notification, ignoring: ASSISTANT_ACTIVATE
module.js:154 clock received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
module.js:154 MMM-Traffic received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
module.js:154 MMM-Hue received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
module.js:154 MMM-DarkSkyForecast received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
module.js:154 mmm-systemtemperature received a module notification: HOTWORD_SLEEPING from sender: MMM-Hotword
newsfeed.js:340 newsfeed - received notification: HOTWORD_SLEEPING
newsfeed.js:391 newsfeed - unknown notification, ignoring: HOTWORD_SLEEPING
module.js:205 clock is resumed.
module.js:205 MMM-AssistantMk2 is resumed.
module.js:205 MMM-Hotword is resumed.
module.js:205 MMM-Traffic is resumed.
module.js:205 MMM-Hue is resumed.
module.js:205 MMM-DarkSkyForecast is resumed.
module.js:205 MMM-PIR-Sensor is resumed.
module.js:205 mmm-systemtemperature is resumed.
module.js:205 newsfeed is resumed.

</code></pre>
<p dir="auto">So it look like the suspended state create the blank screen. (am I right ? :/ )<br />
If yes  Now the question is , how to prevent the modules to be suspended.<br />
Is that because of the PIR module ?</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/52352</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/52352</guid><dc:creator><![CDATA[ejay-ibm]]></dc:creator><pubDate>Thu, 14 Feb 2019 14:35:40 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen issue ( another one again ) after one hour or so... on Thu, 14 Feb 2019 14:15:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ejay-ibm" aria-label="Profile: ejay-ibm">@<bdi>ejay-ibm</bdi></a> said in <a href="/post/52348">Blank screen issue ( another one again ) after one hour or so...</a>:</p>
<blockquote>
<p dir="auto">//		{<br />
//			“module”: “updatenotification”,<br />
//			“position”: “top_bar”<br />
//		},</p>
</blockquote>
<p dir="auto">Is that the module you are talking about ( as you can see it’s already commented ) ? If not how do you disable the updater module ?</p>
<p dir="auto">I’m running dev mode now waiting for the issue to reoccur.</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.magicmirror.builders/post/52350</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/52350</guid><dc:creator><![CDATA[ejay-ibm]]></dc:creator><pubDate>Thu, 14 Feb 2019 14:15:21 GMT</pubDate></item><item><title><![CDATA[Reply to Blank screen issue ( another one again ) after one hour or so... on Thu, 14 Feb 2019 14:02:45 GMT]]></title><description><![CDATA[<p dir="auto">disable the updater module<br />
start the MM with</p>
<p dir="auto">npm start dev</p>
<p dir="auto">and select the console tab… make sure its scrolled down all the way</p>
<p dir="auto">then repeat your test cycle<br />
see if anything shows on console when the black screen is up</p>
]]></description><link>https://forum.magicmirror.builders/post/52349</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/52349</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 14 Feb 2019 14:02:45 GMT</pubDate></item></channel></rss>