<?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[Magic mirror serving multiple clients]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have a server running a Debian virtual machine that I am currently running in server only mode. I have 3 devices connecting to this through the browser, but obviously it would be nice to have different displays on each mirror. How can I configure the server to serve multiple configurations, presumably a different port for each instance. I need some help configuring the client to have at least 3 different connections open for my various clients. Is this possible, has anyone had experience with this before?</p>
]]></description><link>https://forum.magicmirror.builders/topic/6723/magic-mirror-serving-multiple-clients</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 22:46:03 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/6723.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 05 Mar 2018 23:56:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Mon, 19 Mar 2018 10:47:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/serge-cherpy" aria-label="Profile: serge-cherpy">@<bdi>serge-cherpy</bdi></a> the only way to do this would be to set up a pi as a master and the rest as slaves…ie</p>
<p dir="auto">one pi running your main mirror at [for example] 192.168.1.2:8080 [master]<br />
Then running another pi and opening up a browser to 192.168.1.2:8080 [slave]</p>
<p dir="auto">Is one way to do it.  I don’t do it that way because all my mirrors do different things and have different purposes.</p>
<p dir="auto">Bathroom mirror is an actual mirror<br />
alarm clock mirror is a 10" touch panel that functions as an alarm clock<br />
32" inch mirror is a home automation mirror</p>
<p dir="auto">But the above method master-&gt;slave would work providing you have them all on the same network… if you wanted to run master on one network and the slave on another that would take more work :)</p>
]]></description><link>https://forum.magicmirror.builders/post/37193</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/37193</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Mon, 19 Mar 2018 10:47:31 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Sun, 18 Mar 2018 23:20:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cowboysdude" aria-label="Profile: cowboysdude">@<bdi>cowboysdude</bdi></a></p>
<p dir="auto">Bonjour avec mon Français je voudrait savoir si vous avez réussi a conclure le multiple clients sur un pi, peut on échanger des informations pour que je reproduise le mème serveur sur deux poste client Merci               Serge</p>
]]></description><link>https://forum.magicmirror.builders/post/37185</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/37185</guid><dc:creator><![CDATA[serge cherpy]]></dc:creator><pubDate>Sun, 18 Mar 2018 23:20:27 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Wed, 07 Mar 2018 12:35:44 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> Thank you!   <a class="plugin-mentions-user plugin-mentions-a" href="/user/zack949" aria-label="Profile: zack949">@<bdi>zack949</bdi></a> there’s a way to run one as master and others as slave… look at the response from strawberry :)</p>
]]></description><link>https://forum.magicmirror.builders/post/36692</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36692</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Wed, 07 Mar 2018 12:35:44 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Wed, 07 Mar 2018 06:42:43 GMT]]></title><description><![CDATA[<p dir="auto">This sound cool. But your need depends on how you want to interact with multiple instaces.</p>
<ul>
<li>One master MM with multiple <strong>non-interactive</strong> slaves:
<ul>
<li>Just open browser on new device and point to master MM IP, and expand to full-screen</li>
</ul>
</li>
<li>One master MM with multiple, one-at-the-time <strong>interactive</strong> slaves:
<ol>
<li>Need some hardware hacking: try to find a way to connect several PIR, microphone to multiple monitors, could be over cable, wifi or bluetooth. (Seem hard and ugly to implement)</li>
<li>Implement some kind of HDMI switching mechanism</li>
</ol>
</li>
<li>One master MM with multiple, all-independent <strong>interactive</strong> slaves:
<ul>
<li>Do what’s described above with using <code>mm1,mm2,mm3,...</code>. This surely would eventually overload a RPi, as you add different and concurrent modules.</li>
</ul>
</li>
</ul>
]]></description><link>https://forum.magicmirror.builders/post/36684</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36684</guid><dc:creator><![CDATA[E3V3A]]></dc:creator><pubDate>Wed, 07 Mar 2018 06:42:43 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Wed, 07 Mar 2018 06:24:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cowboysdude" aria-label="Profile: cowboysdude">@<bdi>cowboysdude</bdi></a> take a look at <a href="https://github.com/fewieden/MMM-syslog-slave" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/fewieden/MMM-syslog-slave</a> thats the only thing were I connected multiple instances</p>
]]></description><link>https://forum.magicmirror.builders/post/36683</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36683</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Wed, 07 Mar 2018 06:24:41 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Wed, 07 Mar 2018 02:34:34 GMT]]></title><description><![CDATA[<p dir="auto">@strawberry 3.141 didn’t you help someone accomplish this?  I would LOVE to do this so my big mirror and bathroom mirror are both running the same thing… ;)</p>
]]></description><link>https://forum.magicmirror.builders/post/36677</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36677</guid><dc:creator><![CDATA[cowboysdude]]></dc:creator><pubDate>Wed, 07 Mar 2018 02:34:34 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Tue, 06 Mar 2018 21:55:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zack949" aria-label="Profile: zack949">@<bdi>zack949</bdi></a> Not of which I’m aware. Most dev effort is spent on the display/features end. It would also have to track the config options for dozens of regularly changing modules, which presents its own challenges.</p>
<p dir="auto">I recommend using a syntax-highlighting code editor, like (the free) <a href="https://atom.io/" target="_blank" rel="noopener noreferrer nofollow ugc">Atom</a>. It will help with closing brackets/braces, and using the proper quotes. You can also run “Atom Beautify” in “Packages” regularly to keep formatting for legibility.</p>
]]></description><link>https://forum.magicmirror.builders/post/36670</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36670</guid><dc:creator><![CDATA[ninjabreadman]]></dc:creator><pubDate>Tue, 06 Mar 2018 21:55:00 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Tue, 06 Mar 2018 21:34:13 GMT]]></title><description><![CDATA[<p dir="auto">Is there currently any development to make a GUI for better visualizing config.js changes?</p>
]]></description><link>https://forum.magicmirror.builders/post/36665</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36665</guid><dc:creator><![CDATA[zack949]]></dc:creator><pubDate>Tue, 06 Mar 2018 21:34:13 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Tue, 06 Mar 2018 19:57:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zack949" aria-label="Profile: zack949">@<bdi>zack949</bdi></a> I suggest you register <code>mm1.sh</code>, <code>mm2.sh</code> and <code>mm3.sh</code> with <code>pm2</code> (per manual install guide). I would then also create a <code>mm-start.sh</code> that runs <code>pm2 start mm1 &amp;&amp; pm2 start mm2 &amp;&amp; pm2 start mm3</code> and likewise for <code>stop</code>. You might even create an <code>mm.sh</code> that just sends the following command (e.g. <code>mm.sh start</code>) for all three MM instances managed by <code>pm2</code>, but that will require some bash scripting.</p>
]]></description><link>https://forum.magicmirror.builders/post/36657</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36657</guid><dc:creator><![CDATA[ninjabreadman]]></dc:creator><pubDate>Tue, 06 Mar 2018 19:57:56 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Tue, 06 Mar 2018 13:54:59 GMT]]></title><description><![CDATA[<p dir="auto">What <a class="plugin-mentions-user plugin-mentions-a" href="/user/ninjabreadman" aria-label="Profile: ninjabreadman">@<bdi>ninjabreadman</bdi></a> suggested worked wonderfully and could act as a long term solution. A gui could make the whole process of managing instances easier.</p>
]]></description><link>https://forum.magicmirror.builders/post/36644</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36644</guid><dc:creator><![CDATA[zack949]]></dc:creator><pubDate>Tue, 06 Mar 2018 13:54:59 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Tue, 06 Mar 2018 09:12:47 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zack949" aria-label="Profile: zack949">@<bdi>zack949</bdi></a>, could you report back after you got it solved? I think this is an interesting use case, which might be relevant for more people.</p>
<p dir="auto">If you start your mirror with <code>pm2</code> as suggested in <a href="https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror" target="_blank" rel="noopener noreferrer nofollow ugc">documentation</a>, then you can use commands like <code>pm2 stop mm</code>, <code>pm2 restart mm</code>, <code>pm2 start mm</code> to control your mirror.</p>
<p dir="auto">I would make three different start scripts, e.g. <code>mm1.sh</code>, <code>mm2.sh</code>, and <code>mm3.sh</code>, where each one starts one specific instance. This is in line with <a class="plugin-mentions-user plugin-mentions-a" href="/user/ninjabreadman" aria-label="Profile: ninjabreadman">@<bdi>ninjabreadman</bdi></a>’s suggestion to have three install directories.</p>
]]></description><link>https://forum.magicmirror.builders/post/36638</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36638</guid><dc:creator><![CDATA[pinsdorf]]></dc:creator><pubDate>Tue, 06 Mar 2018 09:12:47 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Tue, 06 Mar 2018 01:23:14 GMT]]></title><description><![CDATA[<p dir="auto">I will look into that, is there a place where I can find a list of available commands for server controls. For example how do I stop the server once I start it? I do not have much in the way of experience for this and would appreciate any help you can give me.</p>
]]></description><link>https://forum.magicmirror.builders/post/36634</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36634</guid><dc:creator><![CDATA[zack949]]></dc:creator><pubDate>Tue, 06 Mar 2018 01:23:14 GMT</pubDate></item><item><title><![CDATA[Reply to Magic mirror serving multiple clients on Tue, 06 Mar 2018 01:03:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zack949" aria-label="Profile: zack949">@<bdi>zack949</bdi></a> I think you’ll need to run three separate instances, but should be straightforward. You’ll want three installs (e.g. <code>~/MagicMirror1</code>, <code>~/MagicMirror2</code>, etc.). Suggest you install/build MM, then just copy the directory twice with all the dependencies. You’ll need to set each up on its own port to avoid collisions.</p>
<p dir="auto">Interesting idea to permit multiple server instances from a single install, but I think it would become confusing for many. The single server/client does satisfy the vast majority of use cases atm.</p>
]]></description><link>https://forum.magicmirror.builders/post/36629</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/36629</guid><dc:creator><![CDATA[ninjabreadman]]></dc:creator><pubDate>Tue, 06 Mar 2018 01:03:27 GMT</pubDate></item></channel></rss>