<?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[Communication between webserver and MM]]></title><description><![CDATA[<p dir="auto">Hi, I want to create a communication between the server.js and the main.js .  I send a http get request to the server, and it needs to send a message to the MM to, for instance, hide a module.</p>
<p dir="auto">I’ve tried with IPC (ipcMain, ipcRenderer), but every time there seems to be something wrong.  Undefined variables or non-existing methods.</p>
<p dir="auto">Can some one assist?</p>
<p dir="auto">thanks!</p>
]]></description><link>https://forum.magicmirror.builders/topic/1474/communication-between-webserver-and-mm</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 07:24:02 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/1474.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Jan 2017 22:34:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Communication between webserver and MM on Sun, 22 Jan 2017 12:34:13 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 />
Indeed, that’s what I realized after browsing through the syslog code.  Kudo’s!</p>
]]></description><link>https://forum.magicmirror.builders/post/12012</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12012</guid><dc:creator><![CDATA[bartalluyn]]></dc:creator><pubDate>Sun, 22 Jan 2017 12:34:13 GMT</pubDate></item><item><title><![CDATA[Reply to Communication between webserver and MM on Sun, 22 Jan 2017 12:17:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bartalluyn" aria-label="Profile: bartalluyn">@<bdi>bartalluyn</bdi></a> thats what i meant in first place</p>
]]></description><link>https://forum.magicmirror.builders/post/12011</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12011</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Sun, 22 Jan 2017 12:17:59 GMT</pubDate></item><item><title><![CDATA[Reply to Communication between webserver and MM on Sun, 22 Jan 2017 12:10:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi there,<br />
I’ve been playing around, and changed the solution to the MMM-syslog alternative.<br />
Check it out in my blogpost:<br />
[<a href="https://smartmirrorprojectblog.wordpress.com/2017/01/22/an-alternative-custom-module/" target="_blank" rel="noopener noreferrer nofollow ugc">https://smartmirrorprojectblog.wordpress.com/2017/01/22/an-alternative-custom-module/</a>](link url)</p>
<p dir="auto">Thanks again for the pointer!</p>
]]></description><link>https://forum.magicmirror.builders/post/12009</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/12009</guid><dc:creator><![CDATA[bartalluyn]]></dc:creator><pubDate>Sun, 22 Jan 2017 12:10:54 GMT</pubDate></item><item><title><![CDATA[Reply to Communication between webserver and MM on Sun, 22 Jan 2017 09:05:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/broberg" aria-label="Profile: broberg">@<bdi>broberg</bdi></a></p>
<p dir="auto">thank you very much for pointing this out to me.  Looking at the code that might indeed be a viable alternative.<br />
I’m going to check it out, and post an article to my blog with my findings.</p>
]]></description><link>https://forum.magicmirror.builders/post/11975</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/11975</guid><dc:creator><![CDATA[bartalluyn]]></dc:creator><pubDate>Sun, 22 Jan 2017 09:05:38 GMT</pubDate></item><item><title><![CDATA[Reply to Communication between webserver and MM on Sat, 21 Jan 2017 17:21:12 GMT]]></title><description><![CDATA[<p dir="auto">I’m no where near a coder so disregard this If I don’t get it, but after some fast reading of your blog post, it sounds like you should be able to use the code from [card:paviro/MMM-syslog]</p>
<p dir="auto">to take commands from HTTP, the syslog module takes information from a string like this : http://MIRROR_IP:MIRROR_PORT/syslog?type=INFO&amp;message=YOUR_MESSAGE</p>
]]></description><link>https://forum.magicmirror.builders/post/11896</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/11896</guid><dc:creator><![CDATA[broberg]]></dc:creator><pubDate>Sat, 21 Jan 2017 17:21:12 GMT</pubDate></item><item><title><![CDATA[Reply to Communication between webserver and MM on Sat, 21 Jan 2017 16:50:17 GMT]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/1474/communication-between-webserver-and-mm">Communication between webserver and MM</a></p>
<p dir="auto">Hi strawberry,<br />
many thanks for your reply.</p>
<p dir="auto">I’ve been playing around.  A lot.  And I’ve come to a solution.<br />
The reason why I want to adjust the core is because I want to be able to control the entire mirror from another application.  Whether it be a desktop application, another background process, and even Alexa Voice Services.  The easiest way to do this is via HTTP I think, certainly because those processes could be running on other machines.  I’ve succeeded in creating a system to do this.  You can read all about in on my blog.</p>
<p dir="auto">[<a href="https://smartmirrorprojectblog.wordpress.com/2017/01/21/letting-the-electron-server-speak-to-the-mirror-client/" target="_blank" rel="noopener noreferrer nofollow ugc">https://smartmirrorprojectblog.wordpress.com/2017/01/21/letting-the-electron-server-speak-to-the-mirror-client/</a>](link url)</p>
<p dir="auto">Thanks again!</p>
]]></description><link>https://forum.magicmirror.builders/post/11892</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/11892</guid><dc:creator><![CDATA[bartalluyn]]></dc:creator><pubDate>Sat, 21 Jan 2017 16:50:17 GMT</pubDate></item><item><title><![CDATA[Reply to Communication between webserver and MM on Sat, 21 Jan 2017 12:44:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bartalluyn" aria-label="Profile: bartalluyn">@<bdi>bartalluyn</bdi></a> you can extend the server in a module and there you also can perform tasks like hide other modules, there is no need to change the core for it</p>
]]></description><link>https://forum.magicmirror.builders/post/11856</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/11856</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Sat, 21 Jan 2017 12:44:40 GMT</pubDate></item></channel></rss>