Toon 2 (Boxx) water monitoring with analog sensor

If you don't know where to post, post here.

Moderators: marcelr, TheHogNL, Toonz

Post Reply
wian
Starting Member
Starting Member
Posts: 8
Joined: Sun Aug 21, 2022 3:06 pm

Toon 2 (Boxx) water monitoring with analog sensor

Post 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 :)
oepi-loepi
Advanced Member
Advanced Member
Posts: 638
Joined: Sat Feb 09, 2019 7:18 pm

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

Post by oepi-loepi »

wian
Starting Member
Starting Member
Posts: 8
Joined: Sun Aug 21, 2022 3:06 pm

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

Post 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,
)
Last edited by wian on Thu May 09, 2024 1:15 pm, edited 1 time in total.
Post Reply

Return to “Toon miscellaneous”