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.

    Version 2.30.0 weather module, stuck loading, worked fine before upgrade

    Scheduled Pinned Locked Moved Troubleshooting
    52 Posts 6 Posters 15.4k Views 6 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 Do not disturb
      sdetweil @Rberry91
      last edited by

      @Rberry91 now you have to follow the module instructions to get authorization again

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        Rberry91 @sdetweil
        last edited by

        @sdetweil
        I reverted to the older version and I have tried updating using your command and other ones and still doesn’t update tell me that “pulling without specifying how to reconcile divergent branches is etc”

        The other problem I am having is the weather, the forecast works but the current Weather doesn’t and they are the same code.20250313_055015.jpg 20250313_055058.jpg

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @Rberry91
          last edited by

          @Rberry91 divergent branches sounds like you have both modules trying to merge to the same folder

          delete then git clone again
          the nan says the apikey is wrong

          and you have a typo, MagicMirror is case sensitive

          IMG_0841.png

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • butchkemperB Offline
            butchkemper
            last edited by

            The configuration parameters I use are:

            module "MMM-OpenWeatherForecase"
            latitude and NOT lat
            longitude and NOT lon
            apikey and NOT apiKey   <----  Notice the "K"
            

            Some MM configuration keywords have abbreviations but not all. The module README file gives the values for the keywords.

            Also, since your apikey has been revealed to the world, you should cancel the posted key and generate a new key. Always keep the apikey secret.

            Butch

            Resistance is not Futile!
            It is voltage divided by current.

            1 Reply Last reply Reply Quote 0
            • butchkemperB Offline
              butchkemper
              last edited by

              @sdetweil I noticed this discretion between the Weather module documentation:

              • The “Weather” documentation has “apiKey” - large case “K”,
              • The “MMM-OpenWeatherForecast” documentation has “apikey” - small case “k”.

              Butch

              Resistance is not Futile!
              It is voltage divided by current.

              S 1 Reply Last reply Reply Quote 0
              • S sdetweil referenced this topic on
              • S Do not disturb
                sdetweil @butchkemper
                last edited by sdetweil

                @butchkemper modules can go anything they want
                what is used internally can be anything required

                I looked at the doc for the default weather module before posting above. as there are two instances, one works the other doesn’t. apikey is the issue

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • S sdetweil marked this topic as a regular topic on
                • S sdetweil referenced this topic on
                • S sdetweil referenced this topic on
                • AssassinsA Offline
                  Assassins
                  last edited by Assassins

                  Work on 2.29.0 with api2.5

                  But now on 2.33.0
                  It say “NaN”
                  I get the error 401, it say the apiKey i wrong, but is write from my api key from the website.
                  How can i get a apiKey to api3.0 without to paid for it. ???
                  The api2.5 still work, but not on this modul.

                      {
                        module: 'weather',
                        position: 'bottom_left',
                        header: 'Ballerup',
                        config: {
                           lat: "55.7317",
                           lon: "12.3633",
                           apiKey: "xxxxx765xxxx98xxxjhx888"
                         }
                      },
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @Assassins
                    last edited by sdetweil

                    @Assassins you cannot get V3 apikey from open weather without providing a credit card.
                    they don’t charge unless you go over 1000/request per day.

                    now, you CAN make 2.5 work (if they still accept api requests they keep telling us they are going to do (have done!!)) just be warned that they can/will end this function sometime…

                    in the module config section
                    apiKey: 2.5_key
                    apiVersion: 2.5

                    and

                    weatherEndpoint: “current” OR “forecast”

                    edited

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    AssassinsA 1 Reply Last reply Reply Quote 0
                    • AssassinsA Offline
                      Assassins @sdetweil
                      last edited by

                      @sdetweil
                      I can only see the header now, where is write Ballerup

                      {
                        module: 'weather',
                        position: 'bottom_left',
                        header: 'Ballerup',
                        config: {
                          apiVersion: "2.5",
                          weatherEndpoint: "/current",
                           lat: "55.7317",
                           lon: "12.3633",
                           apiKey: "xxxxx765xxxx98xxxjhx888"
                         }
                      },
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @Assassins
                        last edited by

                        @Assassins

                        sorry

                        weatherEndpoint: “current” or 'forecast" , no /

                        also, the old api use location or locationID, not lat/lon
                        and I see you can’t look them up anymore on OWM site

                        here is from the old doc

                        locationID	Location ID from OpenWeatherMap This will override anything you put in location.
                        
                        Leave blank if you want to use location. <------=======
                        
                        Example: 1234567
                        Default value: false
                        
                        Note: When the location and locationID are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
                        
                        ======================================================================
                        location	The location used for weather information.
                        
                        Example: 'Amsterdam,Netherlands'
                        Default value: false
                        
                        Note: When the location and locationID are both not set, the location will be based on the information provided by the calendar module. The first upcoming event with location data will be used.
                        

                        so it ‘seems’ that location by itself would do it.

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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