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.

    MMM-OpenWeatherForecast - Replacement for MMM-DarkSkyForecast

    Scheduled Pinned Locked Moved Utilities
    256 Posts 55 Posters 631.8k Views 57 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.
    • J Offline
      j.e.f.f Project Sponsor Module Developer @airclown
      last edited by

      @airclown if you know what you’re doing with CSS this is certainly doable in your custom.css file. The module’s HTML is structured in such a way as to not restrict reordering through CSS

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        gekberlin @j.e.f.f
        last edited by

        Hi all,
        has anyone a suggestion how to move the temprature in tiled mode next to the icon in one row?
        I mean just like in the picture given ?
        18491c61-46b8-4b8a-a2e6-7422c6d82e78-image.png

        I really don’t understand the syntax of the nunjucks part.

        1 Reply Last reply Reply Quote 0
        • R Offline
          Ray
          last edited by

          MMM-OpenWeatherForecast

          Hey guys in the alert status. I show the following 3 items

          Excessive heat watch

          heat advisory

          small craft advisory

          Is there a way I can eliminate small craft advisory
          or just use heat advisory

          1 Reply Last reply Reply Quote 0
          • plainbrokeP Offline
            plainbroke
            last edited by

            When will Darksky fail to work anymore.
            I have it running now and it works fine.
            What am I missing?

            Slow learner. But trying anyways.
            MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
            Running Trixie and the latest MM version.

            BKeyportB J 2 Replies Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @plainbroke
              last edited by

              @plainbroke If you have an API key from before Apple bought it up, Darksky still will work. They’re just not issuing new API keys any longer, and Apple seems to be wanting to put all of Darksky’s features into their own app, and use the API for themselves, so I doubt old keys are gonna go away any time soon.

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

              karsten13K 1 Reply Last reply Reply Quote 0
              • karsten13K Offline
                karsten13 @BKeyport
                last edited by

                see https://blog.darksky.net/

                BKeyportB 1 Reply Last reply Reply Quote 0
                • BKeyportB Offline
                  BKeyport Module Developer @karsten13
                  last edited by

                  @karsten13 Ahh, so rather than doing the API into the weather app, Apple’s decided to rewrite it completely. Good to know.

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

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    j.e.f.f Project Sponsor Module Developer @plainbroke
                    last edited by

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

                    When will Darksky fail to work anymore.
                    I have it running now and it works fine.
                    What am I missing?

                    I just received an email last week from Apple saying that Dark Sky API will stop working on March 31 2023.

                    So you have a while yet before it goes belly up. And who knows… Apple might extend this out past the deadline.

                    plainbrokeP 1 Reply Last reply Reply Quote 0
                    • plainbrokeP Offline
                      plainbroke @j.e.f.f
                      last edited by

                      Thank you all for information. I was upset. I really like the way my Darksky weather module looks on my screen. I guess in march next year I will think about having to change over to something else. Maybe by then someone will make it so the Darksky module works with another weather api…

                      Slow learner. But trying anyways.
                      MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                      Running Trixie and the latest MM version.

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

                        @plainbroke problem is that darksky provided a lot of cool extra data that nobody else provides.

                        so all the others will lack something…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • L Offline
                          lxne Project Sponsor
                          last edited by

                          Hello there,
                          We wanted to let you know about a change coming to Dark Sky. Beginning on March 31st, 2023 the Dark Sky API will no longer be available. To prepare, we encourage you to learn more about WeatherKit, a new Apple API available on iOS, iPadOS, macOS, tvOS, and web that provides access to the new Apple Weather forecast data.
                          You can learn more here.
                          As always, we appreciate your support, and will continue to update you with any future changes.

                          Thanks, The Dark Sky Team

                          plainbrokeP 1 Reply Last reply Reply Quote 1
                          • plainbrokeP Offline
                            plainbroke @lxne
                            last edited by

                            @lxne
                            So, is that going to be the API for Dark Sky to run on in 2023?

                            Slow learner. But trying anyways.
                            MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                            Running Trixie and the latest MM version.

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

                              @plainbroke
                              no, it will be a different API

                              https://developer.apple.com/documentation/weatherkitrestapi

                              darksky API is dead

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                sil3ntstorm
                                last edited by

                                Great job, I like it very much, thanks for that.

                                I’ve had it running for about 8 weeks and I’ve noticed that my temperature readings are correct, but my weather is always showing as cloudy or rainy in advance, even though the sun has been shining 90% of the time for weeks and almost never rains

                                I checked the latitude and longitude several times and read them out and accepted them either via https://www.latlong.net/ or via google.

                                What can be the reason for the fact that I keep getting only clouds and rain, even though the sun is shining most of the time?

                                Place of residence is: Germany Hohenschambach
                                Width 49.039349
                                Longitude 11.847070

                                Bild_2022-07-29_124222891.png

                                I hope you can help me here 😊
                                My English skills are not very good, I translated it with google, I hope you understand what I want to say 😊

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

                                  @sil3ntstorm can u show the config.js entry

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sil3ntstorm
                                    last edited by

                                    {
                                        module: "MMM-OpenWeatherForecast",
                                      
                                        position: "top_right",
                                        header: "Wettervorschau Schama",
                                        config: {
                                          apikey: "XYXYXY", //SUPER SECRET
                                          latitude: "49.039349",     //49.039349 Hemau
                                          longitude: "11.847070",    //11.847070 Hemau     
                                          units: "metric",
                                          iconset: "4c",
                                          colored: true,
                                          concise: true,
                                    
                                    			 label_high: "max",
                                    			 label_low: "min",
                                    			 label_days: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
                                    			 label_sunriseTimeFormat: "k:mm",
                                    			 label_hourlyTimeFormat: "k[h]",
                                    			 label_hourlyTimeFormat: "k[ Uhr]",
                                    
                                    
                                    
                                         
                                          requestDelay: "2000",
                                          showFeelsLikeTemp: true,
                                          displayKmhForWind: true,
                                          showCurrentConditions: true,
                                          showSummary: false,
                                          showExtraCurrentConditions: true,
                                          extraCurrentConditions: {
                                            highLowTemp: true,
                                            precipitation: true,
                                            sunrise: true,
                                            sunset: true,
                                            wind: true,
                                            barometricPressure: false,
                                            humidity: true,
                                            dewPoint: false,
                                            uvIndex: true,
                                            visibility: false
                                          },
                                    
                                          forecastLayout: "table",
                                          forecastHeaderText: "",
                                    
                                          hourlyForecastTableHeaderText: "Stundenvorschau",
                                          showHourlyForecast: true,
                                          showHourlyTableHeaderRow: true,
                                          hourlyForecastInterval: 3,
                                          maxHourliesToShow: 5,
                                          hourlyExtras: {
                                            precipitation: true,
                                            wind: true,
                                            barometricPressure: false,
                                            humidity: false,
                                            dewPoint: false,
                                            uvIndex: false,
                                            visibility: false
                                          },
                                    
                                          dailyForecastTableHeaderText: "Wochenvorschau",
                                          showDailyForecast: true,
                                          showDailyTableHeaderRow: true,
                                          maxDailiesToShow: 10,
                                          dailyExtras: {
                                            precipitation: true,
                                            sunrise: false,
                                            sunset: false,
                                            wind: true,
                                            barometricPressure: false,
                                            humidity: false,
                                            dewPoint: false,
                                            uvIndex: false
                                          },
                                    
                                        }
                                      },
                                    
                                    
                                    
                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @sil3ntstorm
                                      last edited by sdetweil

                                      @sil3ntstorm remove the quotes from around the lat/long… that makes then a string, not a number…

                                      most modules cannot handle the difference

                                      anyplace just numbers, remove quotes

                                           requestDelay: "2000",

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sil3ntstorm
                                        last edited by

                                        Like now?
                                        I did it but the clouds or rain are still displayed to me, no change from before. The 3 apps on the mobile all show sun most of the time and at least 10 hours of sun (just like in the past, always sunny and dry in the app and in real but always cloudy and rainy in the MM module)

                                        {
                                            module: "MMM-OpenWeatherForecast",
                                          
                                            position: "top_right",
                                            header: "Wettervorschau Schama",
                                            config: {
                                              apikey: "XYXYXYXY", //SUPER SECRET
                                              latitude: 49.039349,     
                                              longitude: 11.847070,   
                                              units: "metric",
                                              iconset: "4c",
                                              colored: true,
                                              concise: true,     
                                              
                                        			 label_high: "max",
                                        			 label_low: "min",
                                        			 label_days: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
                                        			 label_sunriseTimeFormat: "k:mm",
                                        			 label_hourlyTimeFormat: "k[h]",
                                        			 label_hourlyTimeFormat: "k[ Uhr]",
                                        
                                        
                                        
                                             
                                              requestDelay: 2000,
                                              showFeelsLikeTemp: true,
                                              displayKmhForWind: true,
                                              showCurrentConditions: true,
                                              showSummary: false,
                                              showExtraCurrentConditions: true,
                                              extraCurrentConditions: {
                                                highLowTemp: true,
                                                precipitation: true,
                                                sunrise: true,
                                                sunset: true,
                                                wind: true,
                                                barometricPressure: false,
                                                humidity: true,
                                                dewPoint: false,
                                                uvIndex: true,
                                                visibility: false
                                              },
                                        
                                              forecastLayout: "table",
                                              forecastHeaderText: "",
                                        
                                              hourlyForecastTableHeaderText: "Stundenvorschau",
                                              showHourlyForecast: true,
                                              showHourlyTableHeaderRow: true,
                                              hourlyForecastInterval: 3,
                                              maxHourliesToShow: 5,
                                              hourlyExtras: {
                                                precipitation: true,
                                                wind: true,
                                                barometricPressure: false,
                                                humidity: false,
                                                dewPoint: false,
                                                uvIndex: false,
                                                visibility: false
                                              },
                                        
                                              dailyForecastTableHeaderText: "Wochenvorschau",
                                              showDailyForecast: true,
                                              showDailyTableHeaderRow: true,
                                              maxDailiesToShow: 10,
                                              dailyExtras: {
                                                precipitation: true,
                                                sunrise: false,
                                                sunset: false,
                                                wind: true,
                                                barometricPressure: false,
                                                humidity: false,
                                                dewPoint: false,
                                                uvIndex: false
                                              },
                                        
                                            }
                                          },
                                        
                                        
                                        

                                        Bild_2022-07-29_150313543.png

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

                                          @sil3ntstorm thats what the web site shows too
                                          Screenshot at 2022-07-29 08-14-48.png

                                          accuweather shows similar
                                          Screenshot at 2022-07-29 08-18-44.png

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sil3ntstorm
                                            last edited by sil3ntstorm

                                            The data is read from https://home.openweathermap.org and displayed on the MM, right?
                                            Since these often do not match for my area, I want to know whether it is possible to store another provider? For example
                                            https://www.wetteronline.de/wettertrend/hemau

                                            Bild_2022-07-29_153013910.png

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 9 / 13
                                            • 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