MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Growatt

    Scheduled Pinned Locked Moved Utilities
    26 Posts 3 Posters 8.4k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mumblebajM Offline
      mumblebaj Module Developer @andersfalt
      last edited by

      @andersfalt Good evening. I just replied on Github Issue. Please check there and advise.

      Check out my modules at: https://github.com/mumblebaj?tab=repositories
      Check my blog-post: https://mumblebaj.xyz/
      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

      1 Reply Last reply Reply Quote 0
      • mumblebajM Offline
        mumblebaj Module Developer @mumblebaj
        last edited by

        @mumblebaj

        Changes

        Updated module to no longer require user to specify plantId and deviceSerial. The values will be automatically obtained.

        Future updates

        Investigate adding multiple device support.

        Check out my modules at: https://github.com/mumblebaj?tab=repositories
        Check my blog-post: https://mumblebaj.xyz/
        Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

        mumblebajM 1 Reply Last reply Reply Quote 0
        • mumblebajM Offline
          mumblebaj Module Developer @mumblebaj
          last edited by

          Update v2.0.0

          • Module updated to cater for different Growatt Inverter Types.
            Different Growatt Inveters models return different datasets. The update now caters for some of the models. Models catered for is storage, tlx and tlxh. Others can be added as and when required. Log an issue on the modules github issues.
          • npm module growatt updated to v0.5.6
            Updated the npmjs module growatt to the latest version which caters for the different inverter types.
          • plantId and deviceSerrial no longer required as part of the module config.
          • New Config would look like the below
          {
                     module: "MMM-Growatt",
                     position: "middle_center", //Works best at middle_center. May not display all that well in other positions
                     disabled: false,
                     config: {
                         username: "username",
                         password: "password",
                         updateInterval: 1000*60*30 ,//Update every 30 minutes
                                 }
          },
          

          New Module Created for Totals
          Created a new module, MMM-Growatt-Stats which now displays only totals.
          95bf95c6-aa01-4cb5-aa75-7fd5b6385251-image.png

          You can run both modules at the same time if required. Just follow the installation and or upgrade steps in both modules.

          Check out my modules at: https://github.com/mumblebaj?tab=repositories
          Check my blog-post: https://mumblebaj.xyz/
          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

          mumblebajM 1 Reply Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @mumblebaj
            last edited by

            Update v2.0.1 = 2023/08/31

            • 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.
            {
                        module: "MMM-Growatt",
                        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
                            debug: false, // set to true if you want to create a debug log
                            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
                            
                                    }
            },
            

            Check out my modules at: https://github.com/mumblebaj?tab=repositories
            Check my blog-post: https://mumblebaj.xyz/
            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

            mumblebajM 1 Reply Last reply Reply Quote 0
            • mumblebajM Offline
              mumblebaj Module Developer @mumblebaj
              last edited by

              @mumblebaj There were changes to Growatt API and the current version of the module has stopped working throwing errors.

              Please update to the latest version of the module, v2.0.5 which now works,

              Thanks
              BM

              Check out my modules at: https://github.com/mumblebaj?tab=repositories
              Check my blog-post: https://mumblebaj.xyz/
              Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

              1 Reply Last reply Reply Quote 0
              • N Offline
                nowayto @mumblebaj
                last edited by

                @mumblebaj Hello, can I ask you if there is a way to change module appearance?
                I like your graphics but I need to run it on a small display, so I wanna ask you if there is a way to have a simplified text+number visualization or if I can get rid of battery power, because I don’t own it.
                Your other module “MMM- GrowattStats” could be good for me, but only if I can get rid of “charged” and “discharged” icons.
                A sort of Triangle with “solar” “imported” “load” will be perfect for me.
                Thank you a lot for your nice work

                mumblebajM 1 Reply Last reply Reply Quote 0
                • mumblebajM Offline
                  mumblebaj Module Developer @nowayto
                  last edited by

                  @nowayto Hi. As it stands it is probably not possible. Am I right that you are looking for a scaled down version? There is another MMM-Growatt module out there that does that. You can check it out. I can build a smaller version that would give a similar tabular view but will take some time.

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                  Check my blog-post: https://mumblebaj.xyz/
                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                  N 1 Reply Last reply Reply Quote 0
                  • N Offline
                    nowayto @mumblebaj
                    last edited by

                    @mumblebaj I tried Dekinets’s one but it doesn’t work. login issues, screen stay without infos.
                    [LOG] Error: The server sent an unexpected response: /error.do?errorMess=errorNoLogin
                    at /home/MIRASPNAME/MagicMirror/modules/MMM-Growatt/node_modules/growatt/lib/growatt.js:302:22
                    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

                    He told me to try an API update and I’ll do it when I have 1 minute

                    In the past I tried your module and it worked, but I need a simple visualization and honestly I don’t wanna bother you for a new build.

                    Thank you a lot

                    mumblebajM 2 Replies Last reply Reply Quote 0
                    • mumblebajM Offline
                      mumblebaj Module Developer @nowayto
                      last edited by

                      @nowayto No bother. If you raise a request on my Github page I will look at creating a minimalistic version when i have a bit of time.

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                      Check my blog-post: https://mumblebaj.xyz/
                      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                      1 Reply Last reply Reply Quote 1
                      • mumblebajM Offline
                        mumblebaj Module Developer @nowayto
                        last edited by

                        @nowayto I have managed to create a table view which should give a view as can be seen in the picture below. I am still busy testing this on my dev branch.

                        image-9.png

                        Check out my modules at: https://github.com/mumblebaj?tab=repositories
                        Check my blog-post: https://mumblebaj.xyz/
                        Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                        N 1 Reply Last reply Reply Quote 0
                        • N Offline
                          nowayto @mumblebaj
                          last edited by

                          @mumblebaj Nice!
                          Can I configure it to delete some infos like, for example, battery power and coal saved?
                          Just to make it smaller?
                          And maybe can I change the information order?
                          Only if I can make the changes by config, I don’t wanna bother your for my needs.
                          Thank you

                          mumblebajM 2 Replies Last reply Reply Quote 0
                          • mumblebajM Offline
                            mumblebaj Module Developer @nowayto
                            last edited by

                            @nowayto Those features are not there. Will need to see if I can include it. A little late this side now and I have an early morning. Will look at it afterward.

                            Check out my modules at: https://github.com/mumblebaj?tab=repositories
                            Check my blog-post: https://mumblebaj.xyz/
                            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                            1 Reply Last reply Reply Quote 0
                            • mumblebajM Offline
                              mumblebaj Module Developer @nowayto
                              last edited by

                              @nowayto Changes made. Please review the Github README for details of how to implement.

                              Don’t forget to like and or Star the module on Github.

                              Check out my modules at: https://github.com/mumblebaj?tab=repositories
                              Check my blog-post: https://mumblebaj.xyz/
                              Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                              N 1 Reply Last reply Reply Quote 0
                              • N Offline
                                nowayto @mumblebaj
                                last edited by

                                @mumblebaj Thank you, I put the star
                                Now I’m trying to installing it but I have the dekinet’s one and the folder has same name of yours.
                                Do I have to uninstall dekinets one or is there a way to try your module without uninstall the other one?
                                Thanks

                                mumblebajM 1 Reply Last reply Reply Quote 0
                                • mumblebajM Offline
                                  mumblebaj Module Developer @nowayto
                                  last edited by

                                  @nowayto yes, do rm -rf MMM-Growatt in the ~/MagicMorror/modules folder to remove the other module. Then just git clone my one and configure accordingly in the config.js.

                                  Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                  Check my blog-post: https://mumblebaj.xyz/
                                  Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                  N 1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    nowayto @mumblebaj
                                    last edited by

                                    @mumblebaj First of all, thak you again.
                                    I might found 2 syntax errors:

                                        {
                                            module: "MMM-Growatt",
                                            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
                                                debug: false, // set to true if you want to create a debug log
                                                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'
                                                view: "table", // Only add this if you want a minimalystic table view
                                                rowToDisplay: [ "loadPower", "batteryPower", "solar", "loadPower" ] //Remove items you do not want to display on the table. Table will be ordered in the same order as items appear in the list. Not required of view is not table
                                                updateInterval: 1000*60*30 //Update every 30 minutes
                                                
                                                        }
                                    

                                    },

                                    inside the rowToDisplay line, after the closing square comma, a comma is missing
                                    and between the two square commas there are two “loadPower” so I wrote"gridPower" instead and seems working but in that moment solar power is higher than load so I don’t have any valor in it.

                                    Two question: can I enhance the charachters dimension?
                                    can I add “exportedPower” to it?

                                    Thanks

                                    mumblebajM 1 Reply Last reply Reply Quote 0
                                    • mumblebajM Offline
                                      mumblebaj Module Developer @nowayto
                                      last edited by

                                      @nowayto Hi. I will fix the README when I get some time. Unfortunately you cannot add exportedPower as that is not defined in the module when it gets the text and icons etc.

                                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                      Check my blog-post: https://mumblebaj.xyz/
                                      Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                      N 1 Reply Last reply Reply Quote 0
                                      • N Offline
                                        nowayto @mumblebaj
                                        last edited by

                                        @mumblebaj I fix it by myself, butI just though you were interested about the two errors for other people.
                                        Anyway thank you for everything, exportedPower is not a problem but is there a way to just enhance charachter dimension?

                                        mumblebajM 1 Reply Last reply Reply Quote 0
                                        • mumblebajM Offline
                                          mumblebaj Module Developer @nowayto
                                          last edited by mumblebaj

                                          @nowayto Yes, you can add your own dimensions in the ~/MagicMirror/css/custom.css.

                                          I have noticed an error in the module css. I have corrected it. Please do a git pull before attempting the below changes.

                                          You could set it as follows:

                                          .growatt-table {
                                              font-weight: bold;
                                          	color: orangered;
                                              font-size: 0.5rem;
                                          }
                                          

                                          Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                          Check my blog-post: https://mumblebaj.xyz/
                                          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                          1 Reply Last reply Reply Quote 1
                                          • mumblebajM Offline
                                            mumblebaj Module Developer @mumblebaj
                                            last edited by mumblebaj

                                            @mumblebaj

                                            Update v2.1.3 - Released

                                            • Added animation to the lines to show a visual effect of charging or discharging. Have been wanting to do this for a while and only had the chance to implement this.

                                            The above change is on my dev branch being tested by myself. I welcome others to checkout the dev branch and assist with testing. Everything looks good thus far. If no issues raised against the dev branch then I will release to main over the weekend.

                                            Couple of examples below showcasing the changes.
                                            image-10.gif

                                            image-11.gif

                                            image-12.gif

                                            image-13.gif

                                            Check out my modules at: https://github.com/mumblebaj?tab=repositories
                                            Check my blog-post: https://mumblebaj.xyz/
                                            Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                                            mumblebajM 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy