• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Modules are loading with new docker image

Scheduled Pinned Locked Moved Solved Troubleshooting
15 Posts 3 Posters 1.3k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    codac
    last edited by Oct 8, 2024, 5:32 PM

    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-WeatherChart

    Any ideas about how to fix this?

    1 Reply Last reply Reply Quote 0
    • C Offline
      codac @sdetweil
      last edited by Oct 13, 2024, 1:08 PM

      @sdetweil @HeikoGr
      That was it, changing the parameter for the weather Plugin + updating the api Key to a payment method.
      Now weather and MMM-WeatherChart are running again.

      MMM-SoccerLiveScore not, as they seem to search for a new API.

      1 Reply Last reply Reply Quote 0
      • H Offline
        HeikoGr
        last edited by Oct 8, 2024, 7:27 PM

        Which version of the docker container do you use?

        C 1 Reply Last reply Oct 8, 2024, 7:37 PM Reply Quote 0
        • C Offline
          codac @HeikoGr
          last edited by Oct 8, 2024, 7:37 PM

          @HeikoGr
          2.29.0

          1 Reply Last reply Reply Quote 0
          • H Offline
            HeikoGr
            last edited by Oct 8, 2024, 8:31 PM

            Can you post your (anonymized) config file?

            C 1 Reply Last reply Oct 9, 2024, 6:58 AM Reply Quote 0
            • C Offline
              codac @HeikoGr
              last edited by codac Oct 9, 2024, 6:59 AM Oct 9, 2024, 6:58 AM

              @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
              			}
              		},
              
              H 1 Reply Last reply Oct 9, 2024, 7:29 AM Reply Quote 0
              • H Offline
                HeikoGr @codac
                last edited by HeikoGr Oct 9, 2024, 7:30 AM Oct 9, 2024, 7:29 AM

                @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

                C 1 Reply Last reply Oct 9, 2024, 8:03 AM Reply Quote 0
                • C Offline
                  codac @HeikoGr
                  last edited by Oct 9, 2024, 8:03 AM

                  @HeikoGr What is the difference between the free user endpoints ‘/weather’ , ‘/onecall’ , ‘/forecast’?

                  H 1 Reply Last reply Oct 9, 2024, 8:10 AM Reply Quote 0
                  • H Offline
                    HeikoGr @codac
                    last edited by Oct 9, 2024, 8:10 AM

                    @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

                    S 2 Replies Last reply Oct 9, 2024, 1:51 PM Reply Quote 1
                    • S Away
                      sdetweil @HeikoGr
                      last edited by Oct 9, 2024, 1:51 PM

                      @HeikoGr email from ow says 2.5 final shutdown starting on Oct 14. so just a week away

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • S Away
                        sdetweil @HeikoGr
                        last edited by Oct 9, 2024, 2:56 PM

                        @HeikoGr we should have made /onecall the default

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        H 1 Reply Last reply Oct 9, 2024, 3:53 PM Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        1 / 2
                        • First post
                          5/15
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy