Read the statement by Michael Teeuw here.
Weatherunderground - currently - hourly - daily - configurable
-
@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? -
@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 ;)
-
@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.
-
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.
-
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!
-
Great module, I have always preferred wunderground.
Thanks a bunch!
-
New version now shows the current moon phase and there’s a new layout option :)
in config set layout:“vertical” for the traditional layout:
or layout: “horizontal” for:
-
@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.
-
@yo-less Thanks, i’ve added your suggestion :D
-
@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.