Read the statement by Michael Teeuw here.
MMM-MyHomeWizard
-
MMM-MyHomeWizard is a MagicMirror module that shows the information from the HomeWizard P1 meter and/or the HomeWizard WaterMeter.
The HomeWizard P1 Meter gives you detailed insight into your gas consumption, electricity consumption and solar surplus.
The HomeWizard Watermeter gives you live insight into your water consumption.Homepage: MMM-MyHomeWizard


-
@htilburgs that would be cool… sadly in the US we don’t have general access to the data
-
@sdetweil In the netherlands, we do have that!
Fortunately, otherwise I would not have been able to write this MagicMirror module ;-) -
Update to v2.0.0
In this updated version, the data is saved daily at 11:59 p.m. This makes it possible to see the current difference during a day.
You can enable and disable this option via the showDeltaXXXX options in config.js.Module page: MMM-MyHomeWizard
-
I installed the module and edit the config file including the ip adressen from the P1 and the watermeter.
When i start MagicMirror is see de header Homewizard but it says Loading…
Any suggetions what this could be? -
@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 startnpm start devand look if there are any errors. -
@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-MyHomeWizardThanks
-
@vansman
The first thing I see in your configuration isposition: '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_aboveCan you change this to
top_rightand 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 } -
@htilburgs - can you please tell me how do you measure your gas consumption? Do you use any device that monitor the Gas counter?
-
@MZ-BER
It is measured with the P1 meter.
It does both. -
@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.
-
@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 tohttp://192.168.178.152/api/v1/datathat 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.
-
@vansman
Did it work? -
@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? -
@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.
-
@vansman
Oké, sounds good. Succes! -
@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.
-
@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 ;-))
-
@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. -
@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 detectionI hope this is what you were asking for.
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