I have an irrigation dam that is collecting water from a small stream. The water flow in the stream varies depending on rain, snowmelt, temp and the amount of water content in the ground. Occasionally it runs dry (in summer).
I would like to roughly measure the water flow in the stream and relay that information to Hubitat. This information would allow me to switch between taking water from the dam or from a well, which is important because partly/wholly emptying the dam causes a lot of erosion (of the sides).
The easiest/cheapest way would be utilizing a small pulse meter/sensor and connecting it to a Zigbee/Z-wave-enabled pulse counter. However, while there are myriads of small pulse-based flow meters (which all work basically the same) there does not seem to be an off-the-shelf Zigbee/Z-wave-module I could connect such a meter to.
The closest I've found is this one (and yes, I'm in the EU: LIXEE - Zigbee 3.0 pulse meter (water, gas) - Jeedom) . But it seems made to function with specific gas/water meters, not just counting "any pulse". Water flow meters/sensors generally have three "pins" (GND, voltage and "pulse out") but the Lixee input is 2-pin.
The other alternative is using an Arduino, which can easily count the pulses from the meter/sensor. But the next step would then be connecting the Arduino to a Zigbee-module (or Z-wave) so that it can communicate the counted pulses to Hubitat. There are quite a few such modules (for instance Xbee).
While I'm fairly confident I can get the meter->Arduino->Zigbee to work, I can find no reliable information about how to read/receive the information in Hubitat.
Another way to make all this work would be to use an off-the-shelf "Zigbee water meter"-module and "transform" it into an outdoor-functionality thingy. Having part of the water in the stream run through the meter is fairly easy (as is calibrating that measurement against the total water flow). However, while such modules exist they are quite pricey, due to a lot of extra functionality (alarms, shut-offs etc.). There is a fairly new product on Aliexpress that might work ("Tuya Zigbee Smart Valve Ultrasonic Water Meter with LCD Display Water Quantity Flow Consumption Measurement IP68 Smart Life"), with the additional benefit of being ultrasonic-based (instead of "moveable part" paddle-wheel based). But this is a Tuya Smart Life thingy which (as far as I can ascertain) no-one has made a Hubitat driver for.
After all this my actual question is fairly short (): does anyone have a "this WILL work"-suggestion (or even -solution) for my actual problem (measuring water flow in a stream and relaying that information to Hubitat, so that it can be used with rules/automation)?