Read the statement by Michael Teeuw here.
MMM-Netatmo does not load
-
Hello everybody, I have the same problem. Because I’m not an IT professional, I’m having trouble solving the problem with your instructions.
The second workaround in particular is difficult:
…I completely removed the usage of the sync-fetch library in netatmo.js in favor of the default async version . That is, simply remove the line: const fetch = require(‘sync-fetch’), make the authenticate, loadData and socketNotificationReceived functions async, handle the promise object returned by fetch appropriately as well as the call to json().- I can’t find the “const fetch” line in the netatmo.js file
- how can I make functions asynchronous
- the sentence “handle the promise object returned by fetch appropriately as well as the call to json().” I don’t really understand either
Is it possible to make the instructions a bit more detailed? Or what is the best way to ensure that the great module works for me again?
Thank you very much for your effort!
-
@tommys I have the same problem, but while I can follow instructions and edit files, your description is a bit to advanced for me.
Could you break it down, I would really like to get the module working again!
-
@cgillinger I merged a PR from @ottolote to replace the sync-fetch. Please try if that fixes the issue for you. It work for me now, but also did before that change using mm v2.26.
-
@CFenner And just to report back here as well: Now the module works for me again! Thnx!
-
@CFenner
Have you updated your module? Does it need to be reinstated or how to update it? -
I have reinstalled the entire module. And everything finally worked!) Thanks to the author of the module. I really like this module.
A huge only request to the author - add a pressure recalculation in mm Hg…!!!))) -
@Laz great that it works again. Sorry that is took so long. What about the RU translations, everything good?
Will try to find some time for the transformation. -
@CFenner 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.
Thank you, I am waiting for a recount to other pressure units.!) -
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.
-
@CFenner
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. -
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?
Are there instructions for this?Can someone show the module settings here so that the data is displayed exactly like this:

-
@sil3ntstorm you get the token now directly from the developer portal, see https://github.com/CFenner/MMM-Netatmo?tab=readme-ov-file#connection-to-netatmo-service-api
-
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:

{ 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', } }, -
-
This post is deleted! -
@CFenner Good afternoon! I am still waiting for the decision to recalculate in mm Hg.
And tell me how to fix the wrong display of the wind direction? -
@tommys in history the moduleOrder was like this:
moduleOrder: ["Outdoor", "Regen", "Wind", "Schlafzimmer", "Wohnzimmer"]but in newer versions the code has a new variable called showStationName and as default it is set to true. Now set this to false or expand the moduleOrder like this StationName - Module
moduleOrder: ["im Fritz - Outdoor","im Fritz - Regen","im Fritz - Schlafzimmer","im Fritz - Wohnzimmer"]this solved my Problem Netatmo load without errors but shows nothing (blank screen)
good luck, Peter
-
Since yesterday it hasn’t been displayed on my mirror anymore, you can only see module name Netatmo loading…
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? -
@sil3ntstorm
same issue here, it seems to loose the refresh token each day:
i have to re create a refresh token , and copy it to the config, js, the module works.
the following morning after the pi shutdown, the module isn,t working, need to re create a refresh token for it works… -
Hello together, same issue here. I’m using the RaymondMolenaar Fork, but the issue is the same.
The generated refresh-token only works once. I can see the data, but after a refresh only the loading circle.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login

