<?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[Different URLS to different configs]]></title><description><![CDATA[<p dir="auto">Just wondering if it is possible to have a different URL on the local host to load a different config?</p>
<p dir="auto">i.e. <a href="http://192.168.1.101:8080/" target="_blank" rel="noopener noreferrer nofollow ugc">http://192.168.1.101:8080/</a> points to my default, config, and is loaded on MM dedicated portrait screen.</p>
<p dir="auto">But, <a href="http://192.168.1.101:8080/browser.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://192.168.1.101:8080/browser.html</a> points to a different layout optimised for a landscaped screen.</p>
<p dir="auto">And <a href="http://192.168.1.101:8080/ios.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://192.168.1.101:8080/ios.html</a> points to a different layout optimised for a phone screen.</p>
<p dir="auto">I would want them all loading the same modules (ish), but display them differently</p>
]]></description><link>https://forum.magicmirror.builders/topic/17919/different-urls-to-different-configs</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 02:33:03 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17919.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 20 Jul 2023 11:19:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Different URLS to different configs on Fri, 28 Jul 2023 13:13:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitling2k" aria-label="Profile: Whitling2k">@<bdi>Whitling2k</bdi></a> depends on the modules. most of the time is spent waiting for data.</p>
<p dir="auto">responsive</p>
<p dir="auto">if you were building separate urls, its the same work.</p>
<p dir="auto">use variables and calc at the beginning…see main.css</p>
]]></description><link>https://forum.magicmirror.builders/post/110417</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110417</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 28 Jul 2023 13:13:58 GMT</pubDate></item><item><title><![CDATA[Reply to Different URLS to different configs on Fri, 28 Jul 2023 13:09:10 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">What sort of system resources would two instances consume?  I’m running on a Pi 4b, that’s also being used as a local web server and weather station.   So critical functions - would two instances of MM cause high cpu/memory usage?</p>
<p dir="auto">I think the time it would take me to learn enough CSS to build responsive pages for my 4/5 devices would exceed my current free time :-D</p>
<p dir="auto">Cheers again!</p>
]]></description><link>https://forum.magicmirror.builders/post/110415</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110415</guid><dc:creator><![CDATA[Whitling2k]]></dc:creator><pubDate>Fri, 28 Jul 2023 13:09:10 GMT</pubDate></item><item><title><![CDATA[Reply to Different URLS to different configs on Thu, 20 Jul 2023 11:40:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/whitling2k" aria-label="Profile: Whitling2k">@<bdi>Whitling2k</bdi></a> currently no.</p>
<p dir="auto">but you could run multiple instance w different configs from the same files. using the<br />
environment variable</p>
<p dir="auto">MM_CONFIG_FILE=/user/pi/MagicMirror/config/config.js<br />
you can also use environment variable for port<br />
MM_PORT=8080</p>
<p dir="auto">note that css can detect size, orientation and vendor</p>
<p dir="auto">if width is less than height, then in portrait mode</p>
<p dir="auto">so you could have a customized custom.css that would do all that</p>
]]></description><link>https://forum.magicmirror.builders/post/110315</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/110315</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 20 Jul 2023 11:40:55 GMT</pubDate></item></channel></rss>