Skip to content

Adding running total for carbon emissions #2830

@mdeakin99

Description

@mdeakin99

I have been trying to get calculate electrify carbon intensity for a while so the recent addition of carbon intensity into predbat is EPIC!

I can see predbat.carbon_today which i will use to ahow carbon for today (which i assume is reset at midnight every night).

Could we either

A) Add a running total, similar to predbat.savings_total_predbat that I can reset at the beginning of 2026 maybe and track overall carbon emissions (for energy)

B) Is there a way I can use predbat.carbon_today manually to have a runnning total for the month, year, forever. I have tried doing this myself with Utility meters but they don’t accept negative values. Could I now use predbat.carbon_today or does the fact it resets create a problem?

Thanks for adding carbon. It’s brilliant!

Use Case

I want to track daily, monthly, yearly and running total for co2 emissions (energy wise)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions