Display a picture of the current moon phase along with moonrise and moonset times on your MagicMirror²!
Add the module to your MagicMirror² like any other module, then add the "lat", "lon", and "timezone" parameters to your configuration file! The app calls the AstronomyAPI and gets an image with your parameters, then throws it onto your mirror!
- MagicMirror² instance
Just clone the module into your MagicMirror’s modules folder:
git clone https://github.com/EnderFlop/MMM-Moon
Option | Description |
---|---|
lat |
The latitude of your location Type: number Example: 20.545 Default value: 41.657 |
lon |
The longitude of your location Type: number Example: -67.420 Default value: 91.534 |
timezone |
Your timezone in TZ database format Type: string Example: Europe/Paris Default value: America/Chicago Note: You can find a list of all TZ timezones here. |
Here is an example for an entry in config.js
:
{
module: "MMM-Moon",
position: "top_left",
config: {
lat: 20.545,
lon: -67.420,
timezone: "Europe/Paris"
}
},
Updating is as easy as navigating to the module’s folder, pull the latest version from GitHub.
git pull