Skip to content

Minimalist Weather for the bottom_bar or thirds position of your MagicMirror

License

Notifications You must be signed in to change notification settings

Fifteen15Studios/MMM-wundergroundBar

 
 

Repository files navigation

MMM-wundergroundBar

Features

  • Weather forecast for today and the next 3 days, retrieved from www.wunderground.com
  • Designed for use in the bottom_bar or top_bar position of your MagicMirror.
  • Sunrise and Sunset times for the current day.
  • Weather forecast for each day and night.
    • Daily highs displayed with daytime forecast.
    • Overnight lows displayed with the nighttime forecast.
    • Short description of weather forecast.
    • Images representing the forecast.
  • Option to display the current weather, in words, at the top.

Screenshots

Installation and requirements

In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/Fifteen15Studios/MMM-wundergroundBar

Get your free API key

Configure the module in the ~/MagicMirror/config/config.js file.

Config.js entry and options

Example

{
	module: "MMM-wundergroundBar",
	header: "Wetaher" // Optional
	position: "bottom_bar", // bottom_bar or top_bar is best
	config: {
		apiKey: "abcdefg123456789", // Free API key @ https://www.wunderground.com. Empty by default
		tempUnits: "e", // e or m
        	// Default location is the statue of liberty
		latitude: '40.6892534',
		longitude: '-74.0466891'
	}
}
Option Default Description
apiKey "" Free API key obtained from https://wunderground.com
language "en-US" Display language. Can be any langauge code from the wunderground documentation
tempUnits "e" "e" for English / Imperial units (F), or "m" for Metric units (C)
latitude "40.6892534" Latitude of your current location. Best obtained from a site like Google Maps
longitude "-74.0466891" Longitude of your current location. Best obtained from a site like Google Maps
showCurrentText true true if you want to show text of current weather conditions.
showText true true if you want to show text of daily weather conditions.
iconSize "2%" Size of the images displayed with the weather. Can be a percentage, like "1%", or a number, like 25.
maxWidth "100%" Max amount of the screen width to use.
animationSpeed 3000 How long to animate the new data (in milliseconds).
retryDelay 2500 How long to wait to rety when data retrieval failed (in milliseconds).
updateInterval 5 * 60 * 1000 How long to wait between data updates (in milliseconds).

About

Minimalist Weather for the bottom_bar or thirds position of your MagicMirror

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.9%
  • CSS 9.1%