Skip to content

MagicMirror² module - To get and display Growatt Inverter Total Data on your MM

License

Notifications You must be signed in to change notification settings

mumblebaj/MMM-Growatt-Stats

Repository files navigation

MMM-Growatt-Stats

A MagicMirror² module to display Growatt Power Plant Status Data from Growatt.

Platform license

Example

Dependencies

  • 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

Installation

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
                
                        }
},

Example

CSS Changes

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;
}

Updating

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

Change Log

2024/07/05

  • Minor cosmetic changes made to Loadconsumption display. Made font size slightly smaller as it wraps currently with huge amounts

2024/07/04

  • Update the version of growatt to v0.7.4 as there were some changes on growatt

2024/01/27

  • Update module to use growatt v 0.7.1

2023/08/07

  • Update module to cater for different Inverter types as the different inverter types return different datasets.
  • Update Module version to v2

2023/08/09

  • 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

2023/09/05

About

MagicMirror² module - To get and display Growatt Inverter Total Data on your MM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published