/* global Module */
/* Magic Mirror
* Module: WunderGround
*
* By RedNax
* MIT Licensed.
*/
Module.register("MMM-WunderGround", {
// Default module config.
defaults: {
apikey: "8cxxxxxx",
pws: "",
currentweather: 1,
coloricon: false,
units: config.units,
windunits: "mph", // choose from mph, bft
updateInterval: 10 * 60 * 1000, // every 10 minutes
animationSpeed: 1000,
timeFormat: config.timeFormat,
lang: config.language,
showWindDirection: true,
fade: false,
fadePoint: 0.25, // Start on 1/4th of the list.
tz: "",
fcdaycount: "5",
fcdaystart: "0",
hourly: "0",
hourlyinterval: "3",
hourlycount: "2",
fctext: "1",
alerttime: 5000,
roundTmpDecs: 1,
UseCardinals: 0,
layout: "vertical",
sysstat: 0,
scaletxt: 1,
retryDelay: 2500,
apiBase: "http://api.wunderground.com/api/",
iconTableDay: {
"chanceflurries": "wi-day-snow-wind",
"chancerain": "wi-day-showers",
"chancesleet": "wi-day-sleet",
"chancesnow": "wi-day-snow",
"chancetstorms": "wi-day-storm-showers",
"clear": "wi-day-sunny",
"cloudy": "wi-cloud",
"flurries": "wi-snow-wind",
"fog": "wi-fog",
"haze": "wi-day-haze",
"hazy": "wi-day-haze",
"mostlycloudy": "wi-cloudy",
"mostlysunny": "wi-day-sunny-overcast",
"partlycloudy": "wi-day-cloudy",
"partlysunny": "wi-day-cloudy-high",
"rain": "wi-rain",
"sleet": "wi-sleet",
"snow": "wi-snow",
"tstorms": "wi-thunderstorm"
},
iconTableNight: {
"chanceflurries": "wi-night-snow-wind",
"chancerain": "wi-night-showers",
"chancesleet": "wi-night-sleet",
"chancesnow": "wi-night-alt-snow",
"chancetstorms": "wi-night-alt-storm-showers",
"clear": "wi-night-clear",
"cloudy": "wi-night-alt-cloudy",
"flurries": "wi-night-alt-snow-wind",
"fog": "wi-night-fog",
"haze": "wi-night-alt-cloudy-windy",
"hazy": "wi-night-alt-cloudy-windy",
"mostlycloudy": "wi-night-alt-cloudy",
"mostlysunny": "wi-night-alt-partly-cloudy",
"partlycloudy": "wi-night-alt-partly-cloudy",
"partlysunny": "wi-night-alt-partly-cloudy",
"rain": "wi-night-alt-rain",
"sleet": "wi-night-alt-sleet",
"snow": "wi-night-alt-snow",
"tstorms": "wi-night-alt-thunderstorm"
}
},
Read the statement by Michael Teeuw here.
Posts made by jbeck615
-
RE: Throwing down the gauntlet
-
RE: Throwing down the gauntlet
@Mykle1 thats what i meant but poorly wrote that. i got the idea from your script but im thinking that there may be a away to have the icon for the current different from the forecast icons
-
RE: Throwing down the gauntlet
@Mykle1 thanks for sharing! the width of the monthly calendar was bothering me and i was going to research later anyway!
-
RE: Throwing down the gauntlet
@strawberry-3.141 So I can definitely post the css coding but my pi takes some time to start up some days it seems… anyway what I was ultimately trying to do was, using wunderground, get rid of the last column as you and Mykle1 showed above and get the icon for current to look realistic/color but keep the forecast icons as generic icons. so the way i attempted this was incorporate all of the edits you all provided above. then i repeated wunderground twice in the modules, one to show current and the color icon (realistic icon) and a second time just to show forecast but with generic icons. however when i stack them both in top right thats where i get the unwanted icons. if i put current wunderground in the top center then they go away. thoughts? i can provide css if needed for sure. thanks for even looking! ![alt text]( image url)
-
RE: Throwing down the gauntlet
@strawberry-3.141 oh my thank you SO much for offering. i hate asking for help but let me tinker with it for a couple of days and if no luck i will take you up on the offer. LOVE this community. thank you again for even offering!
-
RE: Throwing down the gauntlet
@jproehl thank you. ill do some deeper vetting. thanks!
-
RE: Throwing down the gauntlet
@jproehl curious if you ever solved #2? i got the same issue with the icons showing up under the current
-
RE: Monthly Calendar
@KirAsh4 calendar worked flawlessly and thank you for posting… curious if there was a way to reduce the space between the columns of numbers? im not programmer at all just FYI but figured out mm through trial and error… wish i used this forum beforehand!