This is a module for MagicMirror².
This module will show all recent or future launches bases on the SpaceX API. I'm still working on expanding the module with additional information and options. If you have nice ideas, then you should certainly pass them on.
- Navigate to your MagicMirror's modules folder, and run the following command:
git clone https://github.com/koxm/MMM-SpaceX.git
- Add the module and a valid configuration to your
config/config.js
file
This is an example configuration for your config/config.js
file:
var config = {
modules: [
{
module: "MMM-SpaceX",
position: "middle_center",
config: {
records: 8,
modus: "past",
showExtraInfo: false,
showColumnHeader: true,
}
},
]
}
Option | Description |
---|---|
records |
Optional - The number of lines you want to show Default: 5 |
modus |
Optional - 'past' for past launches, 'upcoming' for future launches Default: past |
showExtraInfo |
Optional - Do you want to show the launchsite (true) or not (false) Default: false |
showColumnHeader |
Optional - Choose if you want to see columnheadings Default: false |
-
In small mode, the columns are as follows: Agency, Mission, Launche Date and Rocket. The extra info option gives you the Launch Site, Payload and Orbit extra on screen.
-
There are a few abbreviations used to save space on the screen, especially in the case of a small region. The following abbreviations are useful to know:
- VLEO = Very Low Earth Orbit
- SO = Sub Orbital
- GEO = Geostationary Orbit
- GTO = Geostationary Transfer Orbit
- SSO = Sun-synchronous Orbit
- ISS = International Space Station Low Earth Orbit
- The launch sites have also been abbreviated. Some examples below.
- CCAFS SLC 40 = Cape Canaveral Air Force Station Space Launch Complex 40
- KSC LC 39A = Kennedy Space Center Historic Launch Complex 39A
- VAFB SLC 3W = Vandenberg Air Force Base Space Launch Complex 3W
- VAFB SLC 4E = Vandenberg Air Force Base Space Launch Complex 4E
- STLS = SpaceX South Texas Launch Site
- Kwajalein Atoll = Kwajalein Atoll Omelek Island
This is a screenshot with extra info on false. Looks best on a left or right region.
This is a screenshot with extra info on true. Looks better on a wider region, for example middle_center or bottom_bar.