Hi I had the same issue a few days ago. Remove the current integration and reinstall it under a different name. This works but you have to update your charts and templates which still use the old entity names etc. Not sure what is going on but something with cache perhaps? Is there a way to clean the cache from HA? Perhaps someone has some insight into this?
Today I didn’t got an update on my new prices. I’ve tried to restart the Home Assistant Yellow, the reboot the services, et cetera. But without any success.
More people who experienced this? Any idea what could be done about that?
Same here, no prices for tomorrow yet. I think i didn’t see new data on the Entso-e platform either until late this evening. However I could not find anything suggesting the service was down on their side.
Tried restarting HA, new setup of Entso-e integration with new API token, but no luck so far.
Edit: There are no tomorrow prices for the NL region available on the Entso-e platform at this time.
Issue seems to be resolved, I’ve received new prices without any action on my HA
Hi all,
I have two sensors for the entsoe platform, (one with tax and the other without.)
They both stopted working for no apparent reason, as far as i can see. (data isn’t updated anymore)
I made a new sensor, with a different name, that one is updating values.
I complete removed the Entsoe configuration and complete folder in Custom components, and re installed it.
I reused the old sensor names that were not working, to find out that they are still not working.
Again a completely new sensor with a different name is working.
So somehow there is something related to this sensor “name” in home assistant that is not working.
Does anyone have an idea?
I’ve added a new configuration as well, with the same API key and such. And then it works as expected. No idea what the reason behind it is though.
If someone has the answer, feel free to share!
Hi all,
Is anyone reading and using this topic, from Belgium ? Has anyone in Belgium got a ‘flexible’ contract where you pay by the energy consumed per hour to get maximum use of this integration ? If so, which contract at which supplier please ? (DM is possible if you want to share private)
Thanks all,
Kr,
Bart
Where you able to find the injection prices ?
Hello Bart
Supplier: I’m using the “Dynamic” contract from Engie Electrabel. See Voorwaarden en prijsfiches | ENGIE
I use the following integrations to pull the dynamic prices:
- ENTSO-e
- nordpool
- nordpool_diff
More details about how my system works see:
FYI: I kept detailed costs since I’ve switched to this type of contract. In the first 9 months I’ve saved about €2400 by picking this type of contract and using it right using HA.
Thanks a lot @bel_RV, I’m going to have a good look at in. This is exactly what I am aiming for. Be sure that I will ‘harras’ you with more questions
Does anyone know why I get only one line and not two ? My tomorrow prices don’t seem to get calculated correctly:
This is the code I’m using
- type: 'custom:apexcharts-card'
graph_span: 48h
span:
start: day
all_series_config:
stroke_width: 1
show:
in_brush: true
now:
show: true
label: Nu
header:
show: true
title: Electriciteitsprijzen - afname (€/kwh)
show_states: true
standard_format: true
colorize_states: true
chart_type: line
series:
- entity: sensor.bart_weemaels_average_electricity_price_today
name: Prijs nu
float_precision: 2
type: column
opacity: 1
data_generator: |
return entity.attributes.prices_today.map((record, index) => {
return [new Date(record.time).getTime(), record.price];
});
color: '#4169E1'
show:
legend_value: false
in_header: before_now
- entity: sensor.bart_weemaels_average_electricity_price_today
name: Zelfde tijd morgen
float_precision: 2
type: column
opacity: 0.8
color: '#00BFFF'
data_generator: |
return entity.attributes.prices_tomorrow.map((record, index) => {
return [new Date(record.time).getTime()-86400000, record.price];
});
show:
legend_value: false
in_header: before_now
apex_config:
datalabels:
enabled: true
yaxis:
opposite: false
reversed: false
logarithmic: false
decimalsInFloat: 3
min: 0
labels:
show: true
tooltip:
enabled: true
crosshairs:
show: true
xaxis:
labels:
show: true
rotate: -45
Screenshot added to this message
Thx a lot,
Bart
Prices are published at 14:00 each day.
FYI I use this code below to draw the graph. I like to use “Date(record.time).getTime()-86400000” to map out the prices of the next day on top of the day before, but keep in mind between 0:00 and 14:00 it only shows a flat line.
type: custom:apexcharts-card
graph_span: 24h
span:
start: day
all_series_config:
stroke_width: 1
show:
in_brush: true
now:
show: true
label: Nu
header:
show: true
title: Electriciteitsprijzen - afname (€/kwh)
show_states: true
standard_format: true
colorize_states: true
chart_type: line
series:
- entity: sensor.average_electricity_price_today
name: Prijs nu
float_precision: 2
type: column
opacity: 1
data_generator: |
return entity.attributes.prices.map((record, index) => {
return [new Date(record.time).getTime(), record.price];
});
color: '#4169E1'
show:
legend_value: false
in_header: before_now
- entity: sensor.average_electricity_price_today
name: Zelfde tijd morgen
float_precision: 2
type: column
opacity: 0.8
color: '#00BFFF'
data_generator: |
return entity.attributes.prices.map((record, index) => {
return [new Date(record.time).getTime()-86400000, record.price];
});
show:
legend_value: false
in_header: before_now
- entity: sensor.injectie_average_electricity_price_today
name: Injectie nu
opacity: 1
float_precision: 2
type: column
color: '#006400'
data_generator: |
return entity.attributes.prices.map((record, index) => {
return [new Date(record.time).getTime(), record.price];
});
show:
legend_value: false
in_header: before_now
- entity: sensor.injectie_average_electricity_price_today
name: Injectie morgen
float_precision: 2
type: column
color: '#9ACD32'
opacity: 0.8
data_generator: |
return entity.attributes.prices.map((record, index) => {
return [new Date(record.time).getTime()-86400000, record.price];
});
show:
legend_value: false
in_header: before_now
apex_config:
datalabels:
enabled: true
yaxis:
opposite: false
reversed: false
logarithmic: false
decimalsInFloat: 3
min: -0.05
labels:
show: true
tooltip:
enabled: true
crosshairs:
show: true
xaxis:
labels:
show: true
rotate: -45
This is what I get:
Thanks a lot @Bel_RV
Will try the code now and keep you posted.
But as mentioned in other post. Where the h*** did you get the injection prices ?
You can download the injection prices. The distribution costs are added for the consumer prices. You can add it to a template in the entso-e integration. See the discussion on the integration 's github page. It lists the calculation per country.
Has anyone got the same idea to make a graph with the comparison of tradtional billing & the dynamic billing ? A graph that visualises the cost per hour using the entso-e / nordpool pricing vs the cost per hour (day) using the fixed cost in traditional energy contract ?
Kr,
Bart
I have the same problem. Reinstalled the Apexcard and ENTSO-e integration but that didn’t solved it. Did you find a solution?
Unfortunately this integration keeps breaking when the Transparency platform is missing values. It then seems to store a set of invalid values instead and cannot be updated anymore.
Edit:
On a hunch I went looking through the HA core storage and I found a file named core.restore_state. This file holds all the know data for entities that can be restored upon startup. I stopped the HA core process (ha core stop
in SSH), removed each and every complete object that mentions any of the entso-e entities, and then restarted the HA core.
That made the integration work properly again.
This should work every time the integration fails this way.
As usual, be extremely cautious when dealing with core files,
Because the latest release of this integration was in december of 2022 and a lot of issues have already been fixed by pull requests but no new release has been made. So nobody can benefit from these fixes. I made a (hopefully) temporary fork of this integration and made a release.
To make use of my fork you need to do the following steps:
0. Create a backup of your installation.
1. Remove the integration in home assistant
2. Remove the integration in HACS
3. Add a custom repository in hacs: https://github.com/Roeland54/ha-entso-e
4. Search for “ENTSO-e Transparency Platform 2” and install it
5. Restart Home Assistant
6. Add the integration in home assistant if you use the same name like you did previously the entities will have the same id as before and existing automations and history should still be available.
@JaccoR I am happy to help out on answering/closing issues, reviewing PR’s and creating releases if you want me to.
I got access to the original repository so I will focus on helping improving the addon there.
Thanks Roeland, I’m running your version now, but I see you (and others) are contributing to @JaccoR 's repo. I will try the v0.4.0-beta.3 release.
I (still) had to do the trick with clearing the restore state while ha is stopped to fix the graph data (prices).
@geertdoornbos I got access rights to the original repository to help out with the maintenance of this. I will have a look at this bug asap.