Component for manual meter readings?

Hi,
I’m wondering whether someone has built a system to capture meter readings from common household utility meters (e.g. gas, water, power) by just providing manual input fields in the HA UI along with some validation, graphing, etc.
It should be technically possible with input_text, some scripts and a history graph. But I’m not sure how user friendly this may be. I’m thinking of at least providing the last value in the UI as a reference for the next reading. Some validation should check the inputs for plausability as well.

I’m currently using a great Android app for that (https://play.google.com/store/apps/details?id=dk.ilios.meterreadings).
The app provides the ability to generate a CSV from all measurements and upload it to Google Drive.
Maybe this would also be a way to integrate it.

I would be greatful for your input on this.

Jochen

I use the input_number and history_graph components to achieve that myself.

input_numbers.yaml

electricty_daytime_meter_reading:
  name: Electricity Daytime Meter Reading
  mode: box
  unit_of_measurement: kWh
  min: 0
  max: 999999
  step: 1

electricty_night_meter_reading:
  name: Electricity Night Meter Reading
  mode: box
  unit_of_measurement: kwh
  min: 0
  max: 999999
  step: 1

gas_meter_reading:
  name: Gas Meter Reading
  mode: box
  unit_of_measurement: m3
  min: 0
  max: 99999
  step: 1

water_meter_reading:
  name: Water Meter Reading
  mode: box
  unit_of_measurement: m3
  min: 0
  max: 99999
  step: 1

history_graphs.yaml

electricity_meter_reading_history_graph:
  name: Electricity History Graph
  entities:
    - input_number.electricty_daytime_meter_reading
    - input_number.electricty_night_meter_reading
  hours_to_show: 8760
  refresh: 0

gas_and_water_meter_reading_history_graph:
  name: Gas And Water History Graph
  entities:
    - input_number.gas_meter_reading
    - input_number.water_meter_reading
  hours_to_show: 8760
  refresh: 0

Hope that helps you a bit.

2 Likes

Hi Do you know anything about Water Flow sensors, I have a water flow meter setup with MQTT, I would like to expose it to HA to give me daily/monthly litres. The issue I’m having is i have no clue how to expose it to HA. currently it only shows on MQTT Tasomota counter either pulse or timer.