[RELEASE] Tuya Zigbee Tank Level Monitor

Thanks.

As I recall, one of the reasons I didn't go down this path was that it required usb power. But that's neither here nor there. :slight_smile:

I suppose you can use a solar-powered battery pack with/ 5V output .... There are a lot of solar-powered batteries sold on Amazon and AE.

1 Like

I received mine last Friday and started testing it as soon as I unpacked it.

It’s pretty straightforward, and I already designed my mobile phone dashboard to see what this toy can tell us.

My level graph needs a lot of improvement. I’m trying to make it with webCoRe Graph tool but not there yet. (Any suggestions are welcome).

Now comes the “easy” part, installing it on its planned place.

It’s going to be a challenge!

This dashboard tells me level status, level (%), level (height), water pump (on/off), and even total water in the deposit, in liters.

2 Likes

I pulled the trigger and now have device in hand. I think it could work for the purpose of snow depth measurement, so looking forward to trying it.

Obviously measuring this would be slightly different as I am essentially reversing the measurement, so therefore I am curious if it would be possible to also change the measurements/driver to reflect this, or add an option to further customize it?

In reality, I can make due with liquiddepth, and use it directly, but it would be great if one could choose the "resolution" and type. i.e. if mounted at 0.8 meters, a measurement of 0.10 is 10 centimeters, so that would be great if I could report that "liquidDepth: 10 cm".

liquidState could also be shown as little, medium, heavy, impassable or whatever comes to mind, also in reverse.

Is that something that is possible?

1 Like

My opinion is that you can do lots of things with this device, but you will have to do some programming with variables, math and creativity with RM app.

2 Likes

I was going to propose exactly the same approach. Install this driver :

Create one or more virtual devices of a "Generic Attribute Storage Driver" type.
Then, use RM5 to 'post-process' the attributes for any physical device, using any existing driver (no matter custom or system driver). Create a rule that triggers from the physical device attribute change, then add some math/logic and update the attribute of the virtual device.

In your particular use case - you can convert the Tuya Zigbee Tank Level Monitor'' attribute from meters to inches (EDIT: oops, sorry - I forgot that you are in Europe! :grin:), create a new virtual 'little, medium, heavy, impassable' attribute and set its string value depending on the 'raw' values from the real device.

Update: as prompted by @sburke781 , using Hub Variables instead of a virtual device w/ custom driver may be even better approach.

2 Likes

Thanks for the ideas. I will certainly look into them.

I followed up my own idea and now the EPTTECH device is installed on second floor watertanks and displayed on Homekit:

Sensor was recognized by C8 hub in the first try and the Set up was pretty straightforward ("liquid depth" must be configured in meters while "installation height" in milimeters :thinking: )

Finally, because im using Homekit to control devices, a "virtual shade device" was created powered by a rule as follow:


image

Hope it helps you guys

1 Like