MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast

    Utilities
    48
    190
    23153
    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.
    • T
      trividar @DDE12 last edited by

      If the Module doesn’t load the informations change ```
      “https://api.openweathermap.org/data/3.0/onecall”

      to
      

      "https://api.openweathermap.org/data/3.0/onecall?"

      an it should work!
      
      1 Reply Last reply Reply Quote 0
      • S
        sdetweil @DDE12 last edited by

        @DDE12 the API url is in the node_helper.js

        we recently add a Parm to enable picking v3 of the API vs 2.5 (old free).

        the add on modules need to do the same

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • Y
          yk last edited by

          Fantastic work! I was using the previous DarkSkyForecast version - easy shift to this one.

          I’m trying to put the hourly data and daily data in the same “row” across using tiled view instead of 2 rows. I’m happy to edit the njk file (have tweaked a bit haven’t gotten it “just right” yet). Any ideas? I gather it’s something with the hourly and daily divs.

          Is data available to get mm of precipitation in the hourly and daily blocks? It shows % chance - keen to add precipitation instead.

          Thanks!!

          Y 1 Reply Last reply Reply Quote 0
          • Y
            yk @yk last edited by

            @yk said in MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast:

            Fantastic work! I was using the previous DarkSkyForecast version - easy shift to this one.

            I’m trying to put the hourly data and daily data in the same “row” across using tiled view instead of 2 rows. I’m happy to edit the njk file (have tweaked a bit haven’t gotten it “just right” yet). Any ideas? I gather it’s something with the hourly and daily divs.

            Is data available to get mm of precipitation in the hourly and daily blocks? It shows % chance - keen to add precipitation instead.

            Thanks!!

            Replying to my own post incase someone else wants a single row for 3 hours and 3 days. You’ll need to comment out lines 191, 309, 315, 318 in the njk file. This results in a single row readable left to right hours then days. It’s a useful view if you’re using a full width view.

            1 Reply Last reply Reply Quote 0
            • J
              justbob last edited by

              So what’s the solution for the 401 error?
              The key works in default weather module, but in this one it’s not.

              @sdetweil said in MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast:

              @DDE12 NEVER run audit fix…

              Can you elaborate why?
              I for one don’t like seeing vulnerabilities and critical messages anywhere, and letting security flaws linger…

              S 1 Reply Last reply Reply Quote 0
              • S
                sdetweil @justbob last edited by sdetweil

                @justbob audit fix forces changes, and many times drags in breaking changes that we can do nothing about.

                we are not running a web site w hundreds of random users, and are not dragging in other page content with their scripts. we are calling apis…

                so the risks for (y)our site is extremely small…

                I don’t know the answer on openweathermap.

                Sam

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 1
                • C
                  chris1971 last edited by

                  I am using MMM-DarkSkyForecast - everything was fine, but today the module is not loading anymore. Are there any changes or known issues? Do I have to swith to another module?

                  Thx, Chris

                  BKeyport 1 Reply Last reply Reply Quote 0
                  • BKeyport
                    BKeyport Module Developer @chris1971 last edited by

                    @chris1971 DarkSky is dead. You’ll have to switch. Apple bought 'em up and is shutting down the APIs.

                    The "E" in "Javascript" stands for "Easy"

                    1 Reply Last reply Reply Quote 0
                    • C
                      chris1971 last edited by

                      Thanks for the Info. Hope that the switch to Open Weather will be smooth. Long time ago that I have modified something on the mirror…

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        sdetweil @chris1971 last edited by

                        @chris1971 @BKeyport

                        there is a replacement API. same parns
                        just different url

                        was posted here in the last few months.
                        no time to search right now

                        Sam

                        Create a working config
                        How to add modules

                        karsten13 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 14
                        • 15
                        • 16
                        • 17
                        • 18
                        • 19
                        • 16 / 19
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy