home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.54k stars 30.72k forks source link

HomeWizard watermeter - Energy Dashboard shows constant 2-3L water consumption when there's actually none #105944

Closed Sphericals79 closed 10 months ago

Sphericals79 commented 10 months ago

The problem

Currently testing a brand-new HomeWizard watermeter (recently acquired) in my HA-lab, before putting it into my live-system.

Water consumption in Energy Dashboard shows 2-3 liters of water consumption when there´s actually no consumption going on. This is throughout the day, in addition to the normal (understandable) consumption.

Bildschirmfoto 2023-12-18 um 09 20 08

Knowing this, the total consumption of water for today and in the past should be calculated with wrong measurements. But if you have a closer look at the total water consumption on the "Energy distribution" card, it shows 355L, like in the HomeWizard app. So the total is calculated correctly.

ha energy distribution watermeter sunday

The History of the watermeter entity in HA shows perfect, clean measurements with no consumption, for example in the night.

ha history watermeter sunday

The HomeWizard app itself delivers so far realistic "active water consumption", the history of active and total water consumption in the HomeWizard app, compared with the water meter, looks fine for me.

HomeWizard Watermeter app 2

What version of Home Assistant Core has the issue?

core-2023.12.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

HomeWizard

Link to integration documentation on our website

https://www.home-assistant.io/integrations/homewizard

Diagnostics information

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.12.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.6", "docker": true, "arch": "x86_64", "timezone": "Europe/Berlin", "os_name": "Linux", "os_version": "6.1.63-haos", "supervisor": "2023.11.6", "host_os": "Home Assistant OS 11.2", "docker_version": "24.0.7", "chassis": "vm", "run_as_root": true },

....

"integration_manifest": { "domain": "homewizard", "name": "HomeWizard Energy", "codeowners": [ "@DCSBL" ], "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/homewizard", "iot_class": "local_polling", "loggers": [ "homewizard_energy" ], "quality_scale": "platinum", "requirements": [ "python-homewizard-energy==4.1.0" ], "zeroconf": [ "_hwenergy._tcp.local." ], "is_built_in": true }, "data": { "entry": { "ip_address": "REDACTED" }, "data": { "device": { "product_name": "Watermeter", "product_type": "HWE-WTR", "serial": "REDACTED", "api_version": "v1", "firmware_version": "2.03" }, "data": { "wifi_ssid": "REDACTED", "wifi_strength": 98, "smr_version": null, "meter_model": null, "unique_meter_id": null, "active_tariff": null, "total_energy_import_kwh": null, "total_energy_import_t1_kwh": null, "total_energy_import_t2_kwh": null, "total_energy_import_t3_kwh": null, "total_energy_import_t4_kwh": null, "total_energy_export_kwh": null, "total_energy_export_t1_kwh": null, "total_energy_export_t2_kwh": null, "total_energy_export_t3_kwh": null, "total_energy_export_t4_kwh": null, "active_power_w": null, "active_power_l1_w": null, "active_power_l2_w": null, "active_power_l3_w": null, "active_voltage_l1_v": null, "active_voltage_l2_v": null, "active_voltage_l3_v": null, "active_current_l1_a": null, "active_current_l2_a": null, "active_current_l3_a": null, "active_frequency_hz": null, "voltage_sag_l1_count": null, "voltage_sag_l2_count": null, "voltage_sag_l3_count": null, "voltage_swell_l1_count": null, "voltage_swell_l2_count": null, "voltage_swell_l3_count": null, "any_power_fail_count": null, "long_power_fail_count": null, "active_power_average_w": null, "monthly_power_peak_w": null, "monthly_power_peak_timestamp": null, "total_gas_m3": null, "gas_timestamp": null, "gas_unique_id": null, "active_liter_lpm": 0, "total_liter_m3": 1.403, "external_devices": null }, ...

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 10 months ago

Hey there @dcsbl, mind taking a look at this issue as it has been labeled with an integration (homewizard) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `homewizard` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign homewizard` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


homewizard documentation homewizard source (message by IssueLinks)

DCSBL commented 10 months ago

Take a good look at your HomeWizard graph. There are a lot of small bumps indicating a small leakage. It seems Home Assistant is telling the truth 😉.

Maybe you have a dripping water tap or something dripping in your basement.

Sphericals79 commented 10 months ago

Take a good look at your HomeWizard graph. There are a lot of small bumps indicating a small leakage. It seems Home Assistant is telling the truth 😉.

Thanks @DCSBL for answering quickly. I´ve already checked the bumps in the app an they all show "0 L": image

DCSBL commented 10 months ago

The resolution is 0.3 liter, so if you have a leakage slower than 0.3 per 1 minute the graph will oscillate between 0 and 0.3 liter/minute

Sphericals79 commented 10 months ago

The resolution is 0.3 liter, so if you have a leakage slower than 0.3 per 1 minute the graph will oscillate between 0 and 0.3 liter/minute

Understood. But what about the difference between a few milliliters in the HW app and 2-3 liters in HA?

DCSBL commented 10 months ago

A few milliliters over time is still a liter.

But let’s make sure who is correct. I suggest taking a picture of your analoge water meter, wait an hour or two without using water and then take a look at the reading. I am pretty sure there is something wrong there ;)

Sphericals79 commented 10 months ago

OK, so everything - at least in HA/HomeWizard - seems to work perfectly then?! Nice that your watermeter and HA not only show my consumption and costs, they also show possible leakage! :-)

I'll have a look at the real world stuff here for leakage. Will close this ticket. Thanks again!

DCSBL commented 10 months ago

Just out of curiosity, did you find a leakage?

Sphericals79 commented 10 months ago

Hi,

Happy New Year to you!

Yes, we found out that the toilet flusher from one of the toilets does not close properly. So there’s running a very small amount of water constantly into the toilet.

By the way: We’re running your sensor on a Sensus 612 watermeter. It’s a bit complicated to install your sensor on this one, since there’s a small wiper installed, wich is in the way to have the mounting adapter it completely flat on the watermeter. I also had to remove the cover completely. And for this meter it’s not possible to use two screws.

IMG_2495

But so far it seems to work fine, since the part where the sensors magnet is, is almost perfectly aligned to the meter.

Thanks again for your help!

Best,

S