Esphome water flow meter. This setup harnesses the capabilities of a NPT YF-B5 water flow sensor, though you can adapt it to work with other similar sensors. Here is some of the code used in ESPHome: Jun 5, 2023 · Using ESPhome to Build a Water Flow Rate Meter for Shower Analysis. I’ve chosen the 88pulses/L. Configure Home Assistant; add sensors and UI components (Lovelace)’ not matter what Feb 12, 2021 · I am trying to implement an automation that when a flow meter detects a massive flow (high gallons/min rate) from the livestock water line it will automatically close a valve since we are on a well. - hugokernel/esphome-water-meter Dec 9, 2022 · Hey friends, help with this implementation challenge would be appreciated! For illustration: I want to implement an “energy flow meter” or “heat meter” in ESPHome, for which in its core we need to multiply the water volume going trough a cycle loop with the back-minus-forth temperature difference (the effective energy loss). Solution with proximity doesn’t work with grid water meter that has plastic wheels. 6667 pulses, which are approximately 63. The sensor needs 5 Volts, so in theory a level shifter is required. They are common. 6667 liters of water flow per minute, the sensor should generate 38 ×1. The implemenation I went for was a proximity sensor LJ18A3-8-Z Oct 4, 2022 · ESPHome ESP32 water meter. com Aug 23, 2021 · Having embarked on SESCO (Electric) Meter node to measure my house electrical consumption, this project is similarly on mission to measure and automate another important utility consumed by the house - Water (supplied here by LAKU in Sarawak) using Home Assistant & ESP Home. Since I already had some ESP32 boards, that’s what I used. 95 See full list on pieterbrinkman. Prototyping setup. This means the flow rate is 1 liter / 36 seconds = 1. 96″ OLED Display . The brand is systeme-sh. Feb 2, 2022 · I managed to get a pulse for every 0. Jan 15, 2023 · I am using a Wemos D1 R2, and a YF-DN40 water flow sensor (the big one). Relay Diagram and valve wiring. (87 as by supplier quality control) But you can find also 1pulse or 2 pulses per Jan 15, 2024 · If you have a water meter (Sensu R-315 for my part), it may have an indicator allowing you to know the current consumption fairly accurately. The ESP32 runs on 3. In this guide, we’ll explore a solution I’ve implemented to monitor and analyze water usage during showers using the Home Assistant platform. Valve Wiring Info. Price: USD 9. com I’ve followed it to the letter and the energy section in HA is showing water usage just fine. Prerequisites ESPHome installed on your local machine or accessible via Home Assistant. So I’ve purchased a pulse flow water meter from Amazon (about 55euro), I’m in Europe and the item reached me from Germany. The project uses a 5V LJ18A3-8Z/BX Proximity sensor from AliExpress. The reason I’m sharing this is because despite the fact this has been done numerous times before, there were several hurdles that made this quite a challenge for me. We will display the water flow rate & Total Volume in 0. Unit has 3/4 inch NPT male fittings compatible with standard US PVC fittings. 1 total: name: "Water Total" icon: "mdi:water" unit_of_measurement: "liter" accuracy_decimals: 1 filters: - multiply: 0. Automatic calculation: Updates the tank percentage dynamically based on flows. It has a spinning wheel with a Feb 7, 2023 · I’ve used this blog article by Pieter Brinkman to setup the sensor in ESPHome and Home Assistant: Build a cheap water usage sensor using ESPhome and a proximity sensor - PieterBrinkman. The solution to read it was by using either a reflective sensor or a proximity sensor. water flow sensor. May 4, 2022 · I wanted a reliable water meter. GitHub Gist: instantly share code, notes, and snippets. May 31, 2019 · General purpose flow meter for accurately measuring real-time water flow. Now, given the sensor’s formula F = 38 x Q (where Q is the flow rate in liters per minute), when 1. See pictures. I notice that ESPhome has a Pulse Counter, which is basically how a flow meter works: there’s an inline rotor with a magnet in it, and a hall sensor that notices when the magnet comes round again. But when I get to ‘6. Many solutions I saw didn’t quite achieve my objectives. Compatible ESP devices: ESP32-based board for the water flow meter. The resulting sensors in ESPHome should be: Water volume Apr 21, 2022 · I thought I would share my experience with setting up my second ever ESPHome integration. I have an Itron water meter. We will interface YFS201 Hall Effect Water Flow Sensor with NodeMCU ESP8266 Board. Feb 11, 2023 · I built a “smart” water meter with ESPHome and Home Assistant, based on the project by Pieter Brinkman. Total setup cost - $0 (I have a D1 mini lying around). I have one of these pulse flow meters hooked up to a motorized valve being controlled by a M5 Atom lite and relay board. The livestock (cows, water buffalo, & pigs) can be tough on the infrastructure and there have been a few times a ruptured line can quickly drain . It is How to read an analog water meter? I live in Belgium and the water meter I have is a Sensus 520 which has a small spinning wheel with a metal plate. Measurement of water consumption directly from your water meter with a TCRT5000 like sensor and ESPHome. The setup uses the existing flow meter (turbine) of water softner. 1 Oct 18, 2023 · From the data provided: 1 liter of water flows in 36 seconds. Its operation is quite simple, a disc (see photo) visible in the dial of the meter rotates at a speed proportional to the flow of circulating water. Flow control: Track water in and out, with adjustments also available via sliders. 33 pulses. 3 Volt. May 29, 2023 · In this project we will learn how to make IoT Based Water Flow Meter using ESP8266 & Water Flow Sensor. Created a water flow meter using ESPHome and it is giving pretty accurate values of both flow rate (gal/min) and consumption (gal). 6667 liters/minute. 1 liter! so I use this code for esphome node: sensor: - platform: pulse_meter pin: 12 name: "water flow rate" icon: "mdi:water-sync" id: water_flow_rate accuracy_decimals: 1 unit_of_measurement: "l/min" timeout: 15s filters: - multiply: 0. asyi utbfvjq btmotmn sgak textw utfh vdnxke ihwqza hgxuro tehaggb