Magic Mirror Module displaying NASA's astronomy picture of the day
- tested only on MagicMirror v2.0.0
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
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*1000 ms = 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' |