Any discussions or work done on power (kw) dashboards? (Not Energy kwh)

Hi new to HA. Very cool system. Has there been any discussion or work done on power dashboarding? I recently did some work consuming an api and making some charts I wanted in javascript. Then I found HA. :slight_smile:

The use case for this kind of chart, is to help sort out where the power is going in your home, and come up with corrective actions or automations to fix the big offenders. Ex: Kid leaving bathroom lights / fans on all night, Dad leaving tv on 24x7, Wife running space heater too much and so on.

Similar to some of the things energy does, but for power.

Have same data in a pie as well that can help visualize.

Thanks. Did the javascript thing so I could see totaled data from multiple emporia meters (which their app doesn’t do), and do some charting of values to help my brain. I am older so last time I did something like this was pre-CORS so I got an education out of it at least.

Off to go turn off the 150w of lights kid left on again in bathroom. Errr.

Cheers.

On a side note you could get kwh change over the update interval in the sensor, multiple it to carry it out to the hour, and you have kw. Ex: If you have a kwh sensor and it updates every minute with a kwh increase, take the increase and multiply it by 60 and you have kw. Could be a cheap way to display a demand chart for people that only have a master meter that updates with a faster rate. Even a 15 minute update rate would be helpful to some.

As it is power it is unlikely to ever be added to the energy dashboard. Though that’s what I said about water use too and I got that one wrong.

I cobbled together my own power dashboard using the mini-graph and sankry-chart cards:

It does not work well for mobile displays though so I have a separate dashboard that uses the mini-graph and power-flow card:

It’s in a bit of a state of flux as I’m replacing my power monitoring at the moment.

2 Likes

Very cool. I’ll see what I can sort out. Didn’t want to spend time reinventing the wheel. ie: drop this in you big dummy and you are done. :slight_smile:

What metering are you installing? (Just curious)

IoTaWatt. Replacing an SMA smart meter which is rather inaccurate). Also if you look closely at the Downstairs Heat Pump Power you will see it goes negative when the upstairs heat pump draws power. That’s a Shelly EM that is going to be removed too.

Thanks for the help. Sorted this out last night. Not exactly what I wanted but works for me for now. :slight_smile: Combined circuits with helper, and calculated percentages with template helper. Anyway until my next question.

I sorted out what I wanted with custom:auto-entities, and custom:bar-chart. Many great people contributing to this project. Every time I look I am amazed.

Any ideas how to change the property “max” to a sensor… really want something like…

max: sensor.TotalPower_KW

type: custom:auto-entities
card:
  type: custom:bar-card
  title: Grouped Circuits Power by KW
  max: 5000
  severity:
    - from: '0'
      to: '500'
      color: LightGreen
    - from: '500'
      to: '1000'
      color: LightBlue
    - from: '1000'
      to: '2000'
      color: Yellow
    - from: '2000'
      to: '10000'
      color: LightRed
filter:
  include:
    - entity_id: sensor.basementpower_kw
    - entity_id: sensor.basementpower_kw
    - entity_id: sensor.firstfloorpower_kw
    - entity_id: sensor.secondfloorpower_kw
    - entity_id: sensor.bathroompower_kw
    - entity_id: sensor.garagespower_kw
    - entity_id: sensor.outsidepower_kw
    - entity_id: sensor.hvacpower_kw
    - entity_id: sensor.poolpower_kw
    - entity_id: sensor.wellpumppower_kw
    - entity_id: sensor.dryerspower_kw
    - entity_id: sensor.balancepower_kw
  exclude: []
sort:
  method: state
  reverse: true

Not possible unfortunately. The max value only supports a number not a template.