MagicMirror module to get recent US Rainfall amounts
Uses the open/free api https://data.rcc-acis.org/StnData http://www.rcc-acis.org/docs_webservices.html
run git clone https://github.com/vincep5/MMM-RecentRainfall from inside your MagicMirror/modules folder
Add MMM-RecentRainfall
module to the modules
array in the config/config.js
file:
modules: [
{
module: "MMM-RecentRainfall",
position: "top_right",
header: "Rainfall",
config: {
station_id: 'JFK', // id via http://www.rcc-acis.org/docs_metadata.html
days_to_get: 7, // number greater than 1
show_image: true, // show the departure from normal as an image
state_id: 'ny', // if show_image is true, then this is required
image_width: 150 // if show_image is true, then this is required
}
},
]