PVOutput module for MagicMirror
- Now using https://www.chartjs.org to create the chart
- Now using the
#http_fetcherfrom the base to fetch the data
Clone this repository in your modules folder, and install dependencies:
cd ~/MagicMirror/modules
git clone https://github.com/mw46d/MMM-PVoutput.git
cd MMM-PVoutput
npm install --omit=devGo to the MagicMirror/config directory and edit the config.js file. Add the module to your modules array in your config.js.
Enter at minimum your sid & apiKey in the config.js for your MagicMirror installation.
The other options have reasonable defaults.
{
module: 'MMM-PVoutput',
position: 'lower_third',
config: {
sid: <Your pvoutput SystemID>,
apiKey: "<Your pvoutput.org api Key>",
lineWidth: 1,
pointRadius: 1,
displayLegend: false,
displayScales: false,
showConsumption: true,
extData: true,
generationPowerLineColor: "#90ff90",
generationEnergyFillColor: "rgba(100, 200, 100, 0.2)",
consumptionPowerLineColor: "#9090ff",
consumptionEnergyFillColor: "rgba(100, 100, 200, 0.2)",
homePowerLineColor: "#ff9090",
homeEnergyFillColor: "rgba(200, 100, 100, 0.2)",
maxPower: 10000,
width: "400px",
height: "150px",
posRight: null,
posDown: null,
updateInterval: 5 * 60 * 1000, // Milliseconds between refreshes
}
}- Green are the generated power & energy
- Blue are the 'used' power & energy. They include the charging of the battery. The power line is mostly hidden behind the 'generation power' until the battery is completely charged.
- Red are the actual usage power & eneregy of the home. They use extended data points for PVoutput, so they would only be available with a donation account. I'm using v7 for the 'home power' and v12 for the 'home energy'.
- Here is a time range, where I did not push any data to PVOutput. There was a problem with MQTT and the reconnect did not work as expected.

