Display current moon phase image on MagicMirror2
Switch branches/tags
Nothing to show
Clone or download
spectroman Update node_helper.js
force https proto
Latest commit ac27c95 Jul 27, 2018
Failed to load latest commit information.
cache add cache dir Jul 29, 2017
LICENSE Initial commit Sep 26, 2016
README.md Create README.md Jun 10, 2017
mmm-moon-phases.js Automatic top for the image Jun 11, 2018
node_helper.js Update node_helper.js Jul 27, 2018


Magic Mirror Module: mmm-moon-phases

This MagicMirror2 module allows you to fetch an image of the moon in its current phase


In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules
git clone https://github.com/spectroman/mmm-moon-phases.git

Configure the module in your config.js file.

Using the module

There isn't much to configure really, you just need to position it and optionally set a suitable size for you via the config options.

Now add the module to the modules array in the config/config.js file:

modules: [
                module: 'mmm-moon-phases',
                header: 'Current Moon Phase',   // optionally you can add a header to this block
                position: 'bottom_left',        // this can be any of the regions
                config: {

Config Options

Option Default Description
height 200 The height of the image.
width 200 The width of the image.