Could someone please help me make cards that show a table of daily energy (heating) usage and cost?
I maintain multiple locations, some use oil, some gas, some electric.
The electric usage is monitored with an Emporia Vue and I have been able to make these cards showing the daily usage in KwH. Energy costs aren’t strictly $/KWH because of separately calculated delivery vs. energy costs, taxes, etc. that make it a non-linear function (I think that’s the correct phrase). But, I would be fine calling is $0.20/KwH.
Propane gas is also monitored and I can see the daily levels:
This is the code:
type: custom:plotly-graph
defaults:
entity:
show_value: true
entities:
- entity: sensor.tank_utility_003200223638383015473830
name: |
$ex "355: " + Math.round(ys[ys.length -1]*10)
filters:
- map_y: y*10
show values: "yes"
line:
color: Magenta
unit_of_measurement: Gallons
yaxis: y2
extend_to_present: true
- entity: sensor.propane_tank_neevo_371_gallons
name: |
$ex "371: " + Math.round(ys[ys.length - 1])
show values: "yes"
line:
color: red
yaxis: y1
extend_to_present: true
- entity: sensor.propane_tank_neevo_125_gallons
name: |
$ex "125: " + Math.round(ys[ys.length - 1])
show values: "yes"
line:
color: blue
yaxis: y1
extend_to_present: true
- entity: sensor.propane_tank_neevo_76_gallons
name: |
$ex "76: " + Math.round(ys[ys.length - 1])
show values: "yes"
line:
color: black
yaxis: y1
extend_to_present: true
- entity: sensor.propane_tank_neevo_255_gallons
name: |
$ex "255: " + Math.round(ys[ys.length - 1])
show values: "yes"
line:
color: green
yaxis: y1
extend_to_present: true
- entity: sensor.propane_tank_neevo_629_gallons
name: |
$ex "629: " + Math.round(ys[ys.length - 1])
show values: "yes"
line:
color: yellow
yaxis: y1
extend_to_present: true
- entity: sensor.propane_tank_neevo_630_gallons
name: |
$ex "630: " + Math.round(ys[ys.length - 1])
show values: "yes"
line:
color: purple
yaxis: y1
extend_to_present: true
layout:
height: 700
showlegend: true
yaxis:
fixedrange: false
range:
- 1
- 200
yaxis2:
fixedrange: false
range:
- 1
- 850
title: Propane Gallons
hours_to_show: 240
I do not have any HA monitoring of oil. All I have are paper invoices which come in at random times (well, random to me) that I then manually extract the data from. I use a rough $3.50/gallon to derive the gallons used.
I do apologize, but I am not particularly well-versed at HA, so kindly include what you might consider very basic info, like what card to use and how to manuipulate the data. I would like to see daily usage in kwh or gallons as well as daily cost.
Thank you very much!