Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Water flow meter on a KC868-A16
#8
If you want to look at using ESPHome, you can have a look at my config here: 

Main config:   https://github.com/Roving-Ronin/myHomeAs...8-a16.yaml

It also calls the following yaml, located on the same Github repository:

  base-config:    !include common/base-configuration.yaml
#  wifi-config:    !include common/network-wifi.yaml
  ethernet-config: !include common/network-ethernet-lan8720.yaml
  bme280-sensors:  !include sensors/bme280-bus-a.yaml

If you want to use WiFi instead of the Ethernet you need to swap the # out for those lines.
The BME280 sensors will also provide temperature, pressure, humidity (relative and absolute.... you need to look in the sensors/bme280 yaml though and change to suit your location/elevation), and dew point.

The other sensors use a reed switch connected to the water meter that sense a magnet inside the meter dials as it rotates past (5L per pulse iirc), whilst there's another reed sensor attached to a gas meter with its dials rotating 10L per pulse.
For the water tank a liquid pressure sensor, that is lowered into the tank (or well in your case), is used. They are available from: https://www.aliexpress.com/item/33003863661.html  make sure to get the '0-5V' version and then the shortest depth option (i.e. 1m/2m/3m/5m... if you have a 2.5m welll depth, then get the '0-5V 3m version' getting the 5m version will work, but it provides less granularity than the 3m max version.  e.g. each model is 0%-100% so in the 1m version 1cm = 1% full. If you got the 5m version in a 1m depth well, it would only be able to read in 5% changes, given 1% of 500cm = 5cm.

For the water meter it also loads a custom component that tracks the litres used Today / Yesterday / Week / Month / Year.   Whilst for Gas it tracks that and also converts m3 into megajoules (MJ) consumed, using the Heating Value and Pressure Factor variables that you gas provider will typically provide.

Lastly for the water tank (or well) it provides the % full, litres in the tank, level (cm). If you added had a water meter attached to the tank/well, you could use the water meter sensor to track the flow rate, water consumed (today/yesterday/week/month/year) and pulses.
Reply


Messages In This Thread
Water flow meter on a KC868-A16 - by Marty - 09-10-2024, 01:31 PM
RE: Water flow meter on a KC868-A16 - by admin - 09-10-2024, 10:56 PM
RE: Water flow meter on a KC868-A16 - by Marty - 09-10-2024, 11:09 PM
RE: Water flow meter on a KC868-A16 - by admin - 09-10-2024, 11:38 PM
RE: Water flow meter on a KC868-A16 - by Marty - 09-11-2024, 02:00 PM
RE: Water flow meter on a KC868-A16 - by admin - 09-11-2024, 11:45 PM
RE: Water flow meter on a KC868-A16 - by Marty - 09-12-2024, 01:25 PM
RE: Water flow meter on a KC868-A16 - by jhobson - 09-22-2024, 05:10 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)