Skip to content
Magic Mirror Module displaying NASA's astronomy picture of the day
JavaScript CSS
Branch: master
Clone or download
Latest commit a238e31 Mar 30, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Mar 18, 2017
LICENSE Initial commit Mar 18, 2017
MMM-nasaastropic.js first working version Mar 18, 2017
README.md first update Mar 18, 2017
nasaastropic.css first version Mar 18, 2017
node_helper.js first working version Mar 18, 2017
package.json init Mar 30, 2017

README.md

MMM-nasaastropic

Magic Mirror Module displaying NASA's astronomy picture of the day

Prerequisites

  • tested only on MagicMirror v2.0.0

Download and Installation

To use this module, clone this repository to your modules folder of your MagicMirror: https://github.com/nebulx29/MMM-nasaastropic

Goto MMM-nasaastropic module directory and run npm install

Configuration

The module needs the default configuration block in your config.js to work.

                {
                        module: 'MMM-nasaastropic',
                        position: 'top_left',
                        config: {
                                updateInterval: 6*60*60*1000,
                                animationSpeed: 0,
                                header: 'NASA Astronomy Picture',
                                maxlongedge: 300
                        }
                },

The following properties can be configured:

Option Description Values Default
updateInterval The update interval. Determines the refresh rate in ms at which sensor is read.
Example: updateInterval: 10000
int 6*60*60*1000ms = 6 hours
animationSpeed Speed of animation when updates occur.
Example: animationSpeed: 0
int 0
header The name that should be displayed at the top of the module
Example: header: 'NASA Astronomy Picture'
String 'NASA Astronomy Picture'
maxlongedge This is a number of pixels the long edge of the picture should have (CSS max-height/max-width attributes).
integer '300'
You can’t perform that action at this time.