Water flow meter on a KC868-A16 - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25) +--- Thread: Water flow meter on a KC868-A16 (/showthread.php?tid=6662) |
Water flow meter on a KC868-A16 - Marty - 09-10-2024 How can I use water flow meter, if the pcf8574 hasn't activates the interrupts, I need doit in C++, I don't have clue RE: Water flow meter on a KC868-A16 - admin - 09-10-2024 you can chose analog sensor of flow meter, connect to board's analog input port. RE: Water flow meter on a KC868-A16 - Marty - 09-10-2024 (09-10-2024, 10:56 PM)admin Wrote: you can chose analog sensor of flow meter, connect to board's analog input port. What happens is that different amounts of water(liters) are required to complete the well, and a water flow meter is used, RE: Water flow meter on a KC868-A16 - admin - 09-10-2024 can you list your requirements details? what do you want to do? RE: Water flow meter on a KC868-A16 - Marty - 09-11-2024 It is required that exactly the water needed for the process is provided, at a defined temperature, the container cannot be refilled until the water has been provided, then the process restarts, the amount of water can vary depending on the process, there are 6 processes with different amounts of water RE: Water flow meter on a KC868-A16 - admin - 09-11-2024 Do you want to test water tank whether have water or "no water"? RE: Water flow meter on a KC868-A16 - Marty - 09-12-2024 specifications: 1.- fill tank with water 2.- heat water to a certain temperature 3.- when the temperature is correct then water can be supplied 4.- select the liters to be supplied, 10.50, 20.22, 22.50, 30.80, 35.00, 50.50 liters 5.- the selected liters are supplied, only water output, tank filling is not activated 6.- once the water supply is finished, the cycle starts again RE: Water flow meter on a KC868-A16 - jhobson - 09-22-2024 If you want to look at using ESPHome, you can have a look at my config here: Main config: https://github.com/Roving-Ronin/myHomeAssistant/blob/main/esphome/kincony-kc868-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. |