Skip to content

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

Notifications You must be signed in to change notification settings

prydonian/MMM-Sunrise-Sunset

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published