MagicMirror module to get the current ComEd Hourly Rate for customers
Uses the open/free api that ComEd publishes: https://hourlypricing.comed.com/api?type=currenthouraverage
Go to your MagicMirror modules directory by entering cd MagicMirror/modules
run git clone https://github.com/vincep5/MMM-ComEdPrice
run cd MMM-ComEdPrice
to get into the newly created folder
run npm install
to install the dependencies
Add MMM-ComEdPrice
module to the modules
array in the config/config.js
file:
modules: [
{
module: "MMM-ComEdPrice",
position: "top_right",
header: "ComEd Pricing",
config: {
updateInterval: 10 * 60 * 1000, // every 10 minutes
}
},
]