Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homewizard Watermeter NOT selectable in the Energy Dashboard. #84527

Closed
malosaa opened this issue Dec 24, 2022 · 8 comments
Closed

Homewizard Watermeter NOT selectable in the Energy Dashboard. #84527

malosaa opened this issue Dec 24, 2022 · 8 comments

Comments

@malosaa
Copy link

malosaa commented Dec 24, 2022

The problem

I just received the watermeter, connected by cable.
I get readings trough the api itself.
ALso in home-assistant and Home Wizard app.

But no way to selecting it in the dashboard.
Screenshots here
https://community.home-assistant.io/t/homewizard-wifi-watermeter/450417/29?u=malosaa

Regards

What version of Home Assistant Core has the issue?

2022.12.8

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

No response

Diagnostics information

No

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@DCSBL
Copy link
Contributor

DCSBL commented Dec 24, 2022

Thank you! Can you share the diagnostics file?

https://www.home-assistant.io/docs/configuration/troubleshooting/#debug-logs-and-diagnostics

@DCSBL
Copy link
Contributor

DCSBL commented Dec 24, 2022

Also, is ‘Total liters’ available as entity in the device page? Maybe it is disabled somehow

@malosaa
Copy link
Author

malosaa commented Dec 24, 2022

@DCSBL

SOrry for the late reaction, no that entity is there, only wifi strenght is disabled.

{
  "home_assistant": {
    "installation_type": "Home Assistant OS",
    "version": "2022.12.7",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.7",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Europe/Amsterdam",
    "os_name": "Linux",
    "os_version": "5.15.80",
    "supervisor": "2022.12.1",
    "host_os": "Home Assistant OS 9.4",
    "docker_version": "20.10.19",
    "chassis": "vm",
    "run_as_root": true
  },
  "custom_components": {
    "frigate": {
      "version": "3.0.0",
      "requirements": []
    },
    "scheduler": {
      "version": "v0.0.0",
      "requirements": []
    },
    "average": {
      "version": "2.3.0",
      "requirements": []
    },
    "blueiris": {
      "version": "1.0.15",
      "requirements": []
    },
    "apple_airplayer": {
      "version": "v0.0.8",
      "requirements": [
        "pyatv>=0.8.2"
      ]
    },
    "multiscrape": {
      "version": "6.5.0",
      "requirements": [
        "lxml==4.9.1",
        "beautifulsoup4==4.11.1"
      ]
    },
    "apple_tv": {
      "version": "3.0.1",
      "requirements": [
        "pyatv==0.10.0"
      ]
    },
    "platerecognizer": {
      "version": "1.0.0",
      "requirements": [
        "pillow",
        "requests"
      ]
    },
    "nuki_ng": {
      "version": "0.2.1",
      "requirements": []
    },
    "nodered": {
      "version": "1.1.2",
      "requirements": []
    },
    "ui_lovelace_minimalist": {
      "version": "v1.1.6-hotfix",
      "requirements": [
        "aiofiles==0.8.0",
        "aiogithubapi>=22.2.4"
      ]
    },
    "browser_mod": {
      "version": "2.1.2",
      "requirements": []
    },
    "hacs": {
      "version": "1.28.4",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "alexa_media": {
      "version": "4.3.2",
      "requirements": [
        "alexapy==1.26.4",
        "packaging>=20.3",
        "wrapt>=1.12.1"
      ]
    },
    "afvalbeheer": {
      "version": "5.0.10",
      "requirements": [
        "rsa",
        "pycryptodome"
      ]
    },
    "files": {
      "version": "1.5",
      "requirements": []
    },
    "plugwise": {
      "version": "0.32.0",
      "requirements": [
        "plugwise==0.25.14"
      ]
    }
  },
  "integration_manifest": {
    "domain": "homewizard",
    "name": "HomeWizard Energy",
    "documentation": "https://www.home-assistant.io/integrations/homewizard",
    "codeowners": [
      "@DCSBL"
    ],
    "dependencies": [],
    "requirements": [
      "python-homewizard-energy==1.3.1"
    ],
    "zeroconf": [
      "_hwenergy._tcp.local."
    ],
    "config_flow": true,
    "iot_class": "local_polling",
    "loggers": [
      "homewizard_energy"
    ],
    "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": "1.17"
      },
      "data": {
        "smr_version": null,
        "meter_model": null,
        "wifi_ssid": "**REDACTED**",
        "wifi_strength": 32,
        "total_power_import_t1_kwh": null,
        "total_power_import_t2_kwh": null,
        "total_power_export_t1_kwh": null,
        "total_power_export_t2_kwh": null,
        "active_power_w": null,
        "active_power_l1_w": null,
        "active_power_l2_w": null,
        "active_power_l3_w": null,
        "total_gas_m3": null,
        "gas_timestamp": null,
        "active_liter_lpm": 0,
        "total_liter_m3": 0.521
      },
      "state": null,
      "system": null
    }
  }
}

@malosaa
Copy link
Author

malosaa commented Dec 24, 2022

This is the total water entity its in there but renamed.
image

Also i did create a template, based on that other person what he posted on the forum.
That doesn't work either for selecting in the energy dashboard

I'm testing on 2 systems, same result.

@malosaa
Copy link
Author

malosaa commented Dec 24, 2022

Here the total entity created by the HomeWizard integration

image

@DCSBL
Copy link
Contributor

DCSBL commented Dec 24, 2022

Maybe is has something to do with having less than 1 m3. It would be weird (or a bug) but this is the only thing that seems different in your case.

Currently I am not able to reproduce this, maybe you can try something with templates?

@malosaa
Copy link
Author

malosaa commented Dec 24, 2022

I did try templates,

look at this one, i cant even select it.
and it has a high value.

image

This should basically work, and it won't show up in the selection menu.

I'm testing this on 3 systems.
1 - mariaDB recorder (recording everything)
2 - stock homeassistant recorder (recording everything)
3 - record only everything from HomeWizard.

On system 1 i Also i did re-pair the device and manual deleted everything.
On system 2 i reset the watermeter again and removed the HomeWizard integration and manually added it.
On system 3 i did manual discover, but it said the api was not enabled, but it was so i manual added it.

Still not in the selection menu of the water dashboard.

@malosaa
Copy link
Author

malosaa commented Dec 24, 2022

Hehe i found the issue....
And it's kinda my fault tho.

Well when i did the repairing, the device name changed.
So my recorders did not record it, and it won't show up.

On my other system where the recorder records everything, still doesn't show up.. but i think its a problem on my end.

So the problem was that when u don't add this to the recorder to record, you can't select it in the dashboard.
So the namechange was the problem, when i did remove it manually from homeassistant, and i did forget to change it in my yaml file.

@malosaa malosaa closed this as completed Dec 24, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants