Watermeter in Domoticz

This subforum contains projects posted on other sites. If you have a nice site with nice home automation projects, feel free to post it here.

Moderator: leecollings

Post Reply
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Watermeter in Domoticz

Post by remb0 »

eddieb
Posts: 279
Joined: Wednesday 04 July 2018 7:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Watermeter in Domoticz

Post by eddieb »

Hi,

I am using this smartwatermeter in domoticz with my brand-new sensus watermeter.

Having some problems ...
in rest sometimes the pulses keep coming, counting hundreds of liters of water per day while it should be zero ...
I allready replaced the powersupply with one that can provide 2A but still issues, the device never seems to pull more than 500mA.

any suggestions ?
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Menno
Posts: 35
Joined: Wednesday 24 July 2019 13:23
Target OS: Linux
Domoticz version:
Contact:

Re: Watermeter in Domoticz

Post by Menno »

Same problem here. When I just got it, sometimes hundreds of liters too much. Then it settled down and seemed to provide sensible readings.
Now since a week or so it gives readings of tens of thousands of liters per hour.
eddieb
Posts: 279
Joined: Wednesday 04 July 2018 7:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Watermeter in Domoticz

Post by eddieb »

Still the same here, sometimes it seems pretty ok, but other days it has hundreds or thousands liters to much ...
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
homeJLB
Posts: 64
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

Re: Watermeter in Domoticz

Post by homeJLB »

How do you connect it to the GPIO-pins? Is there a pull-up resistor in place?
Menno
Posts: 35
Joined: Wednesday 24 July 2019 13:23
Target OS: Linux
Domoticz version:
Contact:

Re: Watermeter in Domoticz

Post by Menno »

How is your power supply?
I was informed by the maker that it is critical to have a power supply that delivers 5 V.
I thought I'd be good, since it's on a 6 port, 60W Anker supply that should be good for max 2,4A per port.
However it cuts off above 1A and dips to 3,85V at 500 mA.
The watermeter gets 4,85 V at 70 mA and the Raspberry Pi 2 that runs Domoticz spews numerous undervoltage warnings in dmesg.
That power supply is going back to Amazon.
So your supply might be rated 2A, but does it really deliver 5V at 2A?
It's worth checking.
eddieb
Posts: 279
Joined: Wednesday 04 July 2018 7:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Watermeter in Domoticz

Post by eddieb »

I tried several dedicated "rated" power suplies with my smartwatermeter ... All had problems and I decided to contact the seller/developer and bought a power supply verified by them 5.2V 2A. That one works as intended but still the values are pretty instable here
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Menno
Posts: 35
Joined: Wednesday 24 July 2019 13:23
Target OS: Linux
Domoticz version:
Contact:

Re: Watermeter in Domoticz

Post by Menno »

I just received my new supply. Tested it and even at 2,4 A it stays above 5 Volts.
The watermeter has only been fed by it for two hours, but so far no erratic readings.
Will report back if it occurs again.
Check that your sensor is placed right and not influenced by electrical noise from other sources.
FlyingDomotic
Posts: 323
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: Watermeter in Domoticz

Post by FlyingDomotic »

IMHO, this is not the right way to detect wheel rotation. When wheel stops in certain (bad) position, close to the switch from 0 to 1, it may trigger lot of changes. To do it properly, you must have 2 hall detectors, at 90 degrees giving rotation center, and detect transitions of both sensors. Doing that way, you'll be able to increment and also decrement value, depending on transition.
More details available on request.
Menno
Posts: 35
Joined: Wednesday 24 July 2019 13:23
Target OS: Linux
Domoticz version:
Contact:

Re: Watermeter in Domoticz

Post by Menno »

Well, even the new multi-amp Anker power supply resulted in erratic readings.
So I bought the power supply the seller recommends and it is working properly now.
I don't see erratic readings because of the wheel stopping in a wrong position.
visuel
Posts: 13
Joined: Sunday 05 March 2017 13:02
Target OS: Linux
Domoticz version:
Contact:

Re: Watermeter in Domoticz

Post by visuel »

Menno wrote: Tuesday 21 December 2021 8:50 Well, even the new multi-amp Anker power supply resulted in erratic readings.
So I bought the power supply the seller recommends and it is working properly now.
I don't see erratic readings because of the wheel stopping in a wrong position.
Still no reading problems with your power supply from the seller?

I am also having problems with erratic readings.

When wheel stops under the sensor, the readings continue to come in.
Trying to understand why.....
:roll:
homeJLB
Posts: 64
Joined: Tuesday 16 October 2018 23:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: Belgium
Contact:

Re: Watermeter in Domoticz

Post by homeJLB »

I have made this board for connecting my water counter.

kind regards,

Jurgen

IMG_4896.jpg
IMG_4896.jpg (104.48 KiB) Viewed 3076 times
IMG_4897.jpg
IMG_4897.jpg (100.96 KiB) Viewed 3076 times
IMG_4898.jpg
IMG_4898.jpg (52.54 KiB) Viewed 3076 times
Menno
Posts: 35
Joined: Wednesday 24 July 2019 13:23
Target OS: Linux
Domoticz version:
Contact:

Re: Watermeter in Domoticz

Post by Menno »

visuel wrote: Monday 10 January 2022 19:58
Still no reading problems with your power supply from the seller?
Sorry, haven't been on the forum for quite some time.
No more problems with the new power supply.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests