Water meter
Posted: Sunday 28 August 2016 21:29
I've made a water flow sensor and use MySensors to send the data to Domoticz.
It is presented with:
present(WATERFLOW_ID, S_WATER, "Water flow");
And sends messages:
MyMessage flowMsg(WATERFLOW_ID, V_FLOW);
MyMessage volumeMsg(WATERFLOW_ID, V_VOLUME);
What I would like is to measure the amount of water when a valve is opened, and then close the valve after a given amount has flown through the sensor.
I added it to Domoticz and it is not working as I hoped. First, it says, in the upper right corner of the sensor, 353880992 Litres?? Where did that number come from? And how do I reset it every time the water valve is opened? I don't want a overall total amount of water, I want the total for this specific open/close session of the valve.
On the Utility page there is also a 0.000m3 meter that seems to show the value for the current open/close session, but it is not shown when used on the dashboard, all I see then is 353880992 Litres. And I would liked to have the value in litres instead of cubic meters and shown on the dashboard.
Is it possible to get what I want? A representation showing the volume in litres for the last open/close session of the valve? It feels like Domoticz is made for some very specific setups/sensors, and maybe not very flexible in it's usage? But I could very well be my lack of knowledge. I hope it is.
It is presented with:
present(WATERFLOW_ID, S_WATER, "Water flow");
And sends messages:
MyMessage flowMsg(WATERFLOW_ID, V_FLOW);
MyMessage volumeMsg(WATERFLOW_ID, V_VOLUME);
What I would like is to measure the amount of water when a valve is opened, and then close the valve after a given amount has flown through the sensor.
I added it to Domoticz and it is not working as I hoped. First, it says, in the upper right corner of the sensor, 353880992 Litres?? Where did that number come from? And how do I reset it every time the water valve is opened? I don't want a overall total amount of water, I want the total for this specific open/close session of the valve.
On the Utility page there is also a 0.000m3 meter that seems to show the value for the current open/close session, but it is not shown when used on the dashboard, all I see then is 353880992 Litres. And I would liked to have the value in litres instead of cubic meters and shown on the dashboard.
Is it possible to get what I want? A representation showing the volume in litres for the last open/close session of the valve? It feels like Domoticz is made for some very specific setups/sensors, and maybe not very flexible in it's usage? But I could very well be my lack of knowledge. I hope it is.