• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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-Hoymiles-Wifi

Scheduled Pinned Locked Moved Development
25 Posts 5 Posters 3.4k Views 4 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.
  • S Offline
    schris88
    last edited by sdetweil Nov 4, 2024, 3:01 PM Nov 4, 2024, 2:50 PM

    Hello, as I got into some PV lately I found no module to display the output of my solar panels, the new Hoymiles inverters with integrated wifi are not supported by OpenDTU or Ahoy because they no longer send via 2,4Ghz or Sub-1G.

    This is a quick hacked solution for the issue, it uses the python library hoymiles-wifi to get the inverter data via protobuf from the connected inverter in your home network, then it renders 3 values as gauge and text with plotly

    It´s working and looks okay, not much configuration right now, you have to set your inverter ip in the hoymiles_data.py and add the config to display the html.

    Maybe someone sees this and finds it usefull, if there is any interest in the community I can work on this some more

    https://github.com/schris88/MMM-Hoymiles-Wifi
    moderator edited to expose the full url

    K E S 3 Replies Last reply Nov 4, 2024, 3:16 PM Reply Quote 1
    • K Offline
      KristjanESPERANTO Module Developer @schris88
      last edited by Nov 4, 2024, 3:16 PM

      @schris88 Nice :-) Don’t forget to add it to the module list: https://github.com/MagicMirrorOrg/MagicMirror/wiki/3rd-party-modules

      1 Reply Last reply Reply Quote 0
      • E Offline
        evroom @schris88
        last edited by Nov 5, 2024, 6:22 PM

        @schris88

        Hi there,

        I am using hoymiles-wifi myself and am curious on how it looks on the MagicMirror.
        Very nice initiative !!

        Trying to get your module working, but no luck till now.
        I will open some Issues for you to have a look at.

        Best regards,

        E.J.

        MagicMirror version: 2.30.0
        Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        Test environment:
        MagicMirror version: v2.30.0
        Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
        Raspbian GNU/Linux 12 (bookworm)

        S 1 Reply Last reply Nov 5, 2024, 8:50 PM Reply Quote 0
        • S Offline
          schris88 @evroom
          last edited by Nov 5, 2024, 8:50 PM

          @evroom We will make this work, great input, there is so many possibilities what and how to display the data.
          Im thinking about feeding a free tier mongodb or some local docker db for long time charts.

          E 1 Reply Last reply Nov 6, 2024, 2:14 PM Reply Quote 0
          • E Offline
            evroom @schris88
            last edited by Nov 6, 2024, 2:14 PM

            @schris88

            It is working now.
            I see it displayed on the MagicMirror.
            Due to no sunshine I cannot check actual values, but that is for later.

            MagicMirror version: 2.30.0
            Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
            Raspbian GNU/Linux 12 (bookworm)

            Test environment:
            MagicMirror version: v2.30.0
            Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
            Raspbian GNU/Linux 12 (bookworm)

            1 Reply Last reply Reply Quote 0
            • S Offline
              SuVo @schris88
              last edited by Nov 10, 2024, 10:07 AM

              @schris88 dfg
              Hi,
              I am using
              HMS-800W-2T
              I have done your installation steps but there is no output on my MagicMirror.
              The source http://127.0.0.1:5000 is correct?
              What can I try?
              Have you any idea what could be wrong?

              E 2 Replies Last reply Nov 10, 2024, 2:22 PM Reply Quote 0
              • E Offline
                evroom @SuVo
                last edited by Nov 10, 2024, 2:22 PM

                @SuVo said in MMM-Hoymiles-Wifi:

                What can I try?
                Have you any idea what could be wrong?

                You have to edit
                ~/MagicMirror/modules/MMM-Hoymiles-Wifi/hoymiles_data.py
                Change this line to the address of your DTU:
                dtu = DTU("192.168.178.114")

                And I had to change

                 width: "288px",
                 height: "360px",
                

                in the ~/MagicMirror/config/config.js file.

                This is my config:

                {
                  module: "MMM-Hoymiles-Wifi",
                  header: "MMM-Hoymiles-Wifi",
                  disabled: false,
                  position: "top_left",
                  config: {
                    width: "288px",
                    height: "360px",
                    updateInterval: 60000, // in milli seconds
                    frames : [
                      { src: 'http://127.0.0.1:5000' },
                    ]
                  },
                },
                

                MagicMirror version: 2.30.0
                Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                Test environment:
                MagicMirror version: v2.30.0
                Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                E S 2 Replies Last reply Nov 10, 2024, 2:27 PM Reply Quote 0
                • E Offline
                  evroom @evroom
                  last edited by Nov 10, 2024, 2:27 PM

                  Just FYI.

                  I am currently busy making some changes to the module.
                  As there is no sunshine due to the current weather conditions, it is a bit difficult to have real measurements.
                  Trying to add a test using a JSON dataset.
                  Hope to be able to present it a.s.a.p.

                  E.J.

                  MagicMirror version: 2.30.0
                  Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  Test environment:
                  MagicMirror version: v2.30.0
                  Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @evroom
                    last edited by Nov 10, 2024, 2:28 PM

                    @evroom said in MMM-Hoymiles-Wifi:

                    ~/MagicMirror/modules/MMM-Hoymiles-Wifi/hoymiles_data.py
                    Change this line to the address of your DTU:
                    dtu = DTU(“192.168.178.114”)

                    sounds like a new config parm so you don’t have to edit the file
                    (pass as a parameter on /hoymiles_data.py start)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    E 1 Reply Last reply Nov 10, 2024, 2:38 PM Reply Quote 0
                    • E Offline
                      evroom @sdetweil
                      last edited by evroom Nov 10, 2024, 2:43 PM Nov 10, 2024, 2:38 PM

                      @sdetweil said in MMM-Hoymiles-Wifi:

                      sounds like a new config parm so you don’t have to edit the file
                      (pass as a parameter on /hoymiles_data.py start)

                      Exactly!

                      I did change hoymiles_data.py to be able to refrain from hard-coding it:
                      python hoymiles_data.py --dtu_ip_address 192.168.178.114--debug
                      The next thing would be to pass the parameter(s) from the configuration (to be coded in the MMM-Hoymiles-Wifi.js file).

                      As I never made a module myself, I would need to find out how.

                      Any suggestions are much appreciated!

                      E.J.

                      MagicMirror version: 2.30.0
                      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                      Raspbian GNU/Linux 12 (bookworm)

                      Test environment:
                      MagicMirror version: v2.30.0
                      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                      Raspbian GNU/Linux 12 (bookworm)

                      S 1 Reply Last reply Nov 10, 2024, 2:52 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        2/25
                        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