mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-24 11:56:47 +00:00
46 lines
1.2 KiB
Markdown
46 lines
1.2 KiB
Markdown
---
|
|
layout: page
|
|
title: "SRP Energy Sensor"
|
|
description: "How to integrate SRP Energy within Home Assistant."
|
|
date: 2018-10-30 08:00
|
|
sidebar: true
|
|
comments: false
|
|
ha_category: Energy
|
|
ha_release: "0.83"
|
|
ha_iot_class: "Cloud Polling"
|
|
---
|
|
|
|
The `srp_energy` component 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](https://www.srpnet.com).
|
|
|
|
## {% linkable_title Configuration %}
|
|
|
|
To add Srp Energy to your installation, add the following to your `configuration.yaml` file:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
sensor:
|
|
- platform: srp_energy
|
|
username: YOUR_USERNAME
|
|
password: YOUR_PASSWORD
|
|
id: YOUR_ACCOUNT_ID
|
|
```
|
|
|
|
{% configuration %}
|
|
username:
|
|
description: Your username for SRP.
|
|
required: true
|
|
type: string
|
|
password:
|
|
description: Your password for SRP.
|
|
required: true
|
|
type: string
|
|
id:
|
|
description: Your account id for SRP.
|
|
required: true
|
|
type: string
|
|
{% endconfiguration %}
|
|
|
|
Details about the API are available in the [SRP Energy Developers API documentation](https://srpenergy-api-client-python.readthedocs.io/en/latest/?badge=latest).
|