Closed mrdago closed 8 years ago
Hm, don't know what to do with this. Its very nice, but the default water meter sketch doesn't have this.
But we could add it and set it by default hidden. Don't know how @DheerajKhajuria thinks about it.
So what this is doing is showing the consumed water (liter?) since you opened the tap?
Yes, this enhancement provide the water consumtion between opening and closing a tap (consumtion for a shower, a flush, etc.) and allows you to control and change your behaviour in regard to your individual water consumtion.
Maybe it can be implemented similar as the measuring of the battery level, so that people can use it as an optional measurement.
Hi,
I've added a variable 'consumtion' to the Watermeter to measure the volume of the last water consumtion event. If the water flow returns to zero I calculate the last consumtion volume and send this value (V_VAR2) to the gateway. I guess that this measure is interesting for most of the people as this allow measuring water consumtion of every single withdrawal.
To have this function available after any update of the mysensors plugin I ask to implement this extension into the standard release.
Here is the calculation of the last water consumtion in my Arduino sketch