<?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[How to dynamically show/hide and configure other modules from my module?]]></title><description><![CDATA[<p dir="auto">How can I dynamically (via API calls)</p>
<ol>
<li>Show/hide other modules (pre-configured in config.js)</li>
<li>Change their configuration and apply configuration dynamically?</li>
</ol>
<p dir="auto">Case example:</p>
<p dir="auto">I would like to dynamically show the standard weather forecast module, and configure the module to show the forecast of a specific location which name or ID I would pass dynamically.</p>
]]></description><link>https://forum.magicmirror.builders/topic/5634/how-to-dynamically-show-hide-and-configure-other-modules-from-my-module</link><generator>RSS for Node</generator><lastBuildDate>Thu, 10 Sep 2026 14:16:48 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/5634.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Dec 2017 13:50:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to dynamically show/hide and configure other modules from my module? on Sun, 24 Dec 2017 00:42:08 GMT]]></title><description><![CDATA[<p dir="auto">Sounds like you want the configuration from a json instead of the config.js – because then you can change the content.<br />
Or json first and config.js as fallback (and default after that as the last fallback).<br />
So the weather module would have to read it’s config from that json and you can create a module that writes to this json something like <em>weather_source: “location”,</em> and triggers the weather module to reload.</p>
<p dir="auto">Interesting idea.</p>
<p dir="auto">EDIT: I found this module while looking for help with something similar:<br />
<a href="https://github.com/Jopyth/MMM-Remote-Control" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Jopyth/MMM-Remote-Control</a></p>
]]></description><link>https://forum.magicmirror.builders/post/32703</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/32703</guid><dc:creator><![CDATA[doubleT]]></dc:creator><pubDate>Sun, 24 Dec 2017 00:42:08 GMT</pubDate></item></channel></rss>