Skip to content

Latest commit

 

History

History
77 lines (68 loc) · 1.69 KB

README.md

File metadata and controls

77 lines (68 loc) · 1.69 KB

MMM-Sunrise-Sunset

A MagicMirror module to show local sunrise/sunset/noon times

This is an extension to the MagicMirror project, allowing the display of local sunrise, sunset and solar noon times.

Installation

Run these commands at the root of your magic mirror install.

cd modules
git clone https://github.com/prydonian/MMM-Sunrise-Sunset

Updating

cd MagicMirror/modules/MMM-Sunrise-Sunset
git pull

Using the module

To use this module, add the following configuration block to the modules array in the config/config.js file. Works best in the bottom_bar position when the layout is set to "inline".

var config = {
    modules: [
        {
            module: 'MMM-Sunrise-Sunset',
            position: "bottom_bar",
            config: {
                // See below for configurable options
            }
        }
    ]
}
Option Description
latitude* Your local latitude. e.g.: "21.567"
longitude* Your local longitude. e.g.: "12.789"
apiKey* Sign up at https://ipgeolocation.io/signup.html for a free API key
layout* "inline" or "list"
*required