home-assistant.io/source/_components/sensor.ebox.markdown
2018-11-07 08:42:46 +01:00

78 lines
1.8 KiB
Markdown

---
layout: page
title: "EBox Sensor"
description: "Instructions on how to integrate EBox data usage within Home Assistant."
date: 2017-02-15 17:17
sidebar: true
comments: false
sharing: true
footer: true
logo: ebox.png
ha_category: Network
ha_release: 0.39
ha_iot_class: "Cloud Polling"
---
Integrate your [EBox](https://client.ebox.ca/) account information into Home Assistant.
## {% linkable_title Configuration %}
To use your EBox sensor in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: ebox
username: MYUSERNAME
password: MYPASSWORD
monitored_variables:
- before_offpeak_download
- before_offpeak_upload
- before_offpeak_total
```
{% configuration %}
username:
description: Your EBox username.
required: true
type: string
password:
description: Your EBox password.
required: true
type: string
name:
description: The name of the sensor.
required: false
default: EBox
type: string
monitored_variables:
description: Variables to monitor.
required: true
type: list
keys:
before_offpeak_download:
description: Download before offpeak usage
before_offpeak_upload:
description: Upload before offpeak usage
before_offpeak_total:
description: Total before offpeak usage
offpeak_download:
description: Download offpeak usage
offpeak_upload:
description: Upload offpeak usage
offpeak_total:
description: Total offpeak usage
download:
description: Download usage
upload:
description: Upload usage
total:
description: Total usage
balance:
description: Account balance
limit:
description: Limit usage
usage:
description: Percent usage
{% endconfiguration %}