Skip to content

spectroman/mmm-moon-phases

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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.

About

Display current moon phase image on MagicMirror2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published