Sorry at the moment this sensor is to expensive for me can't help you at the moment.dressie wrote:So you have to use a PiFace for it?roblom wrote:I use it but with a PiFace between it. So you have to use a non latest kernel version otherwise it doesn't work.
Watermeter
Moderator: leecollings
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Watermeter
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
-
- Posts: 36
- Joined: Tuesday 08 September 2015 16:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: current
- Location: Germany
- Contact:
Re: Watermeter
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 typegizmocuz 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'
to "water" so I can see the total amount of water used measured in liters (and not kWh

being the water flow in percentage (You are on to this, right?

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
Code: Select all
gw.present(CHILD_ID, S_WATER); // Register this device as water meter sensor
gw.present(CHILD_ID, V_VAR1); // present
Ah, but I was curious how the others are dealing with this. I know this is not a Domotizc topicAbout the 8/l pulse problem, you should solve this in your sketch

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
- gizmocuz
- Posts: 2394
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Watermeter
I'm not on it yet, this will be for a next stable version
Sent from my A0001 using Tapatalk
Sent from my A0001 using Tapatalk
Quality outlives Quantity!
-
- Posts: 36
- Joined: Tuesday 08 September 2015 16:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: current
- Location: Germany
- Contact:
Re: Watermeter
Hi,
I think
I got it working. One thing though: as I wrote I get two separate devices, one for the flow (l/min) and one with
(I suppose ...) total water usage in cubic meters and the usage of the current day (in liters).
Now, I started the sensor today and get a reading of 40 l for today and 0.4 m3 in total which is off by a factor of
10, it should be 0.04 m3, shouldn't it? In the log I get a total of 400 l (again factor 10).
In my firmware I registered 40 pulse counts, with one count being one liter. The value for "volume" which is
send to domoticz is calculated by dividing the pulse count by my pulsefactor which is 1000, giving me a
value of 0.04 which is then sent.
Any explanation anyone?
Thanks,
Christoph
I think

(I suppose ...) total water usage in cubic meters and the usage of the current day (in liters).
Now, I started the sensor today and get a reading of 40 l for today and 0.4 m3 in total which is off by a factor of
10, it should be 0.04 m3, shouldn't it? In the log I get a total of 400 l (again factor 10).
In my firmware I registered 40 pulse counts, with one count being one liter. The value for "volume" which is
send to domoticz is calculated by dividing the pulse count by my pulsefactor which is 1000, giving me a
value of 0.04 which is then sent.
Any explanation anyone?
Thanks,
Christoph
-
- Posts: 36
- Joined: Tuesday 08 September 2015 16:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: current
- Location: Germany
- Contact:
Re: Watermeter
Silly me 
I stumbled across the settings page for the Meters/Counters. So that's settled then.
Flow rate and daily water consumption give plausible values. Nice.
Two down, one to go. The gasmeter will be hardest. No wheel, no internal
magnet, just numbers. Yuck.
Christoph

I stumbled across the settings page for the Meters/Counters. So that's settled then.
Flow rate and daily water consumption give plausible values. Nice.
Two down, one to go. The gasmeter will be hardest. No wheel, no internal
magnet, just numbers. Yuck.
Christoph
-
- Posts: 58
- Joined: Friday 29 May 2015 7:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Watermeter
I think I have a similar gasmeter, just digits - but take a close look at the rightmost digit (which turns fastest). In my case, number 6 has a reflecting spot in it. You can detect it with a barriet line track sensor (have a look at the MySensor wrb pages). Works very well and reliable. It is not too elegant to mount it at the meter, but since (in my case) the meter is down in the basement and not in my living room, so who cares ...hyla wrote:Silly me
I stumbled across the settings page for the Meters/Counters. So that's settled then.
Flow rate and daily water consumption give plausible values. Nice.
Two down, one to go. The gasmeter will be hardest. No wheel, no internal
magnet, just numbers. Yuck.
Christoph
BTW, what number did you enter in the settings page for pulses per cubic meters ? I still have no idea how these numbers relate to the pulses I get from my gasmeter (100 pulses per cubic meter).
Cheers
Josh
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Watermeter
Anyone a suggestion why my daily counter is not set to reset to 0 when a new day starts
??
?
I am running:
I implemented watermeter in mysensors 1.5 not using the interrupts to avoid the false ones created by my tcrt-5000.
Code:
https://www.mysensors.org/build/pulse_water and
https://github.com/sincze/mysensors-watermeter
Sensor seems to be working however not resetting the daily counter.
I did wait 48 hours.... unfortunately no result yet.
https://forum.mysensors.org/topic/2143/ ... r-meter/12

?
I am running:
Code: Select all
Domoticz V3.5187
Build Hash: 1660d9a
Build Date: 2016-05-29 10:24:10
Code:
https://www.mysensors.org/build/pulse_water and
https://github.com/sincze/mysensors-watermeter
Sensor seems to be working however not resetting the daily counter.
I did wait 48 hours.... unfortunately no result yet.
https://forum.mysensors.org/topic/2143/ ... r-meter/12
- Attachments
-
- Mysensors_watermeter-usage.JPG (34.2 KiB) Viewed 5473 times
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
- gizmocuz
- Posts: 2394
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Watermeter
I think the values you are sending are incorrect... 0E, 5E, 10E, 15E....
Quality outlives Quantity!
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Watermeter
Oh no.
Did not know that.
If I should send countervalue+E you must be right.
Thx. I'm currently just sending plain 'integer' values.
Did not know that.
If I should send countervalue+E you must be right.
Thx. I'm currently just sending plain 'integer' values.
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
- gizmocuz
- Posts: 2394
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Watermeter
try to get the value right first, maybe sending a fixed value like 123456
The water divider in the domoticz settings is by default 100
The water divider in the domoticz settings is by default 100
Quality outlives Quantity!
-
- Posts: 28
- Joined: Friday 02 February 2018 11:36
- Target OS: Linux
- Domoticz version: 3.8153
- Location: Netherlands
- Contact:
Re: Watermeter
Hi Guys,
I just bought this watermeter.
http://www.bestelsnel.nu/winkel/O212000 ... 0pulsgever
I have a lot of stuff connected to domoticz. But im new to the watermeters in domoticz.
Can you guys help met out how to connect te water meter to domoticz and what is need to do?
thanks in advance!
I just bought this watermeter.
http://www.bestelsnel.nu/winkel/O212000 ... 0pulsgever
I have a lot of stuff connected to domoticz. But im new to the watermeters in domoticz.
Can you guys help met out how to connect te water meter to domoticz and what is need to do?
thanks in advance!
Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
- sincze
- Posts: 1300
- Joined: Monday 02 June 2014 22:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2024.4
- Location: Netherlands / Breda Area
- Contact:
Re: Watermeter
Interested in an ESP solution?? With ESPEASY pulse counter ?michaelm86 wrote: ↑Tuesday 26 June 2018 12:47 Hi Guys,
I just bought this watermeter.
http://www.bestelsnel.nu/winkel/O212000 ... 0pulsgever
I have a lot of stuff connected to domoticz. But im new to the watermeters in domoticz.
Can you guys help met out how to connect te water meter to domoticz and what is need to do?
thanks in advance!

https://www.letscontrolit.com/wiki/index.php/Main_Page
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
-
- Posts: 28
- Joined: Friday 02 February 2018 11:36
- Target OS: Linux
- Domoticz version: 3.8153
- Location: Netherlands
- Contact:
Re: Watermeter
sincze wrote: ↑Tuesday 26 June 2018 19:38Interested in an ESP solution?? With ESPEASY pulse counter ?michaelm86 wrote: ↑Tuesday 26 June 2018 12:47 Hi Guys,
I just bought this watermeter.
http://www.bestelsnel.nu/winkel/O212000 ... 0pulsgever
I have a lot of stuff connected to domoticz. But im new to the watermeters in domoticz.
Can you guys help met out how to connect te water meter to domoticz and what is need to do?
thanks in advance!![]()
https://www.letscontrolit.com/wiki/index.php/Main_Page
Hahaha! yes i am. i have already got some esps with espeasy in use. the only problem is that my watermeter in place is to old... at least i think. it only has a counter. no clocks..
or do you have another solution to that?

Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
-
- Posts: 536
- Joined: Friday 23 December 2016 16:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: Netherlands Purmerend
- Contact:
Re: Watermeter
Micheal,
We ( small group) thought the same but.....
have a look "under" your meter. There might be a small hole where you can put a reed contact in and start counting.
Best would be if you upload a picture of it..
Cheers,
Frank
We ( small group) thought the same but.....
have a look "under" your meter. There might be a small hole where you can put a reed contact in and start counting.
Best would be if you upload a picture of it..
Cheers,
Frank
-
- Posts: 28
- Joined: Friday 02 February 2018 11:36
- Target OS: Linux
- Domoticz version: 3.8153
- Location: Netherlands
- Contact:
Re: Watermeter
Hi Frank,
Thanks i Will check it out tonight! and i will upload a picture.

Domoticz 3.8153 on linux laptop ubuntu 17.10 | Toon Thermostat | RFlink usb gateway
Who is online
Users browsing this forum: No registered users and 0 guests