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

Add Tibber energy price source #126

Merged
merged 4 commits into from
Jun 3, 2024
Merged

Add Tibber energy price source #126

merged 4 commits into from
Jun 3, 2024

Conversation

RustyDust
Copy link
Contributor

This PR adds support for Tibber as the source of electricity prices. You need to have an account with Tibber and you also need to get an access token for their API from https://developer.tibber.com

Motivation:

I thought it'd be nice to be able to

  • see the future prices for Tibber (their HA integration only provides the current hour)
  • be able to compare Tibber to EPEX spot prices and maybe competitors too

Minor issue

I found no easy way to disable the configuration of tax, percentage surcharge and absolute surcharge. Those aren't needed for Tibber since they already provide net prices for the current customer as identified through the API token. If given, those values are silently ignored for Tibber.

Signed-off-by: Stefan Rubner <stefan@whocares.de>
Signed-off-by: Stefan Rubner <stefan@whocares.de>
Signed-off-by: Stefan Rubner <stefan@whocares.de>
Signed-off-by: Stefan Rubner <stefan@whocares.de>
@mampfes
Copy link
Owner

mampfes commented May 31, 2024

Hi, thanks for your contribution. I'm still think whether it is a good idea to merge this PR. The reason is that I can't maintain the code as I don't have a Tibber account.

@RustyDust
Copy link
Contributor Author

You don't need an account. You can find the official demo token in line 63 of the __init__.py.

@RustyDust
Copy link
Contributor Author

Oh, and of course if need be, I'd do the maintenance.

@mampfes mampfes changed the base branch from main to dev June 3, 2024 18:46
@mampfes mampfes merged commit adbb7e3 into mampfes:dev Jun 3, 2024
@mampfes
Copy link
Owner

mampfes commented Jun 3, 2024

Ok, then I will merge it (into development branch first). I want to add some breaking changes before I will release a new version=.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants