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-MyHomeWizard

    Scheduled Pinned Locked Moved Productivity
    20 Posts 4 Posters 1.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.
    • htilburgsH Offline
      htilburgs @vansman
      last edited by

      @vansman
      Good morning. This can be a lot of things. You provided no info.
      Can you pleaase post your config (without any personal info)
      When you start MM with PM2, than please stop it.
      Go to ~/MagicMirror folder and start npm start dev and look if there are any errors.

      (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

      V 1 Reply Last reply Reply Quote 0
      • V Offline
        vansman @htilburgs
        last edited by

        @htilburgs Good day, I don’t start MM with PM2 .

        This is a part in of my config.js

        {
        		module: "MMM-DHT-Sensor",
        		position: "bottom_right",
        		header: "Badkamer temperatuur",
        		config: {
        			sensorPin: 4,
            	sensorType: 11, // 11 for DHT11 or 22 for DHT22 / AM2302
            	updateInterval: 60000, //milliseconden
            	
        		}
          },
          
        	
        	{
          module: 'MMM-MyHomeWizard',
          position: 'right',
          header: 'HomeWizard',
          disabled: false,
          config: {
        		P1_IP: "192.168.178.152",	    // IP Address HomeWizard P1 meter
        		WM_IP: "192.168.101.14",	    // IP Address HomeWizrd Water meter - Remove when not used
        		extraInfo: true, 	    // Show extra information from P1 meter
        		currentPower: true,	// Show the current Power Consumption
        		currentWater: true,	// Show the current Water Consumption
        		showGas: true,		    // Show the Gas option
        		showFooter: true,	    // Show footer (name Power Meter)
        		updateInterval: 5000,   // Update every 5 seconds
        		maxWidth: "500px",	    // Max Module width
                showLastUpdate: true,	// Show the last update for the History Data in the footer
                showDeltaPower: true,	// Show Delta between History and Current data (Power)
                showDeltaGas: true,		// Show Delta between History and Current data (Gas)
                showDeltaWater: true	// Show Delta between History and Current data (Water)
          		}
        },
            
          
          {
          module: 'MMM-Pir',
          position: 'top_center',
        

        When i run npm start dev and filter on myhomewizard i see no errors,

        Load script: modules/MMM-MyHomeWizard/MMM-MyHomeWizard.js
        module.js:483 Module registered: MMM-MyHomeWizard
        loader.js:137 Bootstrapping module: MMM-MyHomeWizard
        loader.js:141 Scripts loaded for: MMM-MyHomeWizard
        loader.js:179 Load stylesheet: modules/MMM-MyHomeWizard/MMM-MyHomeWizard.css
        loader.js:144 Styles loaded for: MMM-MyHomeWizard
        translator.js:103 MMM-MyHomeWizard - Load translation: translations/nl.json
        loader.js:147 Translations loaded for: MMM-MyHomeWizard
        MMM-MyHomeWizard.js:38 Starting module: MMM-MyHomeWizard

        Thanks

        htilburgsH 1 Reply Last reply Reply Quote 0
        • htilburgsH Offline
          htilburgs @vansman
          last edited by htilburgs

          @vansman
          The first thing I see in your configuration is

          position: 'right'
          

          As far as I know, that doesn’t work in MagicMirror and you should get an error when you’re loading MagicMirror.

          [2026-02-17 18:10:22.072] [WARN]  [check_config] Module 5 ("MMM-MyHomeWizard") uses unknown position: "right" 
          [2026-02-17 18:10:22.073] [WARN]  [check_config] Known positions are: fullscreen_below, top_bar, top_left, top_center, top_right, upper_third, middle_center, lower_third, bottom_bar, bottom_left, bottom_center, bottom_right, fullscreen_above 
          

          Can you change this to top_right and try what does happens?

          Checking your IP Addresses:
          You can check if your IP Addresses give information. Put in the next URL in a browser. If the IP Address is correct, you should get something like:

          P1 Meter: http://192.168.178.152/api/v1/data/
          Water: http://192.168.101.14/api/v1/data/

          Result:

          
            "wifi_ssid": "WiFi Network Name",
            "wifi_strength": 100,
            "smr_version": 50,
            "meter_model": "Sagemcom T210-D ESMR5.0",
            "unique_id": "ID",
            "active_tariff": 2,
            "total_power_import_kwh": 18833.243,
            "total_power_import_t1_kwh": 10804.883,
            "total_power_import_t2_kwh": 8028.36,
            "total_power_export_kwh": 0.166,
            "total_power_export_t1_kwh": 0.166,
            "total_power_export_t2_kwh": 0,
            "active_power_w": 398,
            "active_power_l1_w": 257,
            "active_power_l2_w": 27,
            "active_power_l3_w": 113,
            "active_voltage_l1_v": 230,
            "active_voltage_l2_v": 231,
            "active_voltage_l3_v": 230,
            "active_current_a": 1.726,
            "active_current_l1_a": 1.117,
            "active_current_l2_a": 0.117,
            "active_current_l3_a": 0.491,
            "voltage_sag_l1_count": 4,
            "voltage_sag_l2_count": 4,
            "voltage_sag_l3_count": 4,
            "voltage_swell_l1_count": 0,
            "voltage_swell_l2_count": 0,
            "voltage_swell_l3_count": 0,
            "any_power_fail_count": 54,
            "long_power_fail_count": 9,
            "total_gas_m3": 5595.841,
            "gas_timestamp": 260217182000,
            "gas_unique_id": "ID",
            "external": [
              {
                "unique_id": "ID",
                "type": "gas_meter",
                "timestamp": 260217182000,
                "value": 5595.841,
                "unit": "m3"
              }
            ]
          }
          
          {
            "wifi_ssid": "WiFi Network Name",
            "wifi_strength": 86,
            "total_liter_m3": 19.652,
            "active_liter_lpm": 0,
            "total_liter_offset_m3": 0
          }
          

          (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

          MZ-BERM V 2 Replies Last reply Reply Quote 0
          • MZ-BERM Offline
            MZ-BER @htilburgs
            last edited by

            @htilburgs - can you please tell me how do you measure your gas consumption? Do you use any device that monitor the Gas counter?

            htilburgsH 1 Reply Last reply Reply Quote 0
            • htilburgsH Offline
              htilburgs @MZ-BER
              last edited by

              @MZ-BER
              It is measured with the P1 meter.
              It does both.

              (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

              1 Reply Last reply Reply Quote 0
              • V Offline
                vansman @htilburgs
                last edited by

                @htilburgs Api is working. Actually i am using an older version of mmm.homewizard wich is working. I see that your version can provide more data including the watermeter. When i use config file below is see the data from mmm.homewizard but mmm.myhomewizard gives Header plus Loading…
                I changed the position to bottom_right but that doesn’t have effect. For the older version i use only right wich works in my config .

                ,
                  
                  
                        {
                                module: "MMM-HomeWizard",
                                position: "right",
                                header: "Electricity & Gas",
                                config: {
                                        url: "http://192.168.178.152/api/v1/data",
                                        updateInterval: 2000
                                }
                        },
                	
                	{
                  module: 'MMM-MyHomeWizard',
                  position: 'bottom_right',
                  header: 'HomeWizard',
                  disabled: false,
                  config: {
                		P1_IP: "192.168.178.152",	    // IP Address HomeWizard P1 meter
                		WM_IP: "192.168.101.14",	    // IP Address HomeWizrd Water meter - Remove when not used
                		extraInfo: true, 	    // Show extra information from P1 meter
                		currentPower: true,	// Show the current Power Consumption
                		currentWater: true,	// Show the current Water Consumption
                		showGas: true,		    // Show the Gas option
                		showFooter: true,	    // Show footer (name Power Meter)
                		updateInterval: 5000,   // Update every 5 seconds
                		maxWidth: "500px",	    // Max Module width
                        showLastUpdate: true,	// Show the last update for the History Data in the footer
                        showDeltaPower: true,	// Show Delta between History and Current data (Power)
                        showDeltaGas: true,		// Show Delta between History and Current data (Gas)
                        showDeltaWater: true	// Show Delta between History and Current data (Water)
                  		}
                },
                    
                  
                  {
                

                I tried also 192.168.178.152/api/v1/data but that doesn’t work also.

                htilburgsH 1 Reply Last reply Reply Quote 0
                • htilburgsH Offline
                  htilburgs @vansman
                  last edited by htilburgs

                  @vansman
                  In the Homewizard app on your phone, you have to activatie the use of local api. What I think is strange is that when you go to

                  http://192.168.178.152/api/v1/data
                  

                  that you don’t get any data. This mechanisme is the same as in MMM-Homewizard (see the config for your first app)

                  Activating Local API
                  Go to Settings > Meters > ‘‘Your meter’’, and enable Local API for the P1 Meter and/or the Water Meter at the botom of the page.

                  The same for the Watermeter. If they are off, they don’t work.

                  (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                  htilburgsH 1 Reply Last reply Reply Quote 0
                  • htilburgsH Offline
                    htilburgs @htilburgs
                    last edited by

                    @vansman
                    Did it work?

                    (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                    V 2 Replies Last reply Reply Quote 0
                    • V Offline
                      vansman @htilburgs
                      last edited by

                      @htilburgs Progress! When i remove the line (IP adress) of the watermeter i see the data of the P1 meter.
                      It looks like Homewizard create its own network in the 192.168.101.-- range. I also have an KWH1 meter wich also has an 192.168.101 adress. What i don’t understand how MagicMirror connects to the other ip network?
                      And if i get the watermeter to work, is it also easy to add de KW1 meter also?

                      1 Reply Last reply Reply Quote 0
                      • V Offline
                        vansman @htilburgs
                        last edited by

                        @htilburgs I think i found my problem. The Watermeter and the KWh1 meter are connected to the guest network. So that makes sense that they on a different network. I gonna change it and let you know.

                        htilburgsH V 2 Replies Last reply Reply Quote 0
                        • htilburgsH Offline
                          htilburgs @vansman
                          last edited by

                          @vansman
                          Oké, sounds good. Succes!

                          (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                          1 Reply Last reply Reply Quote 0
                          • V Offline
                            vansman @vansman
                            last edited by

                            @htilburgs P1 and Water works now. Thanks for your help and making this module.
                            I’ve also looked for the KWH enerymeter data myself but i get no data when i try to see it in the browser. Manual for the api on Homewizard site talks about V1 and V2. That for later :-)

                            I also add (Ai) current_voltage data on my screen, maybe nice to add native in your code.

                            htilburgsH 1 Reply Last reply Reply Quote 0
                            • htilburgsH Offline
                              htilburgs @vansman
                              last edited by

                              @vansman said in MMM-MyHomeWizard:

                              current_voltage data

                              What do you mean with current_voltage data?
                              When I look into HomeWizard, I don’t see this.

                              If you mean active_voltage, than I don’t see any use to know that my voltage is 230V, because if I’m right than this never changes (I hope ;-))

                              (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                              V 1 Reply Last reply Reply Quote 0
                              • V Offline
                                vansman @htilburgs
                                last edited by

                                @htilburgs Sorry i mean active voltage yes.
                                I look at it to see on a sunny day what’s the voltage.
                                Above 253V the solar panel inverter shuts down. This can happen when you have a lot of solar power in your neighbourhood. My peak was 247V.

                                htilburgsH 1 Reply Last reply Reply Quote 0
                                • htilburgsH Offline
                                  htilburgs @vansman
                                  last edited by

                                  @vansman
                                  Just updated the module.
                                  Since now Voltage is added, where autodetection is for 1-phase of 3-phase.

                                  Don’t forget to update your config.js with

                                  currentVoltage: true,     	// compact 3-fase, auto detection
                                  

                                  I hope this is what you were asking for.

                                  (still trying to learn JS, but not afraid to ask and AI is my best friend) ☺

                                  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 / 1
                                  • 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