MagicMirror module to get a radar map from DarkSky
Go to your MagicMirror modules directory by entering cd MagicMirror/modules
run git clone https://github.com/vincep5/MMM-DarkSkyRadar
run cd MMM-DarkSkyRadar
to get into the newly created folder
run npm install
to install the dependencies
Add MMM-DarkSkyRadar
module to the modules
array in the config/config.js
file:
modules: [
{
module: "MMM-DarkSkyRadar",
position: "top_right",
header: "Radar",
config: {
lat: "41.4026", // Latitude
lon: "-88.8255", // Longitude
height: "600px", //optional default
width: "350px", //optional default
zoomLevel: 6, //optional default (the larger the more zoomed in)
showMarker: false, //optional default
updateInterval: 15 * 60 * 1000, //optional default (15 minutes)
}
},
]
If the radar is not loading try having the zoom level at an even number instead of an odd number.
A similar module to display a radar map with more options is : https://github.com/jojoduquartier/MMM-RAIN-RADAR