The MMM-RunningForecast
is a MagicMirror² module that displays running forecasts from weather.com.
-
Navigate to your MagicMirror modules directory:
cd ~/MagicMirror/modules
-
Clone the repository:
git clone https://github.com/yourusername/MMM-RunningForecast.git
-
Navigate to the module's directory:
cd MMM-RunningForecast
-
Install the dependencies:
npm install
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"
}
}
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.
This project is licensed under the MIT License - see the LICENSE file for details.