Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 1.86 KB

README.md

File metadata and controls

55 lines (40 loc) · 1.86 KB

MMM-RunningForecast

The MMM-RunningForecast is a MagicMirror² module that displays running forecasts from weather.com.

Running Forecast

Installation

  1. Navigate to your MagicMirror modules directory:

    cd ~/MagicMirror/modules
  2. Clone the repository:

    git clone https://github.com/yourusername/MMM-RunningForecast.git
  3. Navigate to the module's directory:

    cd MMM-RunningForecast
  4. Install the dependencies:

    npm install

Configuration

To use this module, add it to the config.js file in your MagicMirror configuration directory. Here is an example configuration:

{
    module: "MMM-RunningForecast",
    position: "top_right",
    config: {
        updateInterval: 3600000, // Update interval in milliseconds
        url: "https://weather.com/activity-hub/running/ff7365bc39d17586e7712568d30f5fc13663ab9db4b676b3f2eb80eeb3cad4c1"
    }
}

Configuration Options

Option Description Default Value
updateInterval The interval at which the module updates, in milliseconds. 3600000
url The URL to fetch the running forecast data from. ""

For the url, go to the "Activities Hub" in weather.com, type the desired location in the text bar. The web page should have a "Running Forecast" section. Copy the URL to the configuration setting.

License

This project is licensed under the MIT License - see the LICENSE file for details.