<?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[MMM-Netatmo does not load]]></title><description><![CDATA[<p dir="auto">I’m running nodejs v20.8.1 on Ubuntu 22.04 and most MagicMirror modules run fine, except for <a href="https://github.com/CFenner/MMM-Netatmo" target="_blank" rel="noopener noreferrer nofollow ugc">MMM-Netatmo</a>. It seems to get stuck when fetch-ing the oauth2/token-request, though it receives a response with status 200, but then nothing seems to happen!?<br />
When I manually post the same request using curl from the command line, it works great and I get my access token, which I successfully can use using curl to get my api/getstationdata.<br />
The last thing I’m able to debug into is in the node-fetch’s worker.js file:</p>
<pre><code>process.stdin.on('end', function () {
  const input = JSON.parse(chunks.join(''))
  const request = shared.deserializeRequest(fetch, ...input)

  fetch(request)
    .then(response =&gt; response.buffer()
      .then(buffer =&gt; respond([
        buffer.toString('base64'),
        shared.serializeResponse(response)
      ]))

</code></pre>
<p dir="auto">I can see that shared is updated with at response-header, however, I cannot see the response-body data that is supposed to contain the access-token among other things. And, for me, not being a nodejs/javascript programmer, the app seems to hang with the only thing being shown in the MMM-Netatmo widget is “Loading” forever.</p>
<p dir="auto">What could be causing my problems?</p>
<p dir="auto">Of course, I have triple checked that my config settings are correct:</p>
<pre><code>{
    module: 'netatmo',
    position: 'top_center', 
    header: 'Netatmo',
    config: {
        clientId: 'xxx',
        clientSecret: 'yyy', 
        refresh_token: 'zzz', 
        moduleOrder: ["Inomhus","Utomhus"]
    }
}
</code></pre>
<p dir="auto">Regards,<br />
/Tommy</p>
]]></description><link>https://forum.magicmirror.builders/topic/18112/mmm-netatmo-does-not-load</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Jul 2026 09:48:08 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/18112.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 22 Oct 2023 16:54:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MMM-Netatmo does not load on Fri, 03 Jan 2025 18:05:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">No no, my module is working fine.</p>
<p dir="auto">Just wanted to let you know that it works because some users have previously reported issues.</p>
]]></description><link>https://forum.magicmirror.builders/post/122518</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/122518</guid><dc:creator><![CDATA[princemaxwell]]></dc:creator><pubDate>Fri, 03 Jan 2025 18:05:24 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Fri, 03 Jan 2025 04:09:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/princemaxwell" aria-label="Profile: princemaxwell">@<bdi>princemaxwell</bdi></a> best place to report trouble is in the module github  page. most authors don’t hang out here .</p>
<p dir="auto">will need more info than it doesn’t load</p>
]]></description><link>https://forum.magicmirror.builders/post/122470</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/122470</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Fri, 03 Jan 2025 04:09:06 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Fri, 03 Jan 2025 03:56:46 GMT]]></title><description><![CDATA[<p dir="auto">I updated my old MMM-Netatmo module to the new version after i had trouble with the refresh_token, which is renewed by the netatmo API every time you fetch it.</p>
<p dir="auto">I am now using the module by <a class="plugin-mentions-user plugin-mentions-a" href="/user/cfenner" aria-label="Profile: CFenner">@<bdi>CFenner</bdi></a> and it works fine now. Thank you for this great module!</p>
<p dir="auto">I just made some changes in custom.css to create a alternative look.</p>
<p dir="auto"><img src="/assets/uploads/files/1735876559057-netatmo.png" alt="netatmo.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/122469</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/122469</guid><dc:creator><![CDATA[princemaxwell]]></dc:creator><pubDate>Fri, 03 Jan 2025 03:56:46 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Sun, 16 Jun 2024 07:32:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/iks82" aria-label="Profile: iks82">@<bdi>iks82</bdi></a> said in <a href="/post/118253">MMM-Netatmo does not load</a>:</p>
<blockquote>
<p dir="auto">Maybe this helps?<br />
<a href="https://forum.magicmirror.builders/post/118234">https://forum.magicmirror.builders/post/118234</a></p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cfenner" aria-label="Profile: CFenner">@<bdi>CFenner</bdi></a>: This should indeed solve the problem. I have to revise my last answer. The module does <strong>not</strong> work as  desgined although you keep the configuration untouched. It shows the values it gets from the initial start-up but never changes them. So I have the same values shown since last reboot of my mirror. Opening the mirror on another PC within the network via browser, it’s showing “Loading …”.</p>
<p dir="auto">Unfortunately, this is not something I can solve with my knowledge, apparently the module has to be rewritten for this. I hope you can find some time for this at some point.</p>
<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="/user/iks82" aria-label="Profile: iks82">@<bdi>iks82</bdi></a>  for referring.</p>
]]></description><link>https://forum.magicmirror.builders/post/118320</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118320</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 16 Jun 2024 07:32:22 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Thu, 13 Jun 2024 12:11:05 GMT]]></title><description><![CDATA[<p dir="auto">Maybe this helps?<br />
<a href="https://forum.magicmirror.builders/post/118234">https://forum.magicmirror.builders/post/118234</a></p>
]]></description><link>https://forum.magicmirror.builders/post/118253</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118253</guid><dc:creator><![CDATA[iks82]]></dc:creator><pubDate>Thu, 13 Jun 2024 12:11:05 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Sun, 09 Jun 2024 14:38:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cfenner" aria-label="Profile: CFenner">@<bdi>CFenner</bdi></a>, sure that it depends on lifetime? The issue occurs within seconds when i change my config and the mirror restarts it’s modules. In that case it would be a one-time-token, the name “refresh-token” would no longer do justice to the matter. :-D</p>
<p dir="auto">That you don’t have time at the moment is no problem to me at all, as I’m not shuting down the Pi at night. Measured by max. 5 watt consumption and 24/7 use at an electricity price of about 30 cents, that’s ~€13 per year.  I think this discussion has certainly been had elsewhere in this forum, so I won’t go into too much depth. This decision is up to each individual. Would just be great to have it fixed at some time, generating a new refresh-token at Netatmo developer portal every time I change the config is just a matter of 1 minute and 5 clicks, but a bit annoying over the time. ;-)</p>
<p dir="auto">Anyway, thanks for your great work on this module!</p>
]]></description><link>https://forum.magicmirror.builders/post/118181</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118181</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 09 Jun 2024 14:38:53 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Sun, 09 Jun 2024 10:43:02 GMT]]></title><description><![CDATA[<p dir="auto">Sounds like the refresh token lifetime got reduced.<br />
Probably the module should only take credentials and get the token itself. Unfortunately, I currently don’t have the time to look into it.</p>
]]></description><link>https://forum.magicmirror.builders/post/118180</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118180</guid><dc:creator><![CDATA[CFenner]]></dc:creator><pubDate>Sun, 09 Jun 2024 10:43:02 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Sun, 09 Jun 2024 10:32:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/anton2023" aria-label="Profile: anton2023">@<bdi>anton2023</bdi></a> it’s not only after reboot, but after each reload of the mirror itself e.g. after changing and saving config.js.</p>
<p dir="auto">Workaround, until this gets fixed, would be</p>
<ol>
<li>don’t touch the configuration and</li>
<li>deactivate automatic shut down/restart every night</li>
</ol>
<p dir="auto">Best regards,</p>
<p dir="auto">Nico</p>
]]></description><link>https://forum.magicmirror.builders/post/118179</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118179</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sun, 09 Jun 2024 10:32:29 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Fri, 07 Jun 2024 08:15:26 GMT]]></title><description><![CDATA[<p dir="auto">Hello together, same issue here. I’m using the RaymondMolenaar Fork, but the issue is the same.<br />
The generated refresh-token only works once. I can see the data, but after a refresh only the loading circle.</p>
]]></description><link>https://forum.magicmirror.builders/post/118157</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118157</guid><dc:creator><![CDATA[schrecki]]></dc:creator><pubDate>Fri, 07 Jun 2024 08:15:26 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Thu, 06 Jun 2024 11:53:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sil3ntstorm" aria-label="Profile: sil3ntstorm">@<bdi>sil3ntstorm</bdi></a><br />
same issue here, it seems to loose the refresh token each day:<br />
i have to re create a refresh token , and copy it to the config, js, the module works.<br />
the following morning after the pi shutdown, the module isn,t working, need to re create a refresh token for it works…</p>
]]></description><link>https://forum.magicmirror.builders/post/118150</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118150</guid><dc:creator><![CDATA[anton2023]]></dc:creator><pubDate>Thu, 06 Jun 2024 11:53:33 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Wed, 05 Jun 2024 08:04:20 GMT]]></title><description><![CDATA[<p dir="auto">Since yesterday it hasn’t been displayed on my mirror anymore, you can only see module name Netatmo loading…<br />
I also did the module update, the problem still exists. Has anything been adjusted that I also have to change in the config so that it is displayed again?</p>
]]></description><link>https://forum.magicmirror.builders/post/118132</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/118132</guid><dc:creator><![CDATA[sil3ntstorm]]></dc:creator><pubDate>Wed, 05 Jun 2024 08:04:20 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Sat, 11 May 2024 11:01:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tommys" aria-label="Profile: tommys">@<bdi>tommys</bdi></a> in history the moduleOrder was like this:</p>
<pre><code>moduleOrder: ["Outdoor", "Regen", "Wind", "Schlafzimmer", "Wohnzimmer"]
</code></pre>
<p dir="auto">but in newer versions the code has a new variable called <strong>showStationName</strong> and as default it is set to <strong>true</strong>. Now set this to <strong>false</strong> or expand the moduleOrder like this <em><strong>StationName - Module</strong></em></p>
<pre><code>moduleOrder: ["im Fritz - Outdoor","im Fritz - Regen","im Fritz - Schlafzimmer","im Fritz - Wohnzimmer"]
</code></pre>
<p dir="auto">this solved my Problem <strong>Netatmo load without errors but shows nothing (blank screen)</strong></p>
<p dir="auto">good luck, Peter</p>
]]></description><link>https://forum.magicmirror.builders/post/117682</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/117682</guid><dc:creator><![CDATA[Lusbueb]]></dc:creator><pubDate>Sat, 11 May 2024 11:01:11 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Mon, 25 Mar 2024 12:46:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cfenner" aria-label="Profile: CFenner">@<bdi>CFenner</bdi></a> Good afternoon! I am still waiting for the decision to recalculate in mm Hg.<br />
And tell me how to fix the wrong display of the wind direction?</p>
]]></description><link>https://forum.magicmirror.builders/post/116576</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/116576</guid><dc:creator><![CDATA[Laz]]></dc:creator><pubDate>Mon, 25 Mar 2024 12:46:41 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Thu, 29 Feb 2024 07:35:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sil3ntstorm" aria-label="Profile: sil3ntstorm">@<bdi>sil3ntstorm</bdi></a></p>
<p dir="auto"><img src="/assets/uploads/files/1709192148962-screenshot_42.png" alt="Screenshot_42.png" class=" img-fluid img-markdown" /> <img src="/assets/uploads/files/1709192148822-screenshot_41.png" alt="Screenshot_41.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/115982</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115982</guid><dc:creator><![CDATA[Laz]]></dc:creator><pubDate>Thu, 29 Feb 2024 07:35:52 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Tue, 27 Feb 2024 10:33:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cfenner" aria-label="Profile: CFenner">@<bdi>CFenner</bdi></a></p>
<p dir="auto">Thanks, it seems to be working now, but I can’t find this setting so that the rooms are displayed one below the other. These are displayed one below the other, even if I enter false for horizontal:</p>
<p dir="auto"><img src="/assets/uploads/files/1709025634021-1c6f6fd4-40b2-4a5e-b109-4969f9394ba4-grafik.png" alt="1c6f6fd4-40b2-4a5e-b109-4969f9394ba4-grafik.png" class=" img-fluid img-markdown" /></p>
<pre><code>{

  module: 'netatmo',

  position: 'bottom_left', // the location where the module should be displayed

  header: 'Netatmo', // a header if you like one

  config: {

    clientId: 'secret123', // your app id

    clientSecret: 'secret123', // your app secret

    refresh_token: 'secret123', // your generated refresh token   

    refreshInterval: '3',  

    dataOrder: ["Noise","Pressure","CO2","Humidity","Temperature","Rain"],

    design: 'bubbles',

    horizontal: 'true',

    showBattery: 'true',

    showWiFi: 'true',   

    showTrend: 'true',

    showMeasurementIcon: 'true',

    showStationName: 'true',

    showModuleNameOnTop: 'false',

    fontClassModuleName: 'xsmall',

    fontClassPrimary: 'xsmall',

    fontClassSecondary: 'xsmall',

    fontClassMeasurement: 'xsmall',

    thresholdCO2Average: '1200',

    thresholdCO2Bad: '1800',

 
  }

},

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/115933</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115933</guid><dc:creator><![CDATA[sil3ntstorm]]></dc:creator><pubDate>Tue, 27 Feb 2024 10:33:34 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Mon, 26 Feb 2024 18:32:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sil3ntstorm" aria-label="Profile: sil3ntstorm">@<bdi>sil3ntstorm</bdi></a> you get the token now directly from the developer portal, see <a href="https://github.com/CFenner/MMM-Netatmo?tab=readme-ov-file#connection-to-netatmo-service-api" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/CFenner/MMM-Netatmo?tab=readme-ov-file#connection-to-netatmo-service-api</a></p>
]]></description><link>https://forum.magicmirror.builders/post/115928</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115928</guid><dc:creator><![CDATA[CFenner]]></dc:creator><pubDate>Mon, 26 Feb 2024 18:32:13 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Mon, 26 Feb 2024 18:20:45 GMT]]></title><description><![CDATA[<p dir="auto">I first used another Netatmo module, but it hasn’t been updated for 4 years. I now want to use this one, but I don’t know exactly how to create the netatmo refresh token?<br />
Are there instructions for this?</p>
<p dir="auto">Can someone show the module settings here so that the data is displayed exactly like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1708971639482-preview.bubbles.png" alt="preview.bubbles.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.magicmirror.builders/post/115927</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115927</guid><dc:creator><![CDATA[sil3ntstorm]]></dc:creator><pubDate>Mon, 26 Feb 2024 18:20:45 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Thu, 22 Feb 2024 09:27:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cfenner" aria-label="Profile: CFenner">@<bdi>CFenner</bdi></a><br />
I noticed that the module displays the wrong wind values ​ ​ from the wind sensor on the mirror. The display of speed, wind gust and wind direction is not correct… ((The display of data on the mirror from the wind sensor does not match the data in the Netatmo application and in the Netatmo personal account.</p>
]]></description><link>https://forum.magicmirror.builders/post/115801</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115801</guid><dc:creator><![CDATA[Laz]]></dc:creator><pubDate>Thu, 22 Feb 2024 09:27:17 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Sat, 03 Feb 2024 11:38:07 GMT]]></title><description><![CDATA[<p dir="auto">I noticed that the module displays the wrong wind values ​ ​ from the wind sensor on the mirror. The display of speed, wind gust and wind direction is not correct… ((The display of data on the mirror from the wind sensor does not match the data in the Netatmo application and in the Netatmo personal account.</p>
]]></description><link>https://forum.magicmirror.builders/post/115235</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115235</guid><dc:creator><![CDATA[Laz]]></dc:creator><pubDate>Sat, 03 Feb 2024 11:38:07 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Mon, 29 Jan 2024 15:22:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cfenner" aria-label="Profile: CFenner">@<bdi>CFenner</bdi></a> Unfortunately, I now work remotely through VNC with a mirror, the resolution is not very high and all small details are not always clear. I will check the translation in April, as I will be in that city.<br />
Thank you, I am waiting for a recount to other pressure units.!)</p>
]]></description><link>https://forum.magicmirror.builders/post/115115</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115115</guid><dc:creator><![CDATA[Laz]]></dc:creator><pubDate>Mon, 29 Jan 2024 15:22:54 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Mon, 29 Jan 2024 14:27:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/laz" aria-label="Profile: Laz">@<bdi>Laz</bdi></a> great that it works again. Sorry that is took so long. What about the RU translations, everything good?<br />
Will try to find some time for the transformation.</p>
]]></description><link>https://forum.magicmirror.builders/post/115110</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115110</guid><dc:creator><![CDATA[CFenner]]></dc:creator><pubDate>Mon, 29 Jan 2024 14:27:34 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Mon, 29 Jan 2024 11:28:02 GMT]]></title><description><![CDATA[<p dir="auto">I have reinstalled the entire module. And everything finally worked!) Thanks to the author of the module. I really like this module.<br />
A huge only request to the author - add a pressure recalculation in mm Hg…!!!)))</p>
]]></description><link>https://forum.magicmirror.builders/post/115109</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/115109</guid><dc:creator><![CDATA[Laz]]></dc:creator><pubDate>Mon, 29 Jan 2024 11:28:02 GMT</pubDate></item><item><title><![CDATA[Reply to MMM-Netatmo does not load on Tue, 16 Jan 2024 10:29:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cfenner" aria-label="Profile: CFenner">@<bdi>CFenner</bdi></a><br />
Have you updated your module? Does it need to be reinstated or how to update it?</p>
]]></description><link>https://forum.magicmirror.builders/post/114559</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/114559</guid><dc:creator><![CDATA[Laz]]></dc:creator><pubDate>Tue, 16 Jan 2024 10:29:00 GMT</pubDate></item></channel></rss>