Read the statement by Michael Teeuw here.
Modules are loading with new docker image
-
Hi guys,
I’m using @karsten13 Docker image of MagicMirror. since the last two updates of the docker image, many of the modules show “Loading”.
I have updated all modules and did run npm install in their folders.
The only error I receive in the log of the magicmirror docker is:2024/10/07 15:45:41 stderr (Use `node --trace-deprecation ...` to show where the warning was created) 2024/10/07 15:45:41 stderr [2024-10-07 15:45:41.323] [ERROR] (node:71) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.Affected modules are:
MMM-SoccerLiveScore
weather
MMM-WeatherChartAny ideas about how to fix this?
-
-
Which version of the docker container do you use?
-
@HeikoGr
2.29.0 -
Can you post your (anonymized) config file?
-
@HeikoGr
I’ll add the bits for the modules. But I’m pretty sure its not the config, as it is running for years now.
The Loading came up, after IÄve updated the docker image.{ module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", location: "Location,CountryCode", locationID: "1234567", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city apiKey: "<apiKey>" } }, { "module": "MMM-WeatherChart", "position": "top_right", "config": { "apiKey": "<apiKey>", "dataNum": 24, "dataType": "daily", "dailyLabel": "days_of_week", "height": "400px", "width": "400px", "lat": 50.1234567, "lon": 8.1234567, "units": "metric", "hourFormat": "24h", "showIcon": true, "datalabelsDisplay": true, "showRain": true, "showZeroRain": false, "showZeroSnow": false, "includeSnow": true, "showSnow": true, } }, { module: 'MMM-SoccerLiveScore', position: 'top_left', config: { leagues: [35], showNames: true, showLogos: true, displayTime: 60 * 1000, showStandings: false, showTables: true, showScorers: false, scrollVertical: false, language: 'de', // supported values are en, de, it } }, -
@codac you need to add
weatherEndpoint: '/onecall',for the weather module as it is using API 3.0 from openweathermap.
For the other modules i may look later if i have more time and access to my homelab -
@HeikoGr What is the difference between the free user endpoints ‘/weather’ , ‘/onecall’ , ‘/forecast’?
-
@codac API 2.5 had different endpoints, but this version is deprecated. It could go offline at any time (since june 2024).
API 3.0 only supports the endpoint „onecall“
For more details you need to read the API docs yourself
-
@HeikoGr email from ow says 2.5 final shutdown starting on Oct 14. so just a week away
-
@HeikoGr we should have made /onecall the default
-
@sdetweil at least when openweathermap is used.
-
@HeikoGr yes, in the provider file
-
@codac MMM-WeatherChart did also update to API 3.0
did you update your subscription for openweathermap?
Unfortunately you need to add a credit card. 1000 calls per day are free.On my system the weather modules are working (with my api key)
the MMM-SoccerLiveScore has another API problem. not related to the magic mirror release. See: https://github.com/0m4r/MMM-SoccerLiveScore/issues/13
-
@HeikoGr i changed one word for soccer, according , to related
btw, thank you for such clear messages and helping others
-
-
S sdetweil has marked this topic as solved on
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