• 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.7k 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 Offline
    sdetweil @sdetweil
    last edited by sdetweil Dec 29, 2024, 2:37 AM Dec 29, 2024, 2:37 AM

    @reilley that time is the sunrise or sunset time, sunrise is next, time is correct(in my display)

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • R Offline
      reilley @sdetweil
      last edited by Dec 29, 2024, 2:41 AM

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

      @reilley I copied your config and used my apikey
      no other changes (well I wrapped your config in code block to keep the quotes correct for copy/paste)

      Screenshot at 2024-12-28 20-22-18.png

      So my code worked for you and the only change was the API key? This key worked two days ago, so not sure what’s happening here.

      S 1 Reply Last reply Dec 29, 2024, 2:44 AM Reply Quote 0
      • S Offline
        sdetweil @reilley
        last edited by Dec 29, 2024, 2:44 AM

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

        So my code worked for you and the only change was the API key?

        correct

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        R 1 Reply Last reply Dec 29, 2024, 2:51 AM Reply Quote 0
        • R Offline
          reilley @sdetweil
          last edited by Dec 29, 2024, 2:51 AM

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

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

          So my code worked for you and the only change was the API key?

          correct

          That’s nuts. Why would an API key work two days ago and not today? Seems like maybe there’s a configuration problem elsewhere but I not sure where it would be since I made no changes to weather.js or other .js files associated with the Weather module.

          S 1 Reply Last reply Dec 29, 2024, 2:54 AM Reply Quote 0
          • S Offline
            sdetweil @reilley
            last edited by sdetweil Dec 29, 2024, 2:54 AM Dec 29, 2024, 2:54 AM

            @reilley I don’t know… try my approach
            do

            cd ~/MagicMirror/config
            cp config.js.sample  testcfg.js
            cd ..
            

            then edit the testcfg.js and paste your weather info from config.js here
            then change the units to imperial
            save
            then on the terminal window

            export MM_CONFIG_FILE=config/testcfg.js
            npm start 
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Dec 29, 2024, 3:29 AM Reply Quote 0
            • R Offline
              reilley @sdetweil
              last edited by Dec 29, 2024, 3:29 AM

              @sdetweil - nope, same result

              S R V 3 Replies Last reply Dec 29, 2024, 3:36 AM Reply Quote 0
              • S Offline
                sdetweil @reilley
                last edited by Dec 29, 2024, 3:36 AM

                @reilley ok, next thing

                weather is done all in browser,
                on the MagicMirror screen ctrl-shift-i to
                open the developer window, select the console tab,
                put wea in the filter field

                look for any messages

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Dec 29, 2024, 3:41 AM Reply Quote 0
                • R Offline
                  reilley @reilley
                  last edited by Dec 29, 2024, 3:39 AM

                  @reilley - oh, I think I know what’s wrong now.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    reilley @sdetweil
                    last edited by Dec 29, 2024, 3:41 AM

                    @sdetweil - you’re gonna laugh, but I found the issue. I was using an inactive API key. My backup was too old and was before the v2.29.0 API 3.0 requirement. Sorry to drag you through this!

                    S 1 Reply Last reply Dec 29, 2024, 3:59 AM Reply Quote 0
                    • S Offline
                      sdetweil @reilley
                      last edited by Dec 29, 2024, 3:59 AM

                      @reilley glad you found it!

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        9/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