home-assistant.io/source/_components/sensor.duke_energy.markdown
Fabian Affolter 95546aa3fc
Move to Network category (#6181)
* Move to Network category

* Update category and other fixes
2018-09-03 10:48:27 +02:00

1.4 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page Duke Energy Instructions on how to set Duke Energy smart meter sensors within Home Assistant. 2018-07-01 09:00 true false true true duke_energy.png Energy 0.74 Cloud Polling

The duke_energy sensor platform allows you get the previous days usage for all of your Duke Energy smart meters.

{% linkable_title Setup %}

You will only have access to meters listed in your account at Duke Energy Usage.

This supports both electric and gas meters. Along with previous days usage, each sensor will have attributes for the previous bills total usage and average usage.

{% linkable_title Configuration %}

To enable the sensor, add the following lines to your configuration.yaml:

# Example configuration.yaml entry
sensor:
  - platform: duke_energy
    username: YOUR_DUKE_USERNAME
    password: YOUR_DUKE_PASSWORD

{% configuration %} username: description: Your Duke Energy username required: true type: string password: description: Your Duke Energy password required: true type: string {% endconfiguration %}

Meter usage isn't updated until mid-morning. Prior to updating your meter will report 0 for usage starting at midnight. The API is only called to update every 2 hours from startup time.