LukeSkywalker92 / MMM-Globe

Earth globe for MagicMirror2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 custom 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 different styles available depending on your desired center. Preview them here:
* Asia-centric images
* Africa/Europe-centric images
* Latin America-centric images

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

About

Earth globe for MagicMirror2

License:MIT License


Languages

Language:JavaScript 95.1%Language:CSS 4.9%