Tibber Price Information & Ratings (HACS) — best/peak windows from 15-min prices

Hey folks!

I’ve put out a new HACS integration called Tibber Price Information & Ratings. The goal is simple: make Tibber’s quarter-hour prices truly actionable in Home Assistant.

Highlights

  • 15-minute price data (yesterday/today/tomorrow)
  • Best Price & Peak Price windows with ready-to-use binary sensors for automations
  • Back-compat: brings back the legacy LOW / NORMAL / HIGH rating that the official Tibber integration removed, plus the VERY_CHEAP…VERY_EXPENSIVE levels and rolling 24h comparisons
  • Today/tomorrow stats (min/avg/max), plus “leading 24h” helpers
  • Local calculations; uses Tibber’s official price endpoints only

This is an early 0.x release — actively developed, expect changes. Feedback, issues and PRs are very welcome!

Open HACS repository on Your Home Assistant

Cheers,

—Julian

9 Likes

Thanks for sharing @Loredo. Great! I’m going to try it. Can you tell what a time window is in the “Best Price window” and how you calculate it? Currently I’m calculating the latest cheapest 2 hours of a a day and putting them in HASS kalender item and I’m using that to put some devices ON (so shifting the energy consumption of those devices in the last cheapest 2 hours of a day).

I’m currently using a shell script to fetch the following attributes in 2 JSON files (for hourly and quarterly prices):

  • total (total price = energy price + tax price)
  • energy (= energy price)
  • tax (= tax price)
  • currency (= EUR in my case)
  • startsAt (start date/time stamp)
  • level (= price level)
    and use these attributes in automations/entities/sensors.

Never mind my question, I already found your documentation on it (hass.tibber_prices/docs/user/period-calculation.md at 3f43bb4bc04b93ec79b7ee11c28efe38ddb8a3c1 · jpawlowski/hass.tibber_prices · GitHub). Great! I’ll going to try some use-cases. For your information, all sentences in the above mentioned link are somehow written in double.

Hello @roelos, I’m glad to hear that the integration is helpful for you. :slight_smile:

Cheers,
—Julian

1 Like

The integration is excellent! I was able to phase out all of my restfull code needed for retreiving data from Tibber. Thanks o much for all your effort so far!

1 Like

I was looking for something like this!
really well made and displays A LOT of useful information.
thank you so much :))

2 Likes

Hi Julian,
I just stumbled upon your integration. Have been using way more complicated setups than this, and this looks super-powerful! I have installed it immediately, and will be reading the extensive documentation now. It all looks very professional and well documented. Thanks a lot!

1 Like

Very nice!. However, I couldn’t figure out how to get out the “15-minute price data (yesterday/today/tomorrow)”, In particular for tomorrow. I want to use it to create price graph. Can you give me a hint what to do?

Thanks

Have you seen the action get_chartdata?

Great Integration :+1: i used to use tibber_data-integration, and fiddled with REST and apexchart (cumbersome) , this is great and cool

1 Like

This is a great integration, much better than the official.
However, I don’t understand why the energy price per hour isn‘t propery working in the energy dashboard. I changed the view to euro per kWh in the tibber integration and use the price per hour as the „use an entity with the current price”.

When I look at import tariff 1 for today, I see 7.7kWh and a price of €184. Obviously not possible with energy prices between €0.20 and €0.40 per kWh.
Any idea?

And you don’t tell or show, your integration-configurations, it could also depends upon, currency settings on the device/browser you are using maybe it’s 0.184(or is it 184 total ?, you dont say)
So without any “deeper” investigation" from you side and information(show facts) …
Nope, no Idea

@FPSUsername sounds like you’re using the hourly average sensor.

you should be using the dedicated current price sensor in €/kWh. It has the name „Aktueller Strompreis (Energie-Dashboard)“ and will give you the quarterly hour price in major currency format (Euro instead of ct) as the energy dashboard works with SI units only.
If the sensor is not visible to you right away, have a look to the disabled sensors area and enable it first.

I use the “hourly price current” sensor and it reports in €/kWh after changing it in the settings of the integration.

I see that the energy dashboard variant exists as well, but the sensor isn’t working:

Current Electricity Price (Energy Dashboard)

This entity is no longer being provided by the tibber_prices integration. If the entity is no longer in use, delete it in settings.

There is also the “ Current Electricity Price” which shows the correct price.
Either way, I believe the problem is solved, going a bit through the day and when I divide the total price by the consumed power I get a correct average price per kWh. Seems like my issue solved itself

If you had changed the general currency setting, the dedicated dashboard sensor ist not needed and therefore is no longer exposed by the integration.
Just use the “Current Electricity Price” (without “Energy Dashboard” in its name).

1 Like