Giter Club home page Giter Club logo

mmm-yrmeteogram's Introduction

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!

mmm-yrmeteogram's People

Contributors

catoantonsen avatar

Watchers

 avatar  avatar

mmm-yrmeteogram's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.