'MMM-YrMeteogram' is a module for displaying a meteogram (48 hours) for any location.
Current version is 1.1.0. See changelog for version history.
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/'
}
},
These are the valid configuration options:
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 /
!
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.
Show messages in the log if set to true
. Default is false
.
To update MMM-YrMeteogram, go to the MMM-YrMeteogram folder:
cd ~/MagicMirror/modules/MMM-YrMeteogram
git pull
pm2 restart mm
- Meteogram is made by Yr. Thanks to them!
Good luck!