All Projects → eyalcha → read_your_meter

eyalcha / read_your_meter

Licence: Apache-2.0 License
Home Assistant sensor to read water meter

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to read your meter

ha-zoom-automation
Custom Home Assistant component for Zoom. Tracks when you are connected to a Zoom call by default but may allow you to track more.
Stars: ✭ 47 (+74.07%)
Mutual labels:  home-assistant, hacs, custom-component
ha-gismeteo
Gismeteo Weather Provider for Home Assistant
Stars: ✭ 84 (+211.11%)
Mutual labels:  sensor, home-assistant, hacs
home-assistant-frigidaire
Custom component for the Frigidaire integration
Stars: ✭ 11 (-59.26%)
Mutual labels:  home-assistant, hacs, custom-component
ical-sensor-homeassistant
an iCal Sensor for Home Assistant
Stars: ✭ 42 (+55.56%)
Mutual labels:  sensor, home-assistant, hacs
ha-iaquk
Indoor Air Quality Sensor Component for Home Assistant
Stars: ✭ 57 (+111.11%)
Mutual labels:  sensor, home-assistant, hacs
Home-Assistant-custom-components-DPC-Alert
Italy Meteo-hydro alert and hydrogeological phenomena Civil Protection (Protezione Civile). In this custom component you can find the vigilance Bulletin and the Bulletin of national hydrogeological and hydraulic criticalities. They allow to check whether in your current location there will be criticalities/warnings related to weather-hydrogeolog…
Stars: ✭ 31 (+14.81%)
Mutual labels:  sensor, home-assistant, hacs
uptime-card
Minimalistic uptime card for Home Assistant Lovelace UI
Stars: ✭ 152 (+462.96%)
Mutual labels:  sensor, home-assistant, hacs
openrgb ha
OpenRGB integration for Home Assistant
Stars: ✭ 40 (+48.15%)
Mutual labels:  home-assistant, hacs, custom-component
lovelace-battery-entity-row
Show battery states or attributes with dynamic icon on entity rows in Home Assistant's Lovelace UI
Stars: ✭ 49 (+81.48%)
Mutual labels:  home-assistant, hacs
homeassistant-elasticsearch
Publish Home-Assistant events to Elasticsearch
Stars: ✭ 97 (+259.26%)
Mutual labels:  home-assistant, custom-component
ad-alexatalkingclock
Alexa (or other Smart Speakers) tell you the time without asking every hour. Please ⭐️if you like my app :)
Stars: ✭ 30 (+11.11%)
Mutual labels:  home-assistant, hacs
homeassistant ecowitt
Ecowitt Weather Station integration for homeassistant
Stars: ✭ 90 (+233.33%)
Mutual labels:  home-assistant, hacs
WebRTC
Home Assistant custom component for viewing IP cameras RTSP stream in real time using WebRTC and MSE technology
Stars: ✭ 538 (+1892.59%)
Mutual labels:  home-assistant, hacs
sensor.avanza stock
Custom component to get stock data from Avanza for Home Assistant
Stars: ✭ 30 (+11.11%)
Mutual labels:  home-assistant, hacs
xfinity-usage
Home Assistant custom component for retrieving Xfinity data usage
Stars: ✭ 48 (+77.78%)
Mutual labels:  home-assistant, custom-component
hass-hue-icons
Additional vector icons for home assistant to model Philips Hue bulbs and fixtures.
Stars: ✭ 161 (+496.3%)
Mutual labels:  home-assistant, hacs
sensor.goveetemp bt hci
Govee Temperature/Humidity BLE Home Assistant Component
Stars: ✭ 141 (+422.22%)
Mutual labels:  home-assistant, hacs
Calendarific
Calendarific holiday sensor for Home Assistant
Stars: ✭ 14 (-48.15%)
Mutual labels:  sensor, home-assistant
ynab
YNAB component for Home Assistant
Stars: ✭ 26 (-3.7%)
Mutual labels:  home-assistant, hacs
HADailySensor
Sensor for Home Assistant that gets reset at midnight
Stars: ✭ 20 (-25.93%)
Mutual labels:  sensor, home-assistant

hacs_badge

Please this repo if you find it useful


PayPal

Read Your Meter

The read your meter integration can be used to read your house water consumption and hopefully will enable you to save water and to early detect water leaks.

Heat Map

There is currently support for the following device types within Home Assistant:

Requirements

For the integration to work, you need the following:

  • Account in read your meter
  • Selenuim standalone chrome running on same device as Home Assistant.

Install Selenuim

For installing Sellenuim please refer to the offical documentation.

Raspberry PI

If you want to run the Sellenuim on Raspbery Pi, you can use the following command to download and start container with the following command:

docker run -d -p 4444:4444 --name selenium chadbutz/rpi-selenium-standalone-chrome

or with docker-compose

version: '2.1'

services:

  selenuim:
    image: chadbutz/rpi-selenium-standalone-chrome
    container_name: selenuim
    ports:
      - 4444:4444
    restart: unless-stopped

Ubuntu

For unbuntu, the offical image of selenuim can be used:

docker run -d -p 4444:4444 --name selenium selenium/standalone-chrome

MANUAL INSTALLATION

  1. Download the read_your_meter.zip file from the latest release.
  2. Unpack the release and copy the custom_components/read_your_meter directory into the custom_components directory of your Home Assistant installation.
  3. Configure the read_your_meter integration.
  4. Restart Home Assistant.

INSTALLATION VIA HACS

  1. Ensure that HACS is installed.
  2. Search for and install the read_your_meter integration.
  3. Configure the read_your_meter integration.
  4. Restart Home Assistant.

Configuration

To enable this integration with the default configuration, add the following lines to your configuration.yaml file:

read_your_meter:
  host: Selenuim host url
  username: Account user name
  password: Account password
Parameter Required Description
username Yes Account username
password Yes Account password
host No Selenuim url (path & port) Default http://localhost:4444
name No Sensor prefix name Default Read your meter
scan_interval No NOT SUPPORTED YET Default: 1800 sec
unit_of_measurement No Consumption unit of measurement Default: m³
daily No List of days information, starting 0 as today and up to 3 (three days ago). Default 0
monthly No List of month information, starting 0 as this month and up to 3 (three month ago). Default 0
Here is an example for a minimal configuration:
# Example configuration.yaml entry

read_your_meter:
  username: [email protected]
  password: verycomplicatedpassword

Advance configuration:

# Example configuration.yaml entry

read_your_meter:
  host: http://localhost:4444
  username: [email protected]
  password: verycomplicatedpassword
  daily:
    - 0
    - 1
  monthly:
    - 0
    - 1
    - 2
    - 3

Sensors

sensor.read_your_meter

state: Total water consumption

attributes:
  meter_number: Meter number
	forecast: This month forecast consumption
	low_consumption: Max low price consumption
	house_hold_avg: House holde monthly average
	messages: Number of messages

sensor.read_your_meter_daily

state: Total water consumption daily

attributes:
	date: Rading day date
	avg: Last 30 days average consumption
	min: Last 30 days min value
	max: Last 30 days max value
	reading_state: E.g., approximate etc.

sensor.read_your_meter_daily_<x>

state: Total water consumption daily (x days ago)

attributes:
	date: Rading day date
	reading_state: E.g., approximate etc.

sensor.read_your_meter_monthly

state: Total water consumption monthly

attributes:
	date: Reading month date
	avg: Last 12 month average consumption
	min: Last 12 month min value
	max: Last 12 month max value
	reading_state: E.g., approximate etc.

sensor.read_your_meter_monthly_<x>

state: Total water consumption monthly (x month ago)

attributes:
	date: Reading month date
	reading_state: E.g., approximate etc.

Services

TBI

Lovelace

An example view of Meter data. It includes:

  • Meter data
  • Daily graph (Grafana IFrame)
  • Threshold for exceeded notifications

Heat Map

Information Cards

  - type: entities
		show_header_toggle: false
		entities:
			- type: attribute
				entity: sensor.read_your_meter
				attribute: meter_number
				name: Meter Number
			- entity: sensor.read_your_meter
				name: Total
			- entity: sensor.read_your_meter_daily
				type: custom:multiple-entity-row
				name: Daily
				show_state: false
				secondary_info: last-changed
				icon: mdi:calendar-today
				entities:
					- attribute: min
						name: Min
					- entity: sensor.read_your_meter_daily
						name: Current
						unit: ' '
					- attribute: max
						name: Max
			- entity: sensor.read_your_meter_monthly
				type: custom:multiple-entity-row
				name: Monthly
				show_state: false
				secondary_info: last-changed
				icon: mdi:calendar-month
				entities:
					- attribute: min
						name: Min
					- entity: sensor.read_your_meter_monthly
						name: Current
						unit: ' '
					- attribute: max
						name: Max

Threshold Cards

  - type: entities
    show_header_toggle: false
    entities:
      - type: custom:slider-entity-row
        entity: input_number.water_meter_daily_threshold
      - type: custom:slider-entity-row
        entity: input_number.water_meter_monthly_threshold

Automations

The following example shows how to be notified when unusual daily usage has exceeded some threshold.

Threshold input:

input_number:
  water_meter_daily_threshold:
    name: Daily Max Threshold
    icon: mdi:speedometer
    unit_of_measurement: "m³"
    min: 0
    max: 2
    step: 0.1

Notification Automation:

automation:
	- alias: Notify daily water usage exceed threshold
	  trigger:
	    - platform: state
	      entity_id: sensor.read_your_meter_daily
	  condition:
	    - condition: template
	      value_template: "{{ states('sensor.read_your_meter_daily') | float >= states('input_number.water_meter_daily_threshold') | float }}"
	  action:
	    - service: notify.Telegram
	      data_template:
	        message: >
	          Daily water usage {{ states('sensor.read_your_meter_daily') }} has exceeded daily threshold, please check for leaks.


I put a lot of work into making this repo and component available and updated to inspire and help others! I will be glad to receive thanks from you — it will give me new strength and add enthusiasm:


PayPal

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].