• 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.

"Invalid Date" appears in Weather module. MM v2.29.0

Scheduled Pinned Locked Moved Solved Troubleshooting
25 Posts 5 Posters 1.6k Views 4 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.
  • S Away
    sdetweil @VinGroot
    last edited by Jan 12, 2025, 7:21 PM

    @VinGroot awesome

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • S sdetweil has marked this topic as solved on Jan 17, 2025, 12:46 PM
    • L Offline
      lif
      last edited by Mar 25, 2025, 10:31 PM

      I have rebuilt my installation and used backup .js files.

      Everything has worked apart from the weather module.

      I am getting the ‘Invalid date’ message a temperature of NaN.

      I have tried adding the apiVersion: ‘2.5’
      weatherEndpoint: “/weather”

      Lines into the config.js file but then MagicMirror doesn’t load.

      the section of config.sys is:

      {
      			module: "weather",
      			position: "top_right",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "current",
      				location: "Machat",
      				locationID: "2983291", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      
      
      				apiKey: "cxxxxxxxxxxxx57f81f9d82849a2fc21a"
      			}
      		},
      		{
      			module: "weather",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				weatherProvider: "openweathermap",
      				type: "forecast",
      				location: "Machat",
      				locationID: "2983291", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
      
      
      				apiKey: "cxxxxxxx57f81f9d82849a2fc21a"
      			}
      		},
      
      S 2 Replies Last reply Mar 25, 2025, 10:52 PM Reply Quote 0
      • S Away
        sdetweil @lif
        last edited by sdetweil Mar 25, 2025, 10:53 PM Mar 25, 2025, 10:52 PM

        @lif are you on 2.29 or 2.30?

        cd ~/MagicMirror
        grep version package. json
        

        see https://forum.magicmirror.builders/topic/19323/version-2-30-0-weather-module-stuck-loading-worked-fine-before-upgrade

        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 @lif
          last edited by sdetweil Mar 25, 2025, 11:00 PM Mar 25, 2025, 10:58 PM

          @lif said in "Invalid Date" appears in Weather module. MM v2.29.0:

          > I have tried adding the apiVersion: '2.5'
          > weatherEndpoint: "/weather"
          

          each of those lines had trailing commas, right?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          L 1 Reply Last reply Mar 26, 2025, 10:13 AM Reply Quote 0
          • L Offline
            lif @sdetweil
            last edited by Mar 26, 2025, 10:13 AM

            @sdetweil said in "Invalid Date" appears in Weather module. MM v2.29.0:

            @lif said in "Invalid Date" appears in Weather module. MM v2.29.0:

            > I have tried adding the apiVersion: '2.5'
            > weatherEndpoint: "/weather"
            

            each of those lines had trailing commas, right?

            Not that line but that wasn’t the problem :-)

            Thanks for the link showing how to subscribe to OpenWeathermap which solved the problem.

            1 Reply Last reply Reply Quote 0
            • S sdetweil has marked this topic as solved on Mar 26, 2025, 2:08 PM
            • 1
            • 2
            • 3
            • 3 / 3
            3 / 3
            • First post
              24/25
              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