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.

    Weatherunderground - currently - hourly - daily - configurable

    Scheduled Pinned Locked Moved Utilities
    182 Posts 47 Posters 357.8k Views 51 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.
    • F Offline
      fireshipmate @RedNax
      last edited by

      @RedNax Hi, since a few days I am configuring my MM and it is a lot of fun with all the cool modules even for me as newbie. I like yours because it was really easy to get it running. But I have still some trouble to remove the decimal for the temperature.
      I changed already the roundValue part to " return parseInt (temperature);" within the MMM-WunderGround.js which works before fine with the old currentweather and weatherforecast .
      Furthermore I wuld like to replace the winddirection icons with the cardials “N,NO…”.
      can you help me on this?

      RedNaxR 1 Reply Last reply Reply Quote 0
      • RedNaxR Offline
        RedNax Module Developer @fireshipmate
        last edited by RedNax

        @fireshipmate Hi!
        The roundValue isn’t used (it’s a leftover bit from earlier versions). The temperature is displayed as it’s delivered in the weather underground payload. You could however modify the code and apply the rounding function to the temp:

        			this.temperature = this.roundValue(this.temperature);
        

        To get cardials “N,NO…”. you could use data.current_observation.wind_dir friom the wu payload which should have them in your defined language. You could assign:

        		windDirectionIcon.innerHTML = this.windDirectionTxt;
        

        You’ll have to take out the arrow, as it will otherwise rotate your winddirectiontxt to the winddirection :D

        Or you could just do a git pull and have a look at the readme ;)

        1 Reply Last reply Reply Quote 0
        • B Offline
          bennerzzz
          last edited by

          @RedNax Hi, I installed this module yesterday however, I received an email pertaining to my api key exceeding the allotted rate of 10 in which I had 22. I have the free plan of 500 calls. Should I decrease the updateInterval? If so, to what value?

          thanks.

          1 Reply Last reply Reply Quote 0
          • RedNaxR Offline
            RedNax Module Developer
            last edited by RedNax

            Hi,

            You went over the 10 calls per minute, probably while setting up/testing? The default settings won’t go over that when left alone. When you debug/play with :D your mirror through a browser on your pc and hit f5 a lot, you’ll go over it quickly. I’ve personally never had it happen.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bennerzzz
              last edited by

              Yes, it said I went over 10 calls/minute while testing and perhaps refreshing the page caused it to do so. Anyway, thanks for the quick reply. Awesome module!

              1 Reply Last reply Reply Quote 0
              • M Offline
                moosedookie
                last edited by

                Great module, I have always preferred wunderground.

                Thanks a bunch!

                1 Reply Last reply Reply Quote 0
                • RedNaxR Offline
                  RedNax Module Developer
                  last edited by RedNax

                  New version now shows the current moon phase and there’s a new layout option :)

                  in config set layout:“vertical” for the traditional layout:

                  0_1472473973909_wunderground-vertical.png

                  or layout: “horizontal” for:

                  0_1472473998658_wunderground-horizontal.png

                  yo-lessY 1 Reply Last reply Reply Quote 2
                  • yo-lessY Offline
                    yo-less Module Developer @RedNax
                    last edited by

                    @RedNax Excellent idea, I really like the new layout option. As soon as you have more than 4 days in the forecast table, though, you end up with a module that takes up a lot of your screen, I’d suggest adding a new table row every four days.

                    RedNaxR 1 Reply Last reply Reply Quote 0
                    • RedNaxR Offline
                      RedNax Module Developer @yo-less
                      last edited by

                      @yo-less Thanks, i’ve added your suggestion :D

                      1 Reply Last reply Reply Quote 0
                      • yo-lessY Offline
                        yo-less Module Developer
                        last edited by

                        @RedNax That was quick :D. Nice!
                        I’m still toying around with my fork of your module but I’ve made so many minor and bigger adjustments that it will be hard to simply merge the two module versions, as I would have to make every adjustment customizable in the config file to submit a pull request you could easily merge, but I will keep you updated on my progress.

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 18
                        • 19
                        • 2 / 19
                        • 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