Quantcast
Channel: ESPHome - Home Assistant Community
Viewing all articles
Browse latest Browse all 1486

ESPHome Water meter: convert liter/min to liters per day

$
0
0

@cmartens wrote:

Hi,

I have build a Water Meter based on a Wemos D1 mini and have integrated it in Home Assistant via the ESPHome Add-on and integration. It measures and displays the Pulses per minute. As every pulse is exactly one liter, it currently displays the Liters per minute in Lovelace. However I would like to display the total amount of liters per day. I have spend multiple days to find a solution, however I am not able to find a workable solution on the internet. Can you please help me? Thanks in advance.

My current ESP Home config:

esphome:
  name: watermeter
  platform: ESP8266
  board: d1_mini

wifi:
  ssid: "XYZ"
  password: "XYZPass"
  manual_ip:
    # Set this to the IP of the ESP
    static_ip: 192.168.3.6
    # Set this to the IP address of the router. Often ends with .1
    gateway: 192.168.3.1
    # The subnet of the network. 255.255.255.0 works for most home networks.
    subnet: 255.255.255.0
    
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Watermeter Fallback Hotspot"
    password: "xYyJLmQ7UcbO"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:
  password: "watermeter"

ota:
  password: "watermeter"
  
sensor:
  - platform: pulse_counter
    pin: 14
    name: "Water Meter"
    update_interval : 60s
    accuracy_decimals: 0

Posts: 7

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 1486


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>