Page 1 of 1

Toon 2 (Boxx) water monitoring with analog sensor

Posted: Sat May 04, 2024 12:01 pm
by wian
I have a Belgium Toon 2 (Boxx) with the waterkit. This has a separate port for an analog meter that you connect to your water meter.
It works, when I use water, it is shown on the display.

I would like to pull water consumption statistics into home assistant, but I cannot find the data anywhere. :?: Does one of the devs here have an idea how to access this information from the network?

Thanks :)

Re: Toon 2 (Boxx) water monitoring with analog sensor

Posted: Sun May 05, 2024 6:53 pm
by oepi-loepi

Re: Toon 2 (Boxx) water monitoring with analog sensor

Posted: Thu May 09, 2024 1:03 pm
by wian
Thanks oepi-loepi!

I'm not using that add-on, but it contains the URL where the information is pulled from:
http://toon/hdrv_zwave?action=getDevices.json

Variables are "CurrentWaterQuantity" and "CurrentWaterFlow".

According to code the quantity is in liters, but if I leave the tap open for half a minute it doesn't increase. Maybe unit is 10l or maybe my analog sensor is not reading correctly. Anyway, I'm a big step closer :)

SensorEntityDescription(
key="waterquantity",
name="P1 waterquantity",
icon="mdi:water",
native_unit_of_measurement=UnitOfVolume.LITERS,
device_class=SensorDeviceClass.WATER,
state_class=SensorStateClass.TOTAL_INCREASING,
),
SensorEntityDescription(
key="waterflow",
name="P1 waterflow",
icon="mdi:water-pump",
unit_of_measurement = "l/m",
device_class=SensorDeviceClass.WATER,
state_class=SensorStateClass.MEASUREMENT,
)

Re: Toon 2 (Boxx) water monitoring with analog sensor

Posted: Thu Jun 06, 2024 9:31 am
by GovertT
Interesting project. Maybe the problem is really with the unit of measurement. Try to check that the analog sensor is correctly set up and is reading the data accurately.