MMM-YrMeteogram is MagicMirror² module for displaying a meteogram
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
CHANGELOG.md
MMM-YrMeteogram.js
README.md
illustration.png

README.md

MagicMirror² Module: YR Meteogram

'MMM-YrMeteogram' is a module for displaying a meteogram (48 hours) for any location.

Example

Current version is 1.1.0. See changelog for version history.

Installation

Remote to your Raspberry Pi and clone the repository:

cd ~/MagicMirror/modules
git clone https://github.com/CatoAntonsen/MMM-YrMeteogram.git

Add the module to the modules array in the config/config.js file by adding the following section:

{
	module: 'MMM-YrMeteogram',
	position: 'bottom_right',
	config: {
		url: 'https://www.yr.no/place/Norway/Oslo/Oslo/Nyjordet/'
	}
},

Configuration options

These are the valid configuration options:

url

You have to get a URL for your desired location by searching at Yr. You can change to a different language (Norsk/Ny-norsk, sami or English) in upper right corner. When you have found your location, copy the link and paste into config's url. Keep last /!

refreshInterval

How often you want the meteogram to update. Try to not refresh too often since it doesn't make sence. Default is 60000 which is every 10 minutes.

debug

Show messages in the log if set to true. Default is false.

Update

To update MMM-YrMeteogram, go to the MMM-YrMeteogram folder:

cd ~/MagicMirror/modules/MMM-YrMeteogram
git pull
pm2 restart mm

Credits

  • Meteogram is made by Yr. Thanks to them!

Good luck!