<?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[Problem of running MMM-Podcast and MMM-Button]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/393/mmm-button-with-mmm-podcast">MMM-Button with MMM-Podcast</a></p>
<p dir="auto">Hello guys<br />
sorry for my english.</p>
<p dir="auto">i do not able to get this Module work. The only result is that my Screen turns black after starting MM.</p>
<p dir="auto">My configuration data is exactly who its write in the readme.txt</p>
<p dir="auto">Please help.</p>
<p dir="auto">Best regards<br />
Alex</p>
]]></description><link>https://forum.magicmirror.builders/topic/2355/problem-of-running-mmm-podcast-and-mmm-button</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 02:46:04 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/2355.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Apr 2017 15:59:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Sat, 06 May 2017 17:23:17 GMT]]></title><description><![CDATA[<p dir="auto">I’m glad it works. have fun with it. I am glad that I could help</p>
]]></description><link>https://forum.magicmirror.builders/post/21229</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21229</guid><dc:creator><![CDATA[alex84]]></dc:creator><pubDate>Sat, 06 May 2017 17:23:17 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Sat, 06 May 2017 16:20:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alex84" aria-label="Profile: alex84">@<bdi>alex84</bdi></a> Great Great Great!!!<br />
IT WORK`s<br />
Thank you</p>
]]></description><link>https://forum.magicmirror.builders/post/21227</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21227</guid><dc:creator><![CDATA[hirsnmirsn]]></dc:creator><pubDate>Sat, 06 May 2017 16:20:25 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Sat, 06 May 2017 11:22:36 GMT]]></title><description><![CDATA[<p dir="auto">Hello hirsnmirsn</p>
<p dir="auto">sorry for the late reply</p>
<p dir="auto">This is in my Config.js</p>
<p dir="auto">{<br />
module: “MMM-Podcast”<br />
},<br />
{<br />
module: “MMM-Button”,<br />
config: {<br />
}<br />
},</p>
<p dir="auto">and last but not least the MMM-Button.js</p>
<p dir="auto">/* global Module */</p>
<p dir="auto">/* Magic Mirror</p>
<ul>
<li>Module: MMM-Button</li>
<li></li>
<li>MIT Licensed.<br />
*/</li>
</ul>
<p dir="auto">Module.register(‘MMM-Button’,{	<br />
requiresVersion: “2.1.0”,<br />
defaults: {<br />
buttonPIN: 5,<br />
//time in miliseconds before another button click is recognized<br />
clickDelay: 500,		<br />
},	<br />
// Override socket notification handler.<br />
socketNotificationReceived: function(notification, payload) {<br />
if (notification === “BUTTON_PRESSED”){<br />
this.sendNotification(notification, payload)<br />
}<br />
},	<br />
start: function() {<br />
this.sendSocketNotification(‘BUTTON_CONFIG’, this.config);<br />
<a href="http://Log.info" target="_blank" rel="noopener noreferrer nofollow ugc">Log.info</a>('Starting module: ’ + <a href="http://this.name" target="_blank" rel="noopener noreferrer nofollow ugc">this.name</a>);<br />
}<br />
});</p>
<p dir="auto">Make a reboot after Change your config.js</p>
<p dir="auto">The only difference I can see in the files is that you tried to load another Solution (so it stands in your Config.js)</p>
<p dir="auto">Feedurl: ‘<a href="http://www.tagesschau.de/export/video-podcast/webm/tagesschau-in-100-sekunden/" target="_blank" rel="noopener noreferrer nofollow ugc">http://www.tagesschau.de/export/video-podcast/webm/tagesschau-in-100-sekunden/</a>’</p>
<p dir="auto">I have tried it and with me everything runs without problems.</p>
]]></description><link>https://forum.magicmirror.builders/post/21221</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21221</guid><dc:creator><![CDATA[alex84]]></dc:creator><pubDate>Sat, 06 May 2017 11:22:36 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Fri, 05 May 2017 19:17:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alex84" aria-label="Profile: alex84">@<bdi>alex84</bdi></a> Thank You :ok_hand_tone3:</p>
]]></description><link>https://forum.magicmirror.builders/post/21212</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21212</guid><dc:creator><![CDATA[hirsnmirsn]]></dc:creator><pubDate>Fri, 05 May 2017 19:17:07 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Fri, 05 May 2017 14:54:55 GMT]]></title><description><![CDATA[<p dir="auto">I will you later Post my config of the button and my config as well as the config of the podcast. I’m on the road. :)</p>
]]></description><link>https://forum.magicmirror.builders/post/21203</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21203</guid><dc:creator><![CDATA[alex84]]></dc:creator><pubDate>Fri, 05 May 2017 14:54:55 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Fri, 05 May 2017 14:38:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alex84" aria-label="Profile: alex84">@<bdi>alex84</bdi></a> Thank You,<br />
Now i have no mor Black Screen, but the Button dont work.<br />
I have a Pyton Script, this works.</p>
<p dir="auto">#<a href="http://Tagesschau.py" target="_blank" rel="noopener noreferrer nofollow ugc">Tagesschau.py</a><br />
import RPi.GPIO as GPIO<br />
import os<br />
import sys<br />
from subprocess import Popen</p>
<p dir="auto">GPIO.setmode(GPIO.BCM)</p>
<p dir="auto">GPIO.setup(5, <a href="http://GPIO.IN" target="_blank" rel="noopener noreferrer nofollow ugc">GPIO.IN</a>, pull_up_down=GPIO.PUD_UP)</p>
<p dir="auto">movie1 = (“<a href="http://media.tagesschau.de/video/100s/2017/0504/TV-100s-1840.webm.h264.mp4" target="_blank" rel="noopener noreferrer nofollow ugc">http://media.tagesschau.de/video/100s/2017/0504/TV-100s-1840.webm.h264.mp4</a>”)</p>
<p dir="auto">last_state1 = True<br />
last_state2 = True</p>
<p dir="auto">input_state1 = True<br />
input_state2 = True<br />
quit_video = True</p>
<p dir="auto">player = False</p>
<p dir="auto">while True:<br />
#Read states of inputs<br />
input_state1 = GPIO.input(5)</p>
<pre><code>#If GPIO(5) is shorted to Ground
if input_state1 != last_state1:
    if (player and not input_state1):
        os.system('killall omxplayer')
        omxc = Popen(['omxplayer', movie1])
        player = True
    elif not input_state1:
        omxc = Popen(['omxplayer', movie1])
        player = True

#If omxplayer is running and GIOP(5) are not shorted to Ground
elif (player and input_state1 and input_state2):
    os.system('killall omxplayer')
    player = False

#Set last_input states
last_state1 = input_state1
</code></pre>
<p dir="auto">Has anybody a working config and button config that he can post?</p>
]]></description><link>https://forum.magicmirror.builders/post/21200</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21200</guid><dc:creator><![CDATA[hirsnmirsn]]></dc:creator><pubDate>Fri, 05 May 2017 14:38:12 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Thu, 04 May 2017 19:34:14 GMT]]></title><description><![CDATA[<p dir="auto">Change into the MMM-Button folder and execute the following commands</p>
<p dir="auto">sudo npm install --save-dev electron-rebuild</p>
<p dir="auto">the</p>
<p dir="auto">./node_modules/.bin/electron-rebuild</p>
]]></description><link>https://forum.magicmirror.builders/post/21162</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21162</guid><dc:creator><![CDATA[alex84]]></dc:creator><pubDate>Thu, 04 May 2017 19:34:14 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Thu, 04 May 2017 16:17:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alex84" aria-label="Profile: alex84">@<bdi>alex84</bdi></a> yes</p>
<pre><code>	{
   			module: 'MMM-Button',
    		config: {
			//https://github.com/PtrBld/MMM-Button
			//https://developer.microsoft.com/de-de/windows/iot/win10/samples/PushButton.htm
			//pin GIPO 5 und Ground
			buttonPIN: '5',
		}
	},		
</code></pre>
<p dir="auto">but i have always the Black screen.</p>
]]></description><link>https://forum.magicmirror.builders/post/21151</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21151</guid><dc:creator><![CDATA[hirsnmirsn]]></dc:creator><pubDate>Thu, 04 May 2017 16:17:20 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Thu, 04 May 2017 16:09:40 GMT]]></title><description><![CDATA[<p dir="auto">there is missing a comma</p>
]]></description><link>https://forum.magicmirror.builders/post/21148</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21148</guid><dc:creator><![CDATA[alex84]]></dc:creator><pubDate>Thu, 04 May 2017 16:09:40 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Thu, 04 May 2017 16:08:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/alex84" aria-label="Profile: alex84">@<bdi>alex84</bdi></a> if i had the , behind the buttonPIN:5 ther is always the Black screen</p>
]]></description><link>https://forum.magicmirror.builders/post/21147</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21147</guid><dc:creator><![CDATA[hirsnmirsn]]></dc:creator><pubDate>Thu, 04 May 2017 16:08:29 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Thu, 04 May 2017 14:59:54 GMT]]></title><description><![CDATA[<p dir="auto">in the config.js there is a missing    ,    behind buttonPIN: ‘5’</p>
]]></description><link>https://forum.magicmirror.builders/post/21141</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21141</guid><dc:creator><![CDATA[alex84]]></dc:creator><pubDate>Thu, 04 May 2017 14:59:54 GMT</pubDate></item><item><title><![CDATA[Reply to Problem of running MMM-Podcast and MMM-Button on Thu, 04 May 2017 15:03:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
i have the same problem.</p>
<p dir="auto"><strong>my config.js looks like</strong></p>
<pre><code>{
       			module: 'MMM-Button',
        		config: {
				//https://github.com/PtrBld/MMM-Button
				//https://developer.microsoft.com/en-us/windows/iot/samples/pushbutton
				//pin GIPO 5 und Ground
				buttonPIN: '5'
			}
		},

{
      			module: 'MMM-Podcast',
       			position: 'middle_center',
        		config: {
          			feedurl: 'http://www.tagesschau.de/export/video-podcast/webm/tagesschau-in-100-sekunden/'
       		 	}
		},
</code></pre>
<p dir="auto"><strong>My button.js looks like</strong></p>
<pre><code>/* global Module */

/* Magic Mirror
 * Module: MMM-Button
 *
 * MIT Licensed.
 */

Module.register('MMM-Button',{	
	requiresVersion: "2.1.0",
	defaults: {
		buttonPIN: 5,
		//time in miliseconds before another button click is recognized
		clickDelay: 500,		
	},	
	// Override socket notification handler.
	socketNotificationReceived: function(notification, payload) {
		if (notification === "BUTTON_PRESSED"){
			this.sendNotification(notification, payload)
		}
	},	
	start: function() {
		this.sendSocketNotification('BUTTON_CONFIG', this.config);
		Log.info('Starting module: ' + this.name);
	}
});
</code></pre>
<p dir="auto">Can anybody help us?</p>
]]></description><link>https://forum.magicmirror.builders/post/21125</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/21125</guid><dc:creator><![CDATA[hirsnmirsn]]></dc:creator><pubDate>Thu, 04 May 2017 15:03:40 GMT</pubDate></item></channel></rss>