Skip to content

AyrtonB/HA-Thames-Water

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thames Water Integration

hacs_badge

Home Assistant Integration for Thames Water Consumption Data

This Home Assistant integration retrieves water consumption data from Thames Water using their API. It allows you to monitor your water usage directly from your Home Assistant setup without needing additional devices.

You need a Thames Water Smart Meter. The water consumption data provided by this integration is delayed by approximately three days or more. This delay is a characteristic of the Thames Water data system and cannot be altered in this integration.

The integration uses Selenium to log in to the Thames Water website, as it needs to obtain the browser cookies to make the API call. I use the Selenium Addon in Home Assistant.

With these cookies, it then calls the getSmartWaterMeterConsumptions API to retrieve the usage data.

The integration was created recently, so it may contain bugs. Proceed with caution!

Installation

Installation through HACS

  1. Install the custom component using the Home Assistant Community Store (HACS) by adding the Custom Repository: https://github.com/AyrtonB/HA-Thames-Water
  2. In the HACS panel, select Thames Water from the repository list and select the DOWNLOAD button.
  3. Restart HA
  4. Go to Settings > Devices & Services > Add Integration and select Thames Water.

Manual installation

Copy the custom_components/thames_water/ directory and all of its files to your config/custom_components/ directory.

Configuration

Once installed, restart Home Assistant:

Open your Home Assistant instance and show the system dashboard.

Then, add the integration:

Open your Home Assistant instance and start setting up a new integration.

Manually add the Integration Visit the Integrations section in Home Assistant and click the Add button in the bottom right corner. Search for Thames Water and input your credentials. You may need to clear your browser cache before the integration appears in the list.

Energy Management

The water statistics can be integrated into HA Home Energy Management using thames_water:thameswater_consumption.

It will attempt to fetch the latest data at 00:00 and 12:00 every day.

Open your Home Assistant instance and show your Energy configuration panel.

Dashboard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages