Skip to content

MatthewAscough/ha-hildebrandglow

 
 

Repository files navigation

ha-hildebrandglow

HomeAssistant integration for the Hildebrand Glow smart meter HAN for UK SMETS meters.

Before using this integration, you'll need to have an active Glow account (usable through the Bright app) and API access enabled. If you haven't been given an API Application ID by Hildebrand, you'll need to contact them and request API access be enabled for your account.

This integration will currently emit one sensor for the current usage of each detected smart meter.

Installation

Automated installation through HACS

You can install this component through HACS and receive automatic updates.

After installing HACS, visit the HACS Settings pane and add https://github.com/unlobito/ha-hildebrandglow as an Integration. You'll then be able to install it through the Integrations pane.

Manual installation

Copy the custom_components/hildebrandglow/ directory and all of its files to your config/custom_components directory. You'll then need to restart Home Assistant for it to detect the new integration.

Configuration

Visit the Integrations section within Home Assistant's Configuration panel and click the Add button in the bottom right corner. After searching for "Hildebrand Glow", you'll be asked for your application ID and Glow credentials.

Once you've authenticated, the integration will automatically set up a sensor for each of the smart meters on your account.

Development

GNU Make is used to assist with common tasks during development. The following is a list of all supported commands on the Makefile.

$ make
Usage: make [command]

  install-dev    Install dependencies required for development via pip
  format         Run linters on the codebase and attempt to fix any issues found
  lint           Dry-run linters on the codebase without making any changes

Code Style

This project makes use of black, flake8, isort, and mypy to automatically enforce a consistent code style across the codebase.

make format should be run before committing to automatically format the codebase.

make lint is used by Continuous Integration to validate the codebase's formatting without making any changes to it.

About

PRE-RELEASE. HomeAssistant integration for the Hildebrand Glow smart meter HAN for UK SMETS meters.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.4%
  • Makefile 3.6%