diff --git a/pix/1.gif b/pix/1.gif new file mode 100644 index 0000000..b052589 Binary files /dev/null and b/pix/1.gif differ diff --git a/pix/README.md b/pix/README.md new file mode 100644 index 0000000..853eecd --- /dev/null +++ b/pix/README.md @@ -0,0 +1,56 @@ +## MMM-SunRiseSet + +More information than you ever wanted to know about the rising and setting of the sun. + +## The information + +* Sunrise: The actual time the rising sun breaches the horizon. +* Sunset: The actual time the sun falls completely below the horizon. +* Solar Noon: The actual time when the sun is at its highest altitude in the sky. +* Day Length: The length of time between sunrise and sunset. +* Civil Twilight: The geometric center of the Sun is at most 6 degrees below the horizon. +* Nautical Twilight: The geometric center of the Sun is between 6 and 12 degrees below the horizon. +* Astronomical Twilight: The geometric center of the Sun is between 12 and 18 degrees below the horizon. + +## Examples with static graph + +* MMM-Lunartic in top_left region + +![](pix/1.JPG) + +* MMM-SunRiseSet in bottom_left region + +## Example animation instead of static graph + +![](pix/1.gif) + +* Obviously, the shadow will move much more slowly + +Annotated .css file included for aligning and coloring text and header. + +## Installation + +* `git clone https://github.com/mykle1/MMM-SunRiseSet` into the `~/MagicMirror/modules` directory. + +* No API key needed! No dependencies needed! No kidding! + + +## Config.js entry and options + + { + disabled: false, + module: "MMM-SunRiseSet", + position: "bottom_left", + config: { + lat: "40.574783", // Your latitude (for the data) + lng: "-74.112450", // Your longitude (for the data) + image: "world", // world (animation) or static (graph) + useHeader: false, // true if you want a header + header: "Header", // useHeader must be true + maxWidth: "300px", + } + }, + + +## Thanks go to SpaceCowboysDude for UTC and moment advice +## Thanks also to Sean and Strawberry for updateDOM guidance \ No newline at end of file