Earth globe for MagicMirror2
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
LukeSkywalker92 Merge pull request #2 from SvenSommer/master
added image source for central america
Latest commit 9760417 Jan 25, 2017

README.md

MMM-Globe

This a module for the MagicMirror. It can display live images of our planet. The pictures are taken from the Himawari-8 sattelite. You can also display custum pictures.

Preview

Installation

  1. Navigate into your MagicMirror's modules folder and execute git clone https://github.com/LukeSkywalker92/MMM-Globe.git.

Config

The entry in config.js can include the following options:

Option Description
style Style of the image. There are four diffrent styles available. You can preview them here for the asia-centric images or [here for for the africa/europe-centric images] (http://oiswww.eumetsat.org/IPPS/html/latestImages.html) or [here for latin america-centric images] (http://goes.gsfc.nasa.gov/goescolor/goeseast/overview2/color_lrg/latestfull.jpg)

Type: string
Possible values: natColor, geoColor, airMass, fullBand, europeDiscNat, europeDiscSnow, centralAmericaDiscNat
imageSize Defines the size of the displayed image in pixels.

Type: integer
Default value: 600
updateInterval How often the image is updated. There is a new picture uploadet every 10 minutes. So there is no need to go faster.

Default value: 10 • 60 • 1000 // every 10 minutes
ownImagePath If you want to display a custom picture, place the link of it here. The module will automatically display it.

Default value: ''

Here is an example of an entry in config.js

{
	module: 'MMM-Globe',
	position: 'center',
	config: {
		style: 'geoColor',
		imageSize: 600,
		ownImagePath:'',
		updateInterval: 10*60*1000
	}
},

Special Thanks