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 ThamesWaterClient python library to handle the authentication and getting the latest usage data.
- Install the custom component using the Home Assistant Community Store (HACS) by adding the Custom Repository: https://github.com/ale770/ha-thames-water
- In the HACS panel, select Thames Water from the repository list and select the DOWNLOAD button.
- Restart HA
- Go to Settings > Devices & Services > Add Integration and select Thames Water.
Copy the custom_components/thames_water/
directory and all of its files to your config/custom_components/
directory.
Once installed, restart Home Assistant:
Then, add the integration:
Manually add the Integration
Visit the Integrations section in Home Assistant and click the Add button in the bottom right corner. Search forThames Water
and input your details. You may need to clear your browser cache before the integration appears in the list.
The water statistics can be integrated into HA Home Energy Management using thames_water:thameswater_consumption.
thames_water:thameswater_cost can be used to track costs. The cost per litre can be configured in the device configuration page. Changing this value will only affect new readings. If you want to update past readings you'll need to remove the integration, delete the statistics and add the integration again.
It will attempt to fetch the latest data at 00:00 and 12:00 every day.