Giter Club home page Giter Club logo

mmm-weather-meteoblue-astronomy's Introduction

MMM-weather-meteoblue-astronomy

Magic Mirror Module Weather forecast for astronomy - data from meteoblue

Installation

# go to the MagicMirror installation
cd MagicMirror

# go to the modules directory
cd modules

# clone the git repository
git clone https://github.com/eobermuhlner/MMM-weather-meteoblue-astronomy.git

Configuration

Get an API Key from meteoblue: https://www.meteoblue.com/en/weather-api

Edit the MagicMirror/config/config.js file:

	modules: [
    {
      module: "MMM-weather-meteoblue-astronomy",
      position: "top_right",
      config: {
        lat: 47.22557,
        lon: 8.82228,
        asl: 424, // optional - elevation above sea level
        tz: "Europe%2FZurich",
        apikey: "TEST", // replace this with your APIKEY
        package: "basic-3h",
        layout: "horizontal" // vertical or horizontal
      }
    }
  ],

Supported packages are:

  • current
  • basic-day
  • basic-3h
  • basic-1h
  • basic-15m
  • clouds_day
  • clouds_3h
  • clouds_1h

It is possible to combine multiple packages using _, for example:

  • basic-1h_clouds-1h

The API Key TEST will show some hardcoded example weather data. This allows to test the plugin without incurring cost for requests.

Default configuration:

		package: "basic-3h",
		refreshHours: 6,
		refreshMinutes: 0,
		tz: "Europe%2FZurich",
		pictogramSmall: 30,
		pictogramLarge: 100,
		layout: "horizontal",
		maxElements: 7,
		opacityFactor: 0.8,
		dateFormat: "DD.MM.YYYY",
		timeFormat: "HH:mm",
		show: [ "date", "weekday", "time", "pictogram", "precipitation", "temperature", "wind", "clouds", "visibility" ],

Screenshots

Horizontal basic-3h

horizontal basic-3h

Vertical basic-3h

vertical basic-3h

Vertical basic-day

vertical basic-day

Horizontal basic-3h + clouds-1h

horizontal basic-1h clouds-1h

Horizontal basic-1h with custom order

    package: "basic-1h",
    layout: "horizontal",
    show: [ "weekday", "time", "pictogram", "temperature" ],
    maxElements: "10",

horizontal basic-1h custom

mmm-weather-meteoblue-astronomy's People

Contributors

eobermuhlner avatar

Watchers

 avatar  avatar

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.