I’m trying to track my pellet heating consumption in Home Assistant, but I’m stuck.
Context
My pellet boiler only gives me a total cumulative consumption (for example in kg or kWh equivalent).
It doesn’t provide daily / weekly / monthly / yearly consumption out of the box.
Goal
I’d like to get:
Daily consumption
Weekly consumption
Monthly consumption
Yearly consumption
And ideally visualize it in a dashboard (graphs, stats, etc.).
How can I convert a total consumption sensor into period-based consumption?
Any recommended method (helper, template sensor, automation)?
How do you calculate consumption per day / week / month from a total?
Are there any ready-to-use integrations (core or HACS) that already do this?
Something that can take pellet_total → daily / weekly / monthly / yearly automatically?
Any code examples or YAML configs?
Template sensors
Utility Meter
Lovelace cards like ApexCharts
HACS or custom components
If you know any HACS integrations that track pellet consumption history, please share!
As above Post, but even in graph/stats Cards, native or custom
as above, and privies post
Do you have Anything to “Show”, as this is not the first time this Topic is discussed, and i noticed you in another.
So look around try some options, native as Roadkill suggest, or the native card options
Why keep ask around, if you haven’t tried, or have something you can’t figure out
As i mention earlier ( In the other FR-Post ), there are “issues” you have to think of.
i.e KG, what does your sensor give you ? kg / kWh ? , real-time or daily ?
Define “equivalent” im not sure what you mean with
Graph cards can handle total cumulative sensor, and split it up(Show it) in hours/days/week/month/years ( Choose -Bar, Not -graph/line )
in m3, i know that’s the way you pay for the Source, because they don’t count every “pellets”
??? Yesterday !!! … In the 4.5 year old Feature Request, , where You Responded to my commend and and i responded back
and There, you responded to all people, in tags, The post above yours gave you the idea to convert m3 to KG, and said there are (atleast 1) pellets integration for this … counting KG( If your pellet-burner support this ), … Just above your very first post there
What you could do, for people to give you Ideas, is show your “Sensor” if you have one
Take your sensor/counter, total increasing, put it in a graph card, choose BAR, wait a few days and post a picture, and the code of this card Which ever graph card you choose
This topic has absolutely nothing to do with the request in the other thread. In this topic, I’m simply asking how to display daily/monthly consumption…
And the other thread is a request to add/fix an function in Energy Dashboard
For now, we can only enter gas data in the “Energy Dashboard”, which has nothing to do with this topic (a GitHub request was also created, and I wanted to get feedback).
You are mixing the two themes, which have no connection whatsoever.
Right and now you have answers to some of your questions, obvious such, HA has a native graph-card ( Thats what you’ve been asking for, HACS has a handful of graph-cards, template-sensor, yes, depending upon how/what you want to calculate( In the end you need such sensors if you want to show a graph ( Which you do “best” with a graph-card )
HAVE you tried to add your “equivalent” Sensor into a Graph-Card ?
Do you have problems making Your “total-cumulative-consumption-sensor” Show daily/weekly/monthly/yearly ?
You also know there is Integrations for atleast 1 Pellets-burner !, anything you can use ?
Have You search HACS for Graph-Cards/Integrations ?
Have You tried the native Graph/Statistic cards ?
Have you tried Any Graph-cards ?
Do You actually have a sensor ?
Or do You just shuffle your pellets into it’s container, and count the days until your “storage” i.e 1 m3 is “burned” ?