Skip to content

thetic/hass-mytpu

Repository files navigation

MyTPU - Tacoma Public Utilities Integration

Test codecov hacs_badge License: MIT

A Home Assistant custom component for tracking energy and water usage from Tacoma Public Utilities.

Note

This is an unofficial, community-developed integration and is not affiliated with, endorsed by, or supported by Tacoma Public Utilities (TPU). Use at your own risk.

Features

  • Track daily electricity consumption (kWh)
  • Track daily water consumption (CCF)
  • Compatible with Home Assistant's Energy Dashboard
  • Automatic hourly updates

Requirements

Installation

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

  1. Open HACS in Home Assistant
  2. Search for "Tacoma Public Utilities"
  3. Click "Download"
  4. Restart Home Assistant
Manual Installation
  1. Copy the custom_components/mytpu folder to your Home Assistant config/custom_components/ directory
  2. Restart Home Assistant

Configuration

  1. Go to SettingsDevices & Services
  2. Click Add Integration
  3. Search for "Tacoma Public Utilities"
  4. Enter your MyTPU username and password
  5. Select which meters to track (the integration will automatically discover all available meters on your account)

Sensors

This integration creates the following sensors:

Sensor Description Unit Device Class
Energy Consumption Daily electricity usage kWh energy
Water Consumption Daily water usage CCF water

Historical data and cumulative totals are tracked using Home Assistant's statistics system for proper Energy Dashboard integration.

Energy Dashboard Setup

  1. Go to SettingsDashboardsEnergy
  2. Under "Electricity grid", click "Add consumption"
  3. Select the "Energy Consumption" sensor
  4. Under "Water consumption", click "Add water source"
  5. Select the "Water Consumption" sensor

Acknowledgments

This project was inspired by and builds upon the work of ex-nerd/mytpu.

About

Home Assistant integration for Tacoma Public Utilities (TPU) energy and water usage

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages