Skip to content

Weather module for MagicMirror² - Hourly forecast for multiple days

License

Notifications You must be signed in to change notification settings

dWoolridge/MMM-WeatherHourlyByDay

Repository files navigation

MMM-WeatherHourlyByDay

This module for MagicMirror² displays an hourly forecast table for multiple days. Allows you to specify what hours of the day to include and which forecast components will be displayed (icon, temperature, windspeed, wind direction).

Screen shot

Requires:

  • A MagicMirror weather module that provides hourly forecast data.
  • That module must broadcast a "WEATHER_UPDATED" notification with a payload of type WeatherObject, containing the hourly weather data. All default "weather" modules with type: "hourly" should do this.

Manual install

Go To MagicMirror/modules folder and then:

git clone https://github.com/dWoolridge/MMM-WeatherHourlyByDay.git
cd MMM-WeatherHourlyByDat
npm install

Configuration:

    {
      module: "MMM-WeatherHourlyByDay",
      position: "top_left",
      hiddenOnStartup: false,
      header: "Forecast by Day",
      config: {
        roundTemp: true,                   // Round temperature to integer
        appendLocationNameToHeader: true,  // Show the WeatherObject.location text with the header
        dailyStartHour: 9,                 // Hour of the day to start showing the weather forecast (0-23)
        dailyEndHour:   17,                // Hour of the day to stop showing the weather forecase (0-23)
        daysToShow:     3,                 // Number days to show in the table (each day is a column)
        degreeLabel: false,                // Show the degree label (F, C, K) with the temperature

        showWeatherIcon: true,             // Include the forecast weather Icon for each time
        showTemperature: true,
        showWindSpeed:  true,
        showWindDirection: true,
      }
    },

Collaborate

Pull requests are welcome.

Thanks to

rejas for his help in how to implement this weather module.

TO DO

About

Weather module for MagicMirror² - Hourly forecast for multiple days

Resources

License

Stars

Watchers

Forks

Packages

No packages published