gizmocuz wrote:
I think you should upgrade to the beta version of domoticz, remove the water meter devices, and power the mysensors node back up.
You should receive a meter, that you can edit, and set the type to 'water'
Since We talked about the energy meter I have switched to the beta version. I've tried Your suggestion as above. I DID find the button to change the type
to "water" so I can see the total amount of water used measured in liters (and not kWh

). But I still get TWO devices from ONE sensor with the other
being the water flow in percentage (You are on to this, right?

). While on the energy meter the whole info is shown neatly in just one window (total kWh,
kWh today, current watt usage).
And I still don't really know where the second device comes from. In my sensor firmware I don't issue a second CHILD_ID:
Code: Select all
#define CHILD_ID 1 // Id of the sensor child
MyMessage flowMsg(CHILD_ID, V_FLOW); // message for usage
MyMessage volumeMsg(CHILD_ID, V_VOLUME); // message for volume
MyMessage pcMsg(CHILD_ID, V_VAR1); // message for sending pulse count
and later
Code: Select all
gw.present(CHILD_ID, S_WATER); // Register this device as water meter sensor
gw.present(CHILD_ID, V_VAR1); // present
No second ID ... (the IDs I get reported are as I wrote 00000010 for the water flow/percentage and 1001 for water/RFXMeter.
About the 8/l pulse problem, you should solve this in your sketch
Ah, but I was curious how the others are dealing with this. I
know this is not a Domotizc topic

I could use some sort of "dead man switch". If no pulse has occured after a given period, a value of
"0" for current consumption is sent out. I'm probably preventing myself from detecting a tiny water
leakage. But I could only detect that anyway if we were all gone for a week. In our daily water usage
such a tiny amount is ... drowned

But as I said, I was interested what others did about it ...
Thanks for Your input!
Christoph