Skip to content

hekmon/ha-custstats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Custom Integration Statistics

Validate with hassfest Validate with HACS

This integration allows you to track installations statistics for Home Assistant custom integrations.

See example.

Prerequisites

In order to work, the integration you want to track installation statistics must exist within the Home Assistant custom integrations statistics file. To be part of this file, custom integration must have been declared to the official Home Assistant Brands repository.

Also, do not forget users can opt-out from analytics. Therefor, you will only see installation statistics from users who have opt-in for usage analytics.

Installation

HACS

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

More on HACS here.

Manually

Download the integration from the releases page and decompress the custom_components/custstats folder within your Home Assistant configuration directory. You must get: /path/to/homeassistant/configdir/custom_components/custstats if your Home Assistant config file is /path/to/homeassistant/configdir/configuration.yaml.

Configuration

Once the integration has been installed and Home Assistant restarted, navigate to the integrations page, select the Add Integration button and search for Custom Integration Stats. Once the configuration modal opens up, put the integration domain of the integration your want statistics for. If you are unsure of the integration domain, check the stats file for the integration your are looking for.

If you want to track more than one custom integration, simply repeat the process.