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.

    Working Weather Underground module?

    Scheduled Pinned Locked Moved Troubleshooting
    63 Posts 9 Posters 33.8k Views 9 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 @chanster
      last edited by

      @chanster i hear you. but this is all volunteer. no commitment to maintain a module. people make them for themselves, and sometimes share. and then move on.

      sometimes the service provider drops out from under a module and the author has no interest in trying to update it. keeping up w the changes going on around us is a lot of work

      I look at the age of the last change, if more than 6 months ago I move on.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Reply Quote 0
      • C Offline
        chanster @sdetweil
        last edited by

        @sdetweil Totally agree and understand. The amount of work that’s gone into this is awesome.

        1 Reply Last reply Reply Quote 0
        • C Offline
          c1olli
          last edited by

          For me it’s the same Problem.
          My new Weatherstation can upload the dato to Ecowitt, Wunderground, Weathercloud, WOW an all Servers with the Ecowitt oder Wunderground protocol.
          The problem is to find a working module to get my weather data on the mirror.
          The biggest problem - i cannot code.

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            chanster @c1olli
            last edited by

            @c1olli I have the same problem too - cannot code :P

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

              @c1olli @chanster but its worse than that… the service no longer exists for free, AND the data has changed…
              and any other provider the data has changed… so its almost a complete rewrite

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                Saabman Project Sponsor
                last edited by

                Ive been wanting to change over to Wundergorund Data just havent got around to looking into it as I also want to display my station data rather than the official observations which are a good 20km from my location.

                Im not a coder but have managed to bumble my way through modifying the weather module from the WallberryTheme for MM to work with the Australian BOM data, its not a user friendly implementation but it works.
                @chanster I jumped in not knowing anything about Node JS and just started playing with it seeing what did what and eventually got what I wanted out of it.
                So… take stab at it clone a Wunderground repository on github and just start looking at the code and and let it speak to you.

                But if that doesnt work for you I want to get a Wunderground module working on my MM so will be looking into it shortly. Ive got a pressing project Im working on that I hope to get finished in the next couple of weeks after that I will be looking into it. If you (or anyone else) would like to help out who knows what we will be able to achieve.
                You can see what Ive done with the Wallberry theme weather module https://github.com/saabman/BOMAU-weather and keep an eye out for when I get started on the Wunderground module.

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  chanster @Saabman
                  last edited by

                  @Saabman Thanks for sharing your experience ! I will absolutely take your suggestion and start poking around. As I’m new to MM, I wanted to get an operational dashboard up and running and now that I have, I can go and see if I can get WU to work as you’ve suggested.

                  My current workaround to get my weather station data into MM is via Home Assistant (HA). I have a plug-in for HA that brings WU data into my HA dashboard. I’m using the MMM-HomeAssistant module to push that over to my MM dashboard.

                  S J 4 Replies Last reply Reply Quote 0
                  • hummeruliH Offline
                    hummeruli @sdetweil
                    last edited by

                    @sdetweil Sorry but the new API is free at all. Look at the german FHEM group. I use it there and it works absolutely perfect. Here is only the changed API the problem for the module. They have all written in Perl. Unfortunately I can’t really program it to work.

                    Uli

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      c1olli
                      last edited by

                      It’s nice to find some guys with the same problem.
                      My Son showed me yesterday a little bit about programming - but without any knowlege about programming it’s not easy.
                      For my weatherstation (Froggit WH4000ws, same as ELV WS980 and Fine Offset WH2350) are two ways possible - direkt from the station oder via a provider (Wunderground, Wethercloud and Ecowitt, WOW).
                      It would be nice to have a working solution.

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        c1olli
                        last edited by

                        One way I forgot.

                        Upload the data to openweathermap and use a module it is working with, but I was unable to connect my weather station to openweathermap.

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          Saabman Project Sponsor @chanster
                          last edited by

                          @chanster Thats one way to get around it.

                          Ive just been having a look at it this evening. I found the new API Documentation https://docs.google.com/document/d/1KGb8bTVYRsNgljnNH67AMhckY8AQT2FVwZ9urj8SWBs/edit

                          I punched my details in along with my API key just into my browser and it returned the data in JSON format which looked good so it shouldnt take too much to modify it to work again.

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            c1olli
                            last edited by c1olli

                            That is correct - here is my reply from Wounderground:

                            {"observations":[{"stationID":"IWURST7",
                            "obsTimeUtc":"2021-01-01T10:57:13Z",
                            "obsTimeLocal":"2021-01-01 11:57:13","neighborhood":"Deichsende",
                            "softwareType":"EasyWeatherV1.5.6","country":"DE",
                            "solarRadiation":16.0,
                            "lon":8.590322,
                            "realtimeFrequency":null,"epoch":1609498633,
                            "lat":53.771483,
                            "uv":0.0,
                            "winddir":193,
                            "humidity":98,
                            "qcStatus":1,"metric":{"temp":3,
                            "heatIndex":3,
                            "dewpt":2,
                            "windChill":3,
                            "windSpeed":5,
                            "windGust":5,
                            "pressure":1006.74,
                            "precipRate":1.19,
                            "precipTotal":2.01,
                            "elev":6}}]}
                            
                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              Saabman Project Sponsor @c1olli
                              last edited by

                              @c1olli I Was looking through the MMM-wunderground.js and relised it handles forecast and current weather. Unfortunately I havent found any screen shots of what the module looked like before the changes. Is it worth trying to mod what is there or just build something new.

                              Does any one have a screen shot of what it looked like??

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                c1olli
                                last edited by

                                I don’t have an old version, but here the actual forecast:

                                {"summaries":[{"stationID":"IWURST7","tz":"Europe/Berlin","obsTimeUtc":"2020-12-26T22:59:49Z","obsTimeLocal":"2020-12-26 23:59:49","epoch":1609023589,"lat":53.771483,"lon":8.590322,"solarRadiationHigh":91.02,"uvHigh":0.0,"winddirAvg":189,"humidityHigh":97,"humidityLow":86,"humidityAvg":91,"qcStatus":0,"metric":{"tempHigh":5,"tempLow":-1,"tempAvg":3,"windspeedHigh":21,"windspeedLow":0,"windspeedAvg":7,"windgustHigh":31,"windgustLow":0,"windgustAvg":9,"dewptHigh":3,"dewptLow":-1,"dewptAvg":2,"windchillHigh":5,"windchillLow":-1,"windchillAvg":2,"heatindexHigh":5,"heatindexLow":-1,"heatindexAvg":3,"pressureMax":1022.82,"pressureMin":1002.71,"pressureTrend":-0.82,"precipRate":1.80,"precipTotal":0.30}},{"stationID":"IWURST7","tz":"Europe/Berlin","obsTimeUtc":"2020-12-27T22:59:15Z","obsTimeLocal":"2020-12-27 23:59:15","epoch":1609109955,"lat":53.771483,"lon":8.590322,"solarRadiationHigh":19.45,"uvHigh":0.0,"winddirAvg":198,"humidityHigh":95,"humidityLow":81,"humidityAvg":90,"qcStatus":1,"metric":{"tempHigh":5,"tempLow":3,"tempAvg":4,"windspeedHigh":27,"windspeedLow":2,"windspeedAvg":12,"windgustHigh":42,"windgustLow":4,"windgustAvg":17,"dewptHigh":3,"dewptLow":1,"dewptAvg":2,"windchillHigh":4,"windchillLow":-2,"windchillAvg":1,"heatindexHigh":5,"heatindexLow":3,"heatindexAvg":4,"pressureMax":1002.81,"pressureMin":977.62,"pressureTrend":-1.03,"precipRate":3.00,"precipTotal":10.21}},{"stationID":"IWURST7","tz":"Europe/Berlin","obsTimeUtc":"2020-12-28T22:59:43Z","obsTimeLocal":"2020-12-28 23:59:43","epoch":1609196383,"lat":53.771483,"lon":8.590322,"solarRadiationHigh":79.27,"uvHigh":0.0,"winddirAvg":199,"humidityHigh":98,"humidityLow":93,"humidityAvg":95,"qcStatus":1,"metric":{"tempHigh":4,"tempLow":1,"tempAvg":3,"windspeedHigh":10,"windspeedLow":0,"windspeedAvg":2,"windgustHigh":17,"windgustLow":0,"windgustAvg":3,"dewptHigh":3,"dewptLow":1,"dewptAvg":2,"windchillHigh":4,"windchillLow":0,"windchillAvg":3,"heatindexHigh":4,"heatindexLow":1,"heatindexAvg":3,"pressureMax":982.83,"pressureMin":977.31,"pressureTrend":0.18,"precipRate":3.00,"precipTotal":3.00}},{"stationID":"IWURST7","tz":"Europe/Berlin","obsTimeUtc":"2020-12-29T22:59:40Z","obsTimeLocal":"2020-12-29 23:59:40","epoch":1609282780,"lat":53.771483,"lon":8.590322,"solarRadiationHigh":61.53,"uvHigh":0.0,"winddirAvg":195,"humidityHigh":98,"humidityLow":93,"humidityAvg":96,"qcStatus":1,"metric":{"tempHigh":4,"tempLow":0,"tempAvg":2,"windspeedHigh":11,"windspeedLow":0,"windspeedAvg":2,"windgustHigh":17,"windgustLow":0,"windgustAvg":3,"dewptHigh":3,"dewptLow":0,"dewptAvg":1,"windchillHigh":4,"windchillLow":-1,"windchillAvg":1,"heatindexHigh":4,"heatindexLow":0,"heatindexAvg":2,"pressureMax":992.62,"pressureMin":981.61,"pressureTrend":0.44,"precipRate":1.80,"precipTotal":4.60}},{"stationID":"IWURST7","tz":"Europe/Berlin","obsTimeUtc":"2020-12-30T22:59:37Z","obsTimeLocal":"2020-12-30 23:59:37","epoch":1609369177,"lat":53.771483,"lon":8.590322,"solarRadiationHigh":98.36,"uvHigh":0.0,"winddirAvg":189,"humidityHigh":96,"humidityLow":92,"humidityAvg":94,"qcStatus":1,"metric":{"tempHigh":4,"tempLow":3,"tempAvg":4,"windspeedHigh":15,"windspeedLow":0,"windspeedAvg":6,"windgustHigh":24,"windgustLow":0,"windgustAvg":9,"dewptHigh":3,"dewptLow":2,"dewptAvg":3,"windchillHigh":4,"windchillLow":0,"windchillAvg":3,"heatindexHigh":4,"heatindexLow":3,"heatindexAvg":4,"pressureMax":1001.63,"pressureMin":992.42,"pressureTrend":0.37,"precipRate":3.00,"precipTotal":2.31}},{"stationID":"IWURST7","tz":"Europe/Berlin","obsTimeUtc":"2020-12-31T22:59:34Z","obsTimeLocal":"2020-12-31 23:59:34","epoch":1609455574,"lat":53.771483,"lon":8.590322,"solarRadiationHigh":78.05,"uvHigh":0.0,"winddirAvg":191,"humidityHigh":96,"humidityLow":87,"humidityAvg":91,"qcStatus":1,"metric":{"tempHigh":4,"tempLow":3,"tempAvg":3,"windspeedHigh":15,"windspeedLow":0,"windspeedAvg":5,"windgustHigh":18,"windgustLow":0,"windgustAvg":8,"dewptHigh":3,"dewptLow":1,"dewptAvg":2,"windchillHigh":4,"windchillLow":0,"windchillAvg":2,"heatindexHigh":4,"heatindexLow":3,"heatindexAvg":3,"pressureMax":1004.74,"pressureMin":1001.02,"pressureTrend":0.12,"precipRate":1.80,"precipTotal":2.01}},{"stationID":"IWURST7","tz":"Europe/Berlin","obsTimeUtc":"2021-01-01T11:19:57Z","obsTimeLocal":"2021-01-01 12:19:57","epoch":1609499997,"lat":53.771483,"lon":8.590322,"solarRadiationHigh":51.99,"uvHigh":0.0,"winddirAvg":191,"humidityHigh":98,"humidityLow":96,"humidityAvg":97,"qcStatus":1,"metric":{"tempHigh":3,"tempLow":-1,"tempAvg":1,"windspeedHigh":6,"windspeedLow":0,"windspeedAvg":1,"windgustHigh":7,"windgustLow":0,"windgustAvg":1,"dewptHigh":2,"dewptLow":-1,"dewptAvg":1,"windchillHigh":3,"windchillLow":-1,"windchillAvg":1,"heatindexHigh":3,"heatindexLow":-1,"heatindexAvg":1,"pressureMax":1007.11,"pressureMin":1004.23,"pressureTrend":0.17,"precipRate":4.80,"precipTotal":2.31}}]}
                                
                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  Saabman Project Sponsor @c1olli
                                  last edited by

                                  cool,

                                  I found some more info about the module and screen shots etc.

                                  https://forum.magicmirror.builders/topic/128/weatherunderground-currently-hourly-daily-configurable?page=1

                                  That will help piece it all back together

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    c1olli
                                    last edited by

                                    Wunderground API calls:
                                    current weather:

                                    https://api.weather.com/v2/pws/observations/current?stationId=here_PWS&format=json&units=m&apiKey=here_API
                                    

                                    7 Day forcast:

                                    https://api.weather.com/v2/pws/dailysummary/7day?stationId=here_PWS&format=json&units=m&apiKey=here_API
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      Saabman Project Sponsor
                                      last edited by

                                      OK Ive had a bit of a play with it today and Ive had “some” success.
                                      Screen Shot 2021-01-03 at 22.21.22.png

                                      The sunrise/set is broken the icons are broken no rain data (which doesnt seem to be in the original any way) and no forecast.

                                      But it does give current Temp, Humdity and the wind direction icon works.

                                      I haven’t looked at the forecast stuff yet. Just commented it all out for the moment.

                                      If you want to have a play clone the Develop branch https://github.com/saabman/MMM-WunderGround/tree/Develop

                                      git clone --single-branch --branch Develop https://github.com/saabman/MMM-WunderGround.git

                                      copy the Config from the readme.md and add your PWS and API key and it “should” give you something.

                                      C 1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        c1olli
                                        last edited by

                                        That’s a good beginning :D
                                        At the moment I have to install MM new, because the update failed and the system was stuck.
                                        I will test it when MM ist working again.

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

                                          @c1olli how did u do the update? manually or my upgrade script?

                                          what error did u get?

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • C Offline
                                            c1olli
                                            last edited by

                                            I did it like it is written in the MM manual.

                                            git clone && npm install
                                            

                                            But I saved the MM folder with all my settings.

                                            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
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • 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