<?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[Config editing]]></title><description><![CDATA[<p dir="auto">I am having a hell of a time trying to figure out how to edit the config file. I can open it, i can add text, i can reposition the text but nothing works for me. Would anyone be willing to help walk me through one module?</p>
]]></description><link>https://forum.magicmirror.builders/topic/17375/config-editing</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 04:25:42 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17375.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 Nov 2022 16:49:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Config editing on Sun, 20 Nov 2022 10:44:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zerocool" aria-label="Profile: ZeroCool">@<bdi>ZeroCool</bdi></a> Another thing to keep in mind is the type of the value. Text types must start and end with <code>"</code>, whilst boolean values (<code>true</code>/<code>false</code>) and numbers should not.</p>
<p dir="auto">A small example:</p>
<pre><code class="language-json">{
    module: "weather",
    position: "top_right",
    config: {
      type: "current",
      updateInterval: 600000,
      useBeaufort: false
}
</code></pre>
<p dir="auto">Maybe we should add a type-column to the default modules documentation.</p>
]]></description><link>https://forum.magicmirror.builders/post/105927</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105927</guid><dc:creator><![CDATA[magmar]]></dc:creator><pubDate>Sun, 20 Nov 2022 10:44:38 GMT</pubDate></item><item><title><![CDATA[Reply to Config editing on Sat, 19 Nov 2022 13:13:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bkeyport" aria-label="Profile: BKeyport">@<bdi>BKeyport</bdi></a> nice touch on the do not change below marker…</p>
<p dir="auto">also for remote editing</p>
<p dir="auto">either WinScp or Bitvise provide  ssh clients that present both the command line terminal window AND a graphical file manager view of the pi.  (these are both Windows apps) , on Linux you can use the caja file browser to access remotes via different protocols)</p>
<p dir="auto">this allows you to click to navigate the pi filesystem and double click to edit the file selected.</p>
<p dir="auto">on my windows box I use Notepad++, great brace({}) and bracket ([]) matching<br />
on linux I use Sublime-text… nearest  to notepad++<br />
multiple files, remembers what you were editing when closed and restarted (including across reboots) …</p>
<p dir="auto">Visual studio is also another good editor with similar features</p>
]]></description><link>https://forum.magicmirror.builders/post/105895</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105895</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Sat, 19 Nov 2022 13:13:39 GMT</pubDate></item><item><title><![CDATA[Reply to Config editing on Fri, 18 Nov 2022 12:38:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zerocool" aria-label="Profile: ZeroCool">@<bdi>ZeroCool</bdi></a> you can try my MMM-Config module, which creates a form to use for managing config.js</p>
<p dir="auto"><a href="https://github.com/sdetweil/MMM-Config" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/sdetweil/MMM-Config</a></p>
]]></description><link>https://forum.magicmirror.builders/post/105885</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105885</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 18 Nov 2022 12:38:21 GMT</pubDate></item><item><title><![CDATA[Reply to Config editing on Thu, 17 Nov 2022 20:08:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zerocool" aria-label="Profile: ZeroCool">@<bdi>ZeroCool</bdi></a></p>
<p dir="auto">Keep in mind that many modules have invalid samples. They’re all assuming you’re running one module.</p>
<p dir="auto">Basic structure of the modules section:</p>
<pre><code>	modules: [
		{
			module: 'modulename',  // comment
			position: 'position',
			config: {
				key: value,
                        },
		},
               {
...
              }.
/*************** DO NOT EDIT BELOW ***************/
	]
};

if (typeof module !== "undefined") {module.exports = config;}
</code></pre>
<p dir="auto">Notice I’ve moved the do not edit line. This is to make it easier for me to find the end.</p>
<p dir="auto">Important points:<br />
once you think you’re ready, run “npm run config:check” in your MagicMirror directory. This will check the config. Any errors will be listed, one by one.</p>
<p dir="auto">If you copy and paste from a <a href="http://README.md" target="_blank" rel="noopener noreferrer nofollow ugc">README.md</a> file, do so from the bracket “{” directly above the keyword “module” to the bracket “}” that matches it vertically. Make sure to add a comma to the closing bracket “},” if it’s not the last module in the list. A graphical editor, such as Geany, is useful for this.</p>
<p dir="auto">You can set up drive sharing (SAMBA) to another computer, so you can have the editor up and see the changes right away. Again, Geany is recommended.</p>
<p dir="auto">Feel free to ask direct questions, like “it’s reporting unexpected comma on line XX.” and post the relevant code. Make sure to use the code &lt;/&gt; button above to paste the code.</p>
]]></description><link>https://forum.magicmirror.builders/post/105878</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105878</guid><dc:creator><![CDATA[BKeyport]]></dc:creator><pubDate>Thu, 17 Nov 2022 20:08:29 GMT</pubDate></item><item><title><![CDATA[Reply to Config editing on Thu, 17 Nov 2022 17:08:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zerocool" aria-label="Profile: ZeroCool">@<bdi>ZeroCool</bdi></a> see the topics in my signature below, they will help.</p>
<p dir="auto">a module is</p>
<pre><code>{
     module:
      position:
      config:{
         ... 
       }
},
</code></pre>
<p dir="auto">notice the trailing comma.</p>
<p dir="auto">missing trailing commas are fatal, too.many is not</p>
]]></description><link>https://forum.magicmirror.builders/post/105874</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/105874</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Thu, 17 Nov 2022 17:08:34 GMT</pubDate></item></channel></rss>