Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UoM] Add dimension for emission intensity #4069

Merged
merged 1 commit into from Feb 6, 2024
Merged

Conversation

jlaur
Copy link
Contributor

@jlaur jlaur commented Jan 27, 2024

This adds a dimension that can be used to express emission rate of a given pollutant relative to the intensity of a specific activity, for example CO2 emissions in g/kWh (mass/energy). See https://en.wikipedia.org/wiki/Emission_intensity.

This is a preparation to support UoM for new datasets in the Energi Data Service binding:
image

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
@J-N-K
Copy link
Member

J-N-K commented Jan 31, 2024

I'm not against this, but what is the use-case for this in the smart-home context? Is there any service that provides live emission data for the current power generation?

@jlaur
Copy link
Contributor Author

jlaur commented Jan 31, 2024

I'm not against this, but what is the use-case for this in the smart-home context? Is there any service that provides live emission data for the current power generation?

Yes, there is a dataset for near up-to-date history for CO2 emission as well as an estimated prognosis (like shown in the graph in the PR description). The prognosis is particularly interesting because it follows the day-ahead market and is continuously updated.

So far I have been using prices for planning consumption, as an approximation for when the energy is "greenest". But making CO₂ emission data available can allow for more fine-grained planning when the objective is not only to consider economy. Or even just to plot on a graph combined with prices to give overview/insights.

Adding UoM support for this is of course not needed, just nice to have. 🙂

@J-N-K J-N-K added the enhancement An enhancement or new feature of the Core label Feb 6, 2024
Copy link
Member

@J-N-K J-N-K left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@J-N-K J-N-K merged commit 823f993 into openhab:main Feb 6, 2024
3 checks passed
@jlaur jlaur deleted the uom-emission branch February 6, 2024 20:17
@jlaur
Copy link
Contributor Author

jlaur commented Mar 2, 2024

@openhab/core-maintainers - can you add the "4.2" milestone?

@J-N-K J-N-K added this to the 4.2 milestone Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature of the Core
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants