mmm-moon-phases icon indicating copy to clipboard operation
mmm-moon-phases copied to clipboard

Display current moon phase image on MagicMirror2

This Module is discontinued, there will be no more updates

I do not use this module myself, I still have one moon phase module but I use:

https://github.com/NolanKingdon/MMM-MoonPhase

This repo is now discontinued


Magic Mirror Module: mmm-moon-phases

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

Installation

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.