A MagicMirror² module to display Growatt Power Plant Status Data from Growatt.
- growatt
- Requires MagicMirror² v2.23.0. Built and tested on this version. May work on earlier versions but not tested nor supported.
- Requires that you have an account on Growatt.com
In your terminal, go to your MagicMirror's Module folder:
cd ~/MagicMirror/modules
Clone this repository:
git clone https://github.com/mumblebaj/MMM-Growatt-Stats.git
cd MMM-Growatt-Stats
npm install
Add the module to the modules array in the config/config.js
file:
{
module: "MMM-Growatt-Stats",
position: "middle_center", //Works best at middle_center. May not display all that well in other positions
disabled: false,
config: {
username: "username",
password: "password",
usServer: true, // only used by US Registered users
mode: "dual", // Specify 'dual' when running https://github.com/mumblebaj/MMM-Growatt.git and https://github.com/mumblebaj/MMM-Growatt-Stats.git together else specify 'single'
updateInterval: 1000*60*30 //Update every 30 minutes
}
},
You can apply your own styling for the module.
- Go to
~/MagicMirror/css
and you can add your styling customizations to the custom.css file. - In custom.css you can add the following to make the text values bigger
.MMM-Growatt-Stats .totalPan.many .val {
font-size: 1.5vw;
}
.MMM-Growatt-Stats .totalPan .text {
font-size: 20px;
}
- To resize the images, add the following to custom.css
.MMM-Growatt-Stats .totalPan .toptext .img {
width: 75px;
height: 75px;
}
To update the module to the latest version, use your terminal to go to your MMM-Growatt-Stats module folder and type the following command:
cd MMM-Growatt-Stats
git pull
npm install
- Minor cosmetic changes made to Loadconsumption display. Made font size slightly smaller as it wraps currently with huge amounts
- Update the version of growatt to v0.7.4 as there were some changes on growatt
- Update module to use growatt v 0.7.1
- Update module to cater for different Inverter types as the different inverter types return different datasets.
- Update Module version to v2
- Add a dual and single mode to allow running MMM-Growatt and MMM-Growatt-Stats together.
- Running in dual mode, MMM-Growatt-Stats now get it's data from MMM-Growatt.
- Running in "single" mode the module will make it's own request to the Growatt server
- Had a request from user ruralbrewer to add support for https://server-us.growatt.com.
- Users in the US registered on the US Growatt Server are now able to use the module.
- A new Config option usServer: true must be added to the config/config.js. Users registered on the https://server.growatt.com need not add this option.