Skip to content

Lovelace pie chart card that displays current energy usage

Notifications You must be signed in to change notification settings

cheelio/power-usage-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Lovelace power usage graph card

This card will display a doughnut chard that gives insights in your current power usage.

Usage

  1. Add plugin .js as a module:
- url: /local/lovelace-graph-card.js
  type: module
  1. Add lovelace card to view:
- type: "custom:power-usage-card"                  # Mandatory
  title: "Actueel stroomverbruik"                  # Optional customized title
  total_power_usage: sensor.power_consumption      # Optional total power consumption (DSMR) sensor.
                                                   # If available then other measured values will be 
                                                   # substracted from total to calculate 'unknown' value.
  unknownText: "Onbekend"                          # Optional customized unknown text. Only applicable
                                                   # with total_power_usage option enabled.
  entities:
    - entity: sensor.dimmer_kitchen_power          # One or more entities providing Watt (W) measurements
      name: Keuken                                 # Optional customized name for entity
    - entity: sensor.dimmer_garage_power
      name: Garage
    - entity: sensor.wall_plug_livingroom_left
      name: Huiskamer links
    - entity: sensor.wall_plug_livingroom_tv
      name: Huiskamer TV

screenshot

About

Lovelace pie chart card that displays current energy usage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published