WTH do we have Energy dashboard and no Water dashboard?

i have homewizard water too… it’s pretty real time for current usage… every 10 seconds for totals orso. Just a small difference in running it on battery or on usb power

Thanks i gonna order that device than, it looks really nice

I use this setup for reading out the Gas, House and Garden Water and also the old Ferrais Electricity meater via MQTT.

Working since several month without any real problems.

I’m trying to use the Energy dashboard “Configure Water Consumption” option but it appears to want the units in “m³ or gl”:

image

but the Sensor Entity Home Assistant page shows that water can be L, gal, m³, or ft³:

image

I was previously configured for “gallon”, but I just changed to “gal” and I still cannot select my device. Do I have to use “gl”? Anything else I need to do to make my device selectable?

EDIT

Looking at the commits it appears as though this only works for sensors configured to use m³ or ft³:

2 Likes

I have a Shelly UNI with a level sensor probe into my water tank (20.000 liters) that gives me the exact number of liters remaining at every moment. Can anybody help me write a template to turn that info into a water consumption sensor for the Energy Dashboard? Or, better yet, a template based on how long the water pump bringing water from the well to the tank is on. (I know how long it takes for the pump to fill in the tank). Thanks.

I track both incoming water and hot water usage. Would be nice to have support for hot water as well! I’m using:

Water meters from Kamstrup: MULTICAL® 21/flowIQ® 21xx | Ultraljudsmätare | Kamstrup
and
GitHub - weetmuts/wmbusmeters: Read the wireless mbus protocol to acquire utility meter readings.

Do you have a particular template for this ? Since I’m not able to add water source via energy dashboard.

This is my config:

###### MQTT ######
mqtt:
#  broker: http://homeassistant.local


###### Watercount ######
  sensor:
    - name: Wasserzählerstand
      state_topic: Wasser/main/value
      unit_of_measurement: "m³"
      state_class: total_increasing
      device_class: water

    - name: "Wasserdurchsatz"
      state_topic: Wasser/main/rate
      unit_of_measurement: "l/m"

    - name: "Wasser-Wifi"
      state_topic: Wasser/wifiRSSI
      unit_of_measurement: ""
2 Likes

Thank you this helped. I had to add device_class.

Welcome,
please be aware that in Studio Code Server the Value >> device_class: water << will raise an error for now.

Mike

I love that water has been added to the Energy Dashboard, but configuration does not make a lot of sense. 1 cubic foot is 7.48052 gallons. My water meter (and I suspect that of most others in the USA) pulses once per gallon.

It might be possible to create a calculated value that multiplies gallons by 0.1337 to support this unit of measurement, but that does not seem like it should be necessary. The dashboard should support gallons for water.

EDIT:

I added a template sensor to my configuration.yaml file this morning to show ft³ as follows:

template:
  - sensor:
      - name: "Water Total ft³"
        state: "{{ states('sensor.water_total_gallons')|float * 0.1336805462721843 }}"
        unit_of_measurement: "ft³"
        state_class: total_increasing
        device_class: water

Interestingly, it showed up right away. But not only did that show up, but my sensor.water_total_gallons value suddenly showed up as well, which is of course the value I was looking for. I’ve not looked, but this suggests there may be a bug in the code that determines if any valid sensors are available.

I am up and running. I hope this helps others as well. Will also report an issue.

2 Likes

I really wish HA supported Culligan Connect for water usage tracking.

I have a system available for probing.
more info in this thread

In the 2022.10 I had a water sensor(actualy manually reading) mapped as gas(m3) and it worked well.

Now in the 2022.11 I passed it to water, but the dashboard seems not using the static cost setup.
It happens the same to you?

Have trouble setting up the water sensor.
Can you please post it here?

You can check this and use what you need for your sensor (is from toonWater)

toonWater setup

Appreciate it.
Seems to be precisely what I’m doing (except in gallons), but don’t see the entity in the water dashboard drop down.

utility_meter:
  hourly_water:
    source: sensor.water_softener_water_current_flow
    name: Water Usage Hourly Utility Config
    cycle: hourly

template:
    - sensor:
        - name: "Water Usage Hourly"
          unique_id: water_usage_hourly
          unit_of_measurement: "gal"
          device_class: water
          state_class: total_increasing
          state: >-
            {{states('sensor.water_usage_hourly_utility_config')}} 

This is what I’ve tried without results

  • change unit_of_measurement to “m³”
  • I notice if I set device_class: water, no matter what unit of measurement I set, the entity unit of measurement defaults to Liters
  • change device_class to energy. This sets the unit of measurement correctly.

P.S. I started the water metering when I saw that now dashboard accepts water tracking - so yes, I have the latest version of HASS. :thinking:

This is similar to my post…

But here is a small fixes which should be implemented…

Hi @nelsonfaria did you get this resolved. Ive entered a static price but the dashboard shows costs as 0.00, it does not seem to use the static price entered to calculate water costs.

just tried that with a sensor for water used today in liters and it can’t find it, the merge request had liters as well as a unit of measurement but the interface only shows m3 and gl…gl

I’m using the water metering integration (HomeWizard Water Meter) in the Energy Dashboard. While using the “compare” toggle I get wrong units/amounts for the measured water consumption in the previous week/day.

Water total: m3 / € / L / €

  1. The first unit now m3, should be L.

  1. The comparison between previous / current day is not showing different water consumption.

EDIT:

  1. Despite that I use the system based units 1.123.456,78 I cannot save the price in this correct format.

System preference:

Price per m3 that can be saved:

Price per m3 according to system preferences, can’t be saved.

/ m4v3r1ck