Due to ADR0004 this integration was removed from Home Assistant with version 0.100, and are now republished here.
The srp_energy
integration shows information from Srp hourly energy usage report for their customers. The srpenergy module fetches the data found on the website.
You need a Username, Password, and AccountId which you can create at Srp.
- Using the tool of choice open the directory (folder) for your HA configuration (where you find
configuration.yaml
). - If you do not have a
custom_components
directory (folder) there, you need to create it. - In the
custom_components
directory (folder) create a new folder calledsrp_energy
. - Download all the files from the
custom_components/srp_energy/
directory (folder) in this repository. - Place the files you downloaded in the new directory (folder) you created.
- Restart Home Assistant.
- Move on to the configuration.
Using your HA configuration directory (folder) as a starting point you should now also have this:
custom_components/srp_energy/__init__.py
custom_components/srp_energy/manifest.json
custom_components/srp_energy/sensor.py
sensor:
- platform: srp_energy
username: YOUR_USERNAME
password: YOUR_PASSWORD
id: YOUR_ACCOUNT_ID
Key | Type | Required | Description |
---|---|---|---|
username |
string |
True |
Your username for SRP. |
password |
string |
True |
Your password for SRP. |
binary_sensor |
list |
True |
Your account id for SRP. |
If you want to contribute to this please read the Contribution guidelines