• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 320.1k 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 Aug 21, 2016, 10:03 PM

    @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?

    R 1 Reply Last reply Aug 22, 2016, 5:54 AM Reply Quote 0
    • R Offline
      RedNax Module Developer @fireshipmate
      last edited by RedNax Aug 22, 2016, 6:22 AM Aug 22, 2016, 5:54 AM

      @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 Aug 22, 2016, 3:33 PM

        @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
        • R Offline
          RedNax Module Developer
          last edited by RedNax Aug 22, 2016, 5:27 PM Aug 22, 2016, 5:27 PM

          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 Aug 22, 2016, 5:49 PM

            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 Aug 27, 2016, 10:19 AM

              Great module, I have always preferred wunderground.

              Thanks a bunch!

              1 Reply Last reply Reply Quote 0
              • R Offline
                RedNax Module Developer
                last edited by RedNax Aug 29, 2016, 12:34 PM Aug 29, 2016, 12:34 PM

                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

                Y 1 Reply Last reply Aug 29, 2016, 1:06 PM Reply Quote 2
                • Y Offline
                  yo-less Module Developer @RedNax
                  last edited by Aug 29, 2016, 1:06 PM

                  @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.

                  R 1 Reply Last reply Aug 29, 2016, 2:15 PM Reply Quote 0
                  • R Offline
                    RedNax Module Developer @yo-less
                    last edited by Aug 29, 2016, 2:15 PM

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

                    1 Reply Last reply Reply Quote 0
                    • Y Offline
                      yo-less Module Developer
                      last edited by Aug 29, 2016, 2:30 PM

                      @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
                      • 3 / 19
                      3 / 19
                      • First post
                        23/182
                        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