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 5.7k 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 @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/

      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/

          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/

              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/

                  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/

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

                      Update v2.1.4 - Released!

                      The module display has been too rigid and only worked in the middle_center position.

                      I have made a number of changes to the css which now allows the module to be displayed in any of the other regions.

                      The updates are currently on my dev branch for anybody who would like to test. I will release to main by the end of the weekend.

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                      Check my blog-post: https://mumblebaj.xyz/

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

                        v2.2.0 Upgrade

                        I have decided to refactor the code to make it a little easier to manage

                        • Update growatt library to latest
                        • Added helper functions
                        • Add a connection retry in cases where connection to the Growatt server is down or interrupted
                        • Add better error handling

                        Current users do NOT have to update to the latest version unless you want to be on the latest version.

                        If you do decide to upgrade and experience any issues, please open an issue on the MMM-Growatt Github page.

                        The same updates were applied to the MMM-Growatt-Stats module. If you update and experience any issues please open a ticket at the MMM-Growatt-Stats Github page.

                        Check out my modules at: https://github.com/mumblebaj?tab=repositories
                        Check my blog-post: https://mumblebaj.xyz/

                        N 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • 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