<?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[MM on Pi Zero creates some wierd issues. Wrong font, and modules not showing.]]></title><description><![CDATA[<p dir="auto">So I managed to get MagicMirror on a Pi zero, following <a href="http://emmanuelcontreras.com/how-to/how-to-create-a-magic-mirror-2-with-pi-zero-w/" target="_blank" rel="noopener noreferrer nofollow ugc">these instructions</a>. However, I have some problems. I’ll start with the simplest.<br />
The font isn’t Roboto, I think maybe the font doesn’t work on Pi Zero? I’m not used to not having a GUI, so I don’t know how to fix it.<br />
<img src="/assets/uploads/files/1514672016294-81fc1e98-d2cb-4f64-b98a-3643ea9cae09-image.png" alt="0_1514672016003_81fc1e98-d2cb-4f64-b98a-3643ea9cae09-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">Second problem is modules not showing. Only the default modules work. I found <a href="https://github.com/MichMich/MagicMirror/issues/694" target="_blank" rel="noopener noreferrer nofollow ugc">this</a>. But I have no idea if it is related. If it is, how can I fix it? The module I want is <a href="https://github.com/YR/MMM-YrNow" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/YR/MMM-YrNow</a></p>
]]></description><link>https://forum.magicmirror.builders/topic/6024/mm-on-pi-zero-creates-some-wierd-issues-wrong-font-and-modules-not-showing</link><generator>RSS for Node</generator><lastBuildDate>Sat, 06 Jun 2026 20:30:06 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/6024.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 30 Dec 2017 22:16:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MM on Pi Zero creates some wierd issues. Wrong font, and modules not showing. on Mon, 01 Jan 2018 13:11:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/17saiiqb" aria-label="Profile: 17saiiqb">@<bdi>17saiiqb</bdi></a> <a href="https://github.com/YR/MMM-YrNow/blob/master/MMM-YrNow.js#L57" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/YR/MMM-YrNow/blob/master/MMM-YrNow.js#L57</a><br />
and <a href="https://github.com/YR/MMM-YrNow/blob/master/MMM-YrNow.js#L62" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/YR/MMM-YrNow/blob/master/MMM-YrNow.js#L62</a> use arrow functions, which could be replaced with normal functions as the scope isn’t used in the function anyways.</p>
<pre><code>return this.list.points.filter(function(item) { 
  item.precipitation.intensity &gt; 0 &amp;&amp; Date.parse(item.time) &gt;= new Date().valueOf()})[0];
</code></pre>
<pre><code>return this.list.points.filter(function(item) { 
  item.precipitation.intensity === 0 &amp;&amp; Date.parse(item.time) &gt;= new Date().valueOf()})[0];
</code></pre>
<p dir="auto"><a href="https://github.com/YR/MMM-YrNow/blob/master/printf.js#L14" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/YR/MMM-YrNow/blob/master/printf.js#L14</a></p>
<p dir="auto"><code>return String(str).replace(RE_PRINTF, function(token) {</code></p>
<p dir="auto">not sure if … was also introduced in es6 or before <a href="https://github.com/YR/MMM-YrNow/blob/master/printf.js#L10" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/YR/MMM-YrNow/blob/master/printf.js#L10</a></p>
]]></description><link>https://forum.magicmirror.builders/post/33102</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33102</guid><dc:creator><![CDATA[strawberry 3.141]]></dc:creator><pubDate>Mon, 01 Jan 2018 13:11:12 GMT</pubDate></item><item><title><![CDATA[Reply to MM on Pi Zero creates some wierd issues. Wrong font, and modules not showing. on Mon, 01 Jan 2018 11:19:59 GMT]]></title><description><![CDATA[<p dir="auto">Update: I managed to fix the font problem. It wasn’t installed by npm install for some reason. So I updated npm, and ran npm install, and it worked!</p>
<p dir="auto">I still can’t figure out the module thing though, can someone please help?</p>
]]></description><link>https://forum.magicmirror.builders/post/33096</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/33096</guid><dc:creator><![CDATA[17saiiqb]]></dc:creator><pubDate>Mon, 01 Jan 2018 11:19:59 GMT</pubDate></item></channel></rss>