<?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[Send Notification from one module to another module]]></title><description><![CDATA[<p dir="auto">I have one module which collects user data from somewhere. Once the data is collected how can I send notification to another module.<br />
I can use MM.getModules().<br />
But then How can I send notification.</p>
<p dir="auto">In Simple terms: Notify module A from module B<br />
Thanks in advance</p>
]]></description><link>https://forum.magicmirror.builders/topic/1676/send-notification-from-one-module-to-another-module</link><generator>RSS for Node</generator><lastBuildDate>Sat, 12 Sep 2026 01:16:31 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1676.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Feb 2017 15:50:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Send Notification from one module to another module on Sat, 22 Jul 2017 12:16:08 GMT]]></title><description><![CDATA[<p dir="auto">It seemed the <code>sender</code> is now a object not only a string with several properties. Therefore this code snippet has changed a little by  <code>sender </code> to <code>sender.name</code>:</p>
<pre><code>notificationReceived: function(notification, payload, sender){
  if(notification === "NEW_STUFF" &amp;&amp; sender.name === "modula"){
    //handle the payload: {foo: "bar"}
  }
}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/25644</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/25644</guid><dc:creator><![CDATA[SvenSommer]]></dc:creator><pubDate>Sat, 22 Jul 2017 12:16:08 GMT</pubDate></item><item><title><![CDATA[Reply to Send Notification from one module to another module on Mon, 06 Feb 2017 16:44:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/edubey" aria-label="Profile: edubey">@<bdi>edubey</bdi></a> said in <a href="/post/13799">Send Notification from one module to another module</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/strawberry-3.141" aria-label="Profile: strawberry-3.141">@<bdi>strawberry-3.141</bdi></a></p>
<p dir="auto">Okay, so its more of a broadcast to all modules, not to any specific…right?</p>
</blockquote>
<p dir="auto">That’s right. This command sends out a broadcast to all modules. As long as you use a broadcast notification no other module reacts on you don’t have any trouble.</p>
]]></description><link>https://forum.magicmirror.builders/post/13800</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/13800</guid><dc:creator><![CDATA[yawns]]></dc:creator><pubDate>Mon, 06 Feb 2017 16:44:15 GMT</pubDate></item><item><title><![CDATA[Reply to Send Notification from one module to another module on Mon, 06 Feb 2017 16:41:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/strawberry-3.141" aria-label="Profile: strawberry-3.141">@<bdi>strawberry-3.141</bdi></a></p>
<p dir="auto">Okay, so its more of a broadcast to all modules, not to any specific…right?</p>
]]></description><link>https://forum.magicmirror.builders/post/13799</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/13799</guid><dc:creator><![CDATA[edubey]]></dc:creator><pubDate>Mon, 06 Feb 2017 16:41:54 GMT</pubDate></item><item><title><![CDATA[Reply to Send Notification from one module to another module on Mon, 06 Feb 2017 16:37:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/strawberry-3.141" aria-label="Profile: strawberry-3.141">@<bdi>strawberry-3.141</bdi></a><br />
Thanks, i got it</p>
]]></description><link>https://forum.magicmirror.builders/post/13797</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/13797</guid><dc:creator><![CDATA[edubey]]></dc:creator><pubDate>Mon, 06 Feb 2017 16:37:14 GMT</pubDate></item><item><title><![CDATA[Reply to Send Notification from one module to another module on Mon, 06 Feb 2017 16:01:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/edubey" aria-label="Profile: edubey">@<bdi>edubey</bdi></a><br />
modula</p>
<pre><code>this.sendNotification("NEW_STUFF", {foo: "bar"});
</code></pre>
<p dir="auto">modulb</p>
<pre><code>notificationReceived: function(notification, payload, sender){
  if(notification === "NEW_STUFF" &amp;&amp; sender === "modula"){
    //handle the payload: {foo: "bar"}
  }
}
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/13775</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/13775</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Mon, 06 Feb 2017 16:01:39 GMT</pubDate></item></channel></rss>