<?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[Multiple instances of MMM-DarkSkyForecast with MMM-pages]]></title><description><![CDATA[<p dir="auto">I have a 4" 800x480 screen, there’s not much real estate so I have MMM-pages set up. I want to have MMM-DarkSkyForecast on a few pages with different options, ie hourly forecast one page 1 and daily on page 2, and set MMM-pages auto scroll.</p>
<pre><code>{
  module: 'MMM-pages',
  config: { modules: [ ["calendar", "MMM-DarkSkyForecast"],
                        ["calendar", "MMM-DarkSkyForecast"] ],
            fixed: ["clock", "MMM-page-indicator"]}
          }
},
</code></pre>
<p dir="auto">I’ve tried to clone to a different folder and rename <code>MMM-DarkSkyForecast.js</code> to match</p>
<pre><code>...
   ["calendar", "MMM-dsf"],
...
</code></pre>
<p dir="auto">I have 2 configurations in <code>config.js</code> but in both instances the 2nd page doesn’t show the MMM-DarkSkyForecast module. Is what I’m trying to do possible?</p>
]]></description><link>https://forum.magicmirror.builders/topic/10228/multiple-instances-of-mmm-darkskyforecast-with-mmm-pages</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 00:51:34 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/10228.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 06 Apr 2019 16:04:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Tue, 09 Apr 2019 04:54:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popeofmope" aria-label="Profile: popeofmope">@<bdi>popeofmope</bdi></a></p>
<p dir="auto">OK…</p>
<p dir="auto">I think I got pretty close to what you are asking for…<br />
Page 1<br />
<img src="/assets/uploads/files/1554785454365-screenshot-60.png" alt="0_1554785446100_Screenshot (60).png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Page 2<br />
<img src="/assets/uploads/files/1554785473062-screenshot-61.png" alt="0_1554785469498_Screenshot (61).png" class=" img-fluid img-markdown" /></p>
<pre><code>modules: [{
            module: "alert",
        },
        {
            module: "updatenotification",
            position: "top_bar"
        },
        {
            module: 'MMM-Cursor',
            config: {
                timeout: 1000
            }
        },
        {
            module: 'MMM-pages',
            config: {
                modules: [
                    ["calendar", "MMM-DarkSkyForecast"],
                    ["calendar", "MMM-DarkSkyForecast2"]
                ],
                fixed: ["clock", "MMM-page-indicator"],
                animationTime: 1000,
                rotationTime: 3 * 60 * 1000, // this is to change the page every 3 minutes, 
                rotationDelay: 500
            }
        },
        {
            module: 'MMM-page-indicator',
            position: 'bottom_bar',
            config: {
                pages: 2
            }
        },
        {
            module: "clock",
            position: "top_center"
        },
        {
            module: "calendar",
            header: "Holidays",
            position: "top_left",
            config: {
                colored: true,
                coloredSymbolOnly: true,
                calendars: [{
                    url: 'https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics',
                    symbol: 'calendar',
                    auth: {
                        user: 'justjim1220@gmail.com',
                        pass: 'abcde12345',
                        method: 'basic'
                    }
                }, ],
            }
        },
        {
            disabled: false,
            module: "MMM-DarkSkyForecast", // HOURLY
            header: "Weather - Hourly Forecast",
            position: "top_right",
            config: {
                apikey: "abcde12345abcde12345abcde12345ab",
                latitude: "40.26189",
                longitude: "-94.03534",
                iconset: "4c",
                concise: false,
                showHourlyForecast: true,
                hourlyForecastInterval: 1,
                maxHourliesToShow: 6,
                showDailyForecast: false,
                maxDailiesToShow: 3,
                forecastLayout: "tiled"
            }
        },
        {
            disabled: false,
            module: "MMM-DarkSkyForecast2", // DAILY
            header: "Weather - Daily Forecast",
            position: "top_right",
            config: {
                apikey: "abcde12345abcde12345abcde12345ab",
                latitude: "40.26189",
                longitude: "-94.03534",
                iconset: "5c",
                concise: false,
                showHourlyForecast: false,
                hourlyForecastInterval: 3,
                maxHourliesToShow: 3,
                showDailyForecast: true,
                maxDailiesToShow: 6,
                forecastLayout: "tiled"
            }
        },
</code></pre>
<p dir="auto">I hope this helps! ;)</p>
]]></description><link>https://forum.magicmirror.builders/post/55656</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55656</guid><dc:creator><![CDATA[justjim1220]]></dc:creator><pubDate>Tue, 09 Apr 2019 04:54:03 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Mon, 23 Dec 2019 17:32:10 GMT]]></title><description><![CDATA[<p dir="auto">Thanks. But i think it dosnt work with this Module.</p>
]]></description><link>https://forum.magicmirror.builders/post/66479</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66479</guid><dc:creator><![CDATA[Clubjack]]></dc:creator><pubDate>Mon, 23 Dec 2019 17:32:10 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Mon, 23 Dec 2019 15:54:57 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clubjack" aria-label="Profile: Clubjack">@<bdi>Clubjack</bdi></a> if you use ‘cp’ then the file is really copied under a new name. The original file will still exist.<br />
If you use ‘mv’ then the file will be renamed, there will no copy of that file.</p>
<p dir="auto">Thus use ‘mv’ to rename the files. Otherwise you’ll have two .js files in your module.</p>
<p dir="auto">Edit: <a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> was 10 sec. quicker than me:face_with_tears_of_joy:</p>
]]></description><link>https://forum.magicmirror.builders/post/66451</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66451</guid><dc:creator><![CDATA[Fozi]]></dc:creator><pubDate>Mon, 23 Dec 2019 15:54:57 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Mon, 23 Dec 2019 15:53:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clubjack" aria-label="Profile: Clubjack">@<bdi>Clubjack</bdi></a> said in <a href="/post/66443">Multiple instances of MMM-DarkSkyForecast with MMM-pages</a>:</p>
<blockquote>
<p dir="auto">mv and not cp</p>
</blockquote>
<p dir="auto">correct…</p>
<p dir="auto">mv is the rename</p>
]]></description><link>https://forum.magicmirror.builders/post/66450</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66450</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 23 Dec 2019 15:53:48 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Mon, 23 Dec 2019 15:32:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fozi" aria-label="Profile: Fozi">@<bdi>Fozi</bdi></a><br />
Tryed your way, but get some issues with the modules. Is it right that i must use mv and not cp for the namechange from the. js?</p>
]]></description><link>https://forum.magicmirror.builders/post/66443</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66443</guid><dc:creator><![CDATA[Clubjack]]></dc:creator><pubDate>Mon, 23 Dec 2019 15:32:44 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Wed, 18 Dec 2019 19:25:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fozi" aria-label="Profile: Fozi">@<bdi>Fozi</bdi></a><br />
Thank You guy.<br />
I will test it at the weekend.<br />
That sounds good. 👍🏽</p>
]]></description><link>https://forum.magicmirror.builders/post/66181</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66181</guid><dc:creator><![CDATA[Clubjack]]></dc:creator><pubDate>Wed, 18 Dec 2019 19:25:09 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Wed, 18 Dec 2019 19:14:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/clubjack" aria-label="Profile: Clubjack">@<bdi>Clubjack</bdi></a> I had recently exactly the same issue with MMM-ioBroker, where I needed 2 instances of that module running. Finally, after some research I found the solution and documented in my private Wiki. Here is the documentation I wrote. After setting up that 2nd instance you can configure each instance separately and declare it in MMM-pages.<br />
Here we go:</p>
<p dir="auto"><strong>Problem</strong><br />
In some cases you may need to run 2 or more instances of the same module in MM, e.g. for public transportation. Some MMMs can then be put into config.js just on a different position and parameterized as needed. Unfortunatelly, not all MMMs support that.<br />
The reason is that all those instances will share the same node_helper and therefore get the same socketnotifications.</p>
<p dir="auto"><strong>Solution</strong><br />
To solve this problem you can try to duplicate the MMM with a different name and call it in the config.js. There is no guarantee that it works, but worth to try.</p>
<p dir="auto">Following steps have to be done:</p>
<ol>
<li>Go to the modules folder and copy the whole module with a different name (in this example I’ll refer to MMM-ioBroker)</li>
</ol>
<pre><code>$ cd ~/MagicMirror/modules
$ cp -a MMM-ioBroker/ MMM-ioBroker2
</code></pre>
<ol start="2">
<li>Go to ./MMM-ioBroker2 and change the .js of the module script accordingly</li>
</ol>
<pre><code>$ mv MMM-ioBroker.js MMM-ioBroker2.js
</code></pre>
<ol start="3">
<li>Edit in MMM-ioBroker2.js the string to</li>
</ol>
<pre><code>Module.register('MMM-ioBroker2', {
…
</code></pre>
<ol start="4">
<li>In some cases it might also be necessary to change the .css file name, too, incl. any reference to the instance name in the file.</li>
</ol>
<pre><code>$ mv MMM-ioBroker.css MMM-ioBroker2.css
</code></pre>
<p dir="auto">And then edit or replace all occurences of ‘MMM-ioBroker’ with ‘MMM-ioBroker2’ in MMM-ioBroker2.css.</p>
]]></description><link>https://forum.magicmirror.builders/post/66179</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66179</guid><dc:creator><![CDATA[Fozi]]></dc:creator><pubDate>Wed, 18 Dec 2019 19:14:33 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Wed, 18 Dec 2019 17:21:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justjim1220" aria-label="Profile: justjim1220">@<bdi>justjim1220</bdi></a><br />
I want Do this with different calendar on different pages.<br />
Can You Tell me, how You copy a module and rename it?</p>
]]></description><link>https://forum.magicmirror.builders/post/66168</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/66168</guid><dc:creator><![CDATA[Clubjack]]></dc:creator><pubDate>Wed, 18 Dec 2019 17:21:05 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Tue, 09 Apr 2019 17:57:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justjim1220" aria-label="Profile: justjim1220">@<bdi>justjim1220</bdi></a> Yes! This is what I was after! Thank you! Your repo, <a href="https://github.com/justjim1220/MMM-DarkSkyForecast2" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/justjim1220/MMM-DarkSkyForecast2</a>, doesn’t include the icons directory so I had to copy from <code>MMM-DarkSkyForecast</code>, symlink didn’t work.</p>
]]></description><link>https://forum.magicmirror.builders/post/55686</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55686</guid><dc:creator><![CDATA[popeofmope]]></dc:creator><pubDate>Tue, 09 Apr 2019 17:57:52 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Tue, 09 Apr 2019 04:54:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popeofmope" aria-label="Profile: popeofmope">@<bdi>popeofmope</bdi></a></p>
<p dir="auto">OK…</p>
<p dir="auto">I think I got pretty close to what you are asking for…<br />
Page 1<br />
<img src="/assets/uploads/files/1554785454365-screenshot-60.png" alt="0_1554785446100_Screenshot (60).png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Page 2<br />
<img src="/assets/uploads/files/1554785473062-screenshot-61.png" alt="0_1554785469498_Screenshot (61).png" class=" img-fluid img-markdown" /></p>
<pre><code>modules: [{
            module: "alert",
        },
        {
            module: "updatenotification",
            position: "top_bar"
        },
        {
            module: 'MMM-Cursor',
            config: {
                timeout: 1000
            }
        },
        {
            module: 'MMM-pages',
            config: {
                modules: [
                    ["calendar", "MMM-DarkSkyForecast"],
                    ["calendar", "MMM-DarkSkyForecast2"]
                ],
                fixed: ["clock", "MMM-page-indicator"],
                animationTime: 1000,
                rotationTime: 3 * 60 * 1000, // this is to change the page every 3 minutes, 
                rotationDelay: 500
            }
        },
        {
            module: 'MMM-page-indicator',
            position: 'bottom_bar',
            config: {
                pages: 2
            }
        },
        {
            module: "clock",
            position: "top_center"
        },
        {
            module: "calendar",
            header: "Holidays",
            position: "top_left",
            config: {
                colored: true,
                coloredSymbolOnly: true,
                calendars: [{
                    url: 'https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics',
                    symbol: 'calendar',
                    auth: {
                        user: 'justjim1220@gmail.com',
                        pass: 'abcde12345',
                        method: 'basic'
                    }
                }, ],
            }
        },
        {
            disabled: false,
            module: "MMM-DarkSkyForecast", // HOURLY
            header: "Weather - Hourly Forecast",
            position: "top_right",
            config: {
                apikey: "abcde12345abcde12345abcde12345ab",
                latitude: "40.26189",
                longitude: "-94.03534",
                iconset: "4c",
                concise: false,
                showHourlyForecast: true,
                hourlyForecastInterval: 1,
                maxHourliesToShow: 6,
                showDailyForecast: false,
                maxDailiesToShow: 3,
                forecastLayout: "tiled"
            }
        },
        {
            disabled: false,
            module: "MMM-DarkSkyForecast2", // DAILY
            header: "Weather - Daily Forecast",
            position: "top_right",
            config: {
                apikey: "abcde12345abcde12345abcde12345ab",
                latitude: "40.26189",
                longitude: "-94.03534",
                iconset: "5c",
                concise: false,
                showHourlyForecast: false,
                hourlyForecastInterval: 3,
                maxHourliesToShow: 3,
                showDailyForecast: true,
                maxDailiesToShow: 6,
                forecastLayout: "tiled"
            }
        },
</code></pre>
<p dir="auto">I hope this helps! ;)</p>
]]></description><link>https://forum.magicmirror.builders/post/55656</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55656</guid><dc:creator><![CDATA[justjim1220]]></dc:creator><pubDate>Tue, 09 Apr 2019 04:54:03 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Tue, 09 Apr 2019 03:31:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popeofmope" aria-label="Profile: popeofmope">@<bdi>popeofmope</bdi></a><br />
what time frame between rotations?<br />
You can also use <a href="https://github.com/edward-shen/MMM-page-indicator" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/edward-shen/MMM-page-indicator</a> to manually change the pages<br />
I use both so if I want to see a different page and not have to wait the 30 minutes between rotations, I can just click on the page indicator to show the page I want to see</p>
<p dir="auto">What you are asking is doable ;)</p>
]]></description><link>https://forum.magicmirror.builders/post/55654</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55654</guid><dc:creator><![CDATA[justjim1220]]></dc:creator><pubDate>Tue, 09 Apr 2019 03:31:53 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Tue, 09 Apr 2019 03:27:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justjim1220" aria-label="Profile: justjim1220">@<bdi>justjim1220</bdi></a> Since I have such small screen real estate I wanted page 1 to exactly mirror page 2 except for the hourly vs daily forecast display, and then have MMM-Pages auto rotate the pages. Seems this might not be possible…</p>
]]></description><link>https://forum.magicmirror.builders/post/55653</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55653</guid><dc:creator><![CDATA[popeofmope]]></dc:creator><pubDate>Tue, 09 Apr 2019 03:27:33 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Tue, 09 Apr 2019 03:37:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popeofmope" aria-label="Profile: popeofmope">@<bdi>popeofmope</bdi></a></p>
<p dir="auto">you need to add this to your pages module to get it to auto scroll:</p>
<pre><code>animationTime: 1000,
rotationTime: 30 * 60 * 1000,
rotationDelay: 500
</code></pre>
<p dir="auto">like so…</p>
<pre><code>{
  module: 'MMM-pages',
  config: {
    modules:
    [ 
      ["calendar", "MMM-DarkSkyForecast"],
      ["calendar", "MMM-DarkSkyForecast"]
    ],
      fixed: ["clock", "MMM-page-indicator"],
      animationTime: 1000,
      rotationTime: 30 * 60 * 1000, // this is to change the page every 30 minutes, 
      rotationDelay: 500
  }
},
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/55646</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55646</guid><dc:creator><![CDATA[justjim1220]]></dc:creator><pubDate>Tue, 09 Apr 2019 03:37:21 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Mon, 08 Apr 2019 23:55:32 GMT]]></title><description><![CDATA[<p dir="auto">he copied the model to a new name MMM-dsf</p>
<p dir="auto">and then put two modules into config… well… not sure… cause I don’t see the config info only the pages info</p>
<pre><code>{
  module: 'MMM-pages',
  config: { modules: [ ["calendar", "MMM-DarkSkyForecast"],
                        ["calendar", "MMM-dsf"] ],
            fixed: ["clock", "MMM-page-indicator"]}
          }
},
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/55645</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55645</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 08 Apr 2019 23:55:32 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Mon, 08 Apr 2019 23:25:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popeofmope" aria-label="Profile: popeofmope">@<bdi>popeofmope</bdi></a></p>
<p dir="auto">OK, sorry, I understand now…</p>
<p dir="auto">I am not too sure you can have more than one instance of that module shown on your MM at the same time. At least, I am not able to get it to work anyways.</p>
<p dir="auto">But, since you are wanting one to show the HOURLY and the other to show the DAILY, I would use MMM-darksky–hourly (<a href="https://github.com/jacquesCedric/MMM-darksky-hourly" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/jacquesCedric/MMM-darksky-hourly</a>), then set MMM-DarkSkyForecast to only show the DAILY.</p>
<p dir="auto">EDIT: you are able to show 2 different instances of MMM-DarkSkyForecast, using the following code in your config.js…</p>
<pre><code>{
            disabled: false,
            module: "MMM-DarkSkyForecast", // HOURLY
            header: "Weather",
            position: "top_right",
            config: {
                apikey: "Super_Secret_API",
                latitude: "40.26189",
                longitude: "-94.03534",
                iconset: "4c",
                concise: false,
                showHourlyForecast: true,
                hourlyForecastInterval: 3,
                maxHourliesToShow: 3,
                showDailyForecast: false,
                maxDailiesToShow: 3,
                forecastLayout: "tiled"
            }
        },
        {
            disabled: false,
            module: "MMM-DarkSkyForecast", // DAILY
            header: "Weather",
            position: "top_left",
            config: {
                apikey: "Super_Secret_API",
                latitude: "40.26189",
                longitude: "-94.03534",
                iconset: "5c",
                concise: false,
                showHourlyForecast: false,
                hourlyForecastInterval: 3,
                maxHourliesToShow: 3,
                showDailyForecast: true,
                maxDailiesToShow: 3,
                forecastLayout: "tiled"
            }
        },
</code></pre>
<p dir="auto">this is the result I have with it…<br />
<img src="/assets/uploads/files/1554765912113-screenshot-57.png" alt="0_1554765905870_Screenshot (57).png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/55641</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55641</guid><dc:creator><![CDATA[justjim1220]]></dc:creator><pubDate>Mon, 08 Apr 2019 23:25:21 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Mon, 08 Apr 2019 17:53:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popeofmope" aria-label="Profile: popeofmope">@<bdi>popeofmope</bdi></a> and u had a { module : …}, block for each instance, right?   so before  using pages, you should see two on the screen</p>
]]></description><link>https://forum.magicmirror.builders/post/55614</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55614</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 08 Apr 2019 17:53:15 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Mon, 08 Apr 2019 17:41:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/justjim1220" aria-label="Profile: justjim1220">@<bdi>justjim1220</bdi></a><br />
I’m trying to get 2 instances of <code>MMM-DarkSkyForecast</code> on 2 separate pages. Page 1 would display hourly forecast, page 2 would show daily forecast.</p>
<p dir="auto">I tried to clone a 2nd copy of the module to a separate folder <code>../modules/MMM-dsf</code> and then rename the <code>../MMM-dsf/MMM-DarkSkyForecast.js</code> to <code>../MMM-dsf/MMM-dsf.js</code> and then configure the pages module as follows</p>
<pre><code>{
  module: 'MMM-pages',
  config: { modules: [ ["calendar", "MMM-DarkSkyForecast"],
                        ["calendar", "MMM-dsf"] ],
            fixed: ["clock", "MMM-page-indicator"]}
          }
},
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/55613</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55613</guid><dc:creator><![CDATA[popeofmope]]></dc:creator><pubDate>Mon, 08 Apr 2019 17:41:26 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple instances of MMM-DarkSkyForecast with MMM-pages on Sun, 07 Apr 2019 18:53:25 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/popeofmope" aria-label="Profile: popeofmope">@<bdi>popeofmope</bdi></a></p>
<p dir="auto">you have both modules (calendar &amp; DarkSkyForecast) on both pages…</p>
<p dir="auto">try it like this:</p>
<pre><code>{
    module: 'MMM-pages',
    config: {
        modules: [ 
            ["calendar"],
            ["MMM-DarkSkyForecast"]
        ],
        fixed: ["clock", "MMM-page-indicator"]
    }
},
</code></pre>
<p dir="auto">hope this helps</p>
]]></description><link>https://forum.magicmirror.builders/post/55553</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/55553</guid><dc:creator><![CDATA[justjim1220]]></dc:creator><pubDate>Sun, 07 Apr 2019 18:53:25 GMT</pubDate></item></channel></rss>