-
Notifications
You must be signed in to change notification settings - Fork 30
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
After upgrading to HA 2024.4.0 no prices where retreived #150
Comments
Same here on 2024.03 version so it's probably the API. |
Yes, I also think this is not an issue regarding the upgrade to 2024.4.0. Same issue over here. |
Same issue here. Core 2024.4.0 |
Same here. Not working after the update to 2024.4.0, but that might be a coincidence like @ronaldt80 mentioned he has is with 2024.3. Like @EpicCoolDude mentioned, the data for The Netherlands looks empty for Day Ahead : |
Same here, I've sent an email to transparency@entsoe.eu to ask if it is a known issue. |
Same here since 2024.4.0 |
Still on HA 2024.3.0, but same problem.... |
I got the same, on HA 2024.3.0. Switched over to the NordPool integration for now. |
Response from ENTSO-e: The data was published on Transparency Platform by our Data Provider. And it does indeed appear to be back online now! |
Not yet here. Even after a restart or reload of the integration |
Here also still no change after reboot or reload.... |
Bij mij werkt het weer. Een nieuwe set services aanmaken met een andere naam. |
Wat bedoel je daarmee? |
2 hours ago I reloaded/restarted the integration and restarted HA without luck. Just now checked the graph again with no intervention inbetween, and the prices are there. (updated around 3pm CEST) |
Still this in the log:
|
So I have created a test Enstoe (just the name with same API key) and now I see the data. So there is a difference what HA applies between versions I think |
Hm...I deleted the old entrance and created a new one with exact the same name. I think I got values, but the graphs are still empty.... I have to investigate further. |
Same here, only problem is that I lost the statistics on the new sensors as the naming is different and my pricing template is not working anymore so I am seeing only market prices without an uplift. Anyone facing this as well? |
Try deleting old configuration and create a new one with a different name, with the same name it doens't seem to work. Only problem is that you'll have to go through all the dashboards that use it to update with new name. |
It seems to only work when using a new name, but yes then need to update all the dashboards to the new entity name and you'll loose all historic data. Did you tick the box to fill in tax and template at the start when creating the configuration? I found out that when trying to apply afterwards it doesn't work (maybe it does with the new set of data tomorrow). |
I removed the entso-e integration. Reinstall with another name. The same name is not working. I changed one character and it works!! |
After reading this issue, I've also deleted my integration.
Still doesn't update to new values, you really need a new name. |
...and what happened to your history? Previous time all this happened and reinstalled integration, I lost all historic data... |
Do we know what is causing this failure? Maybe then we can tackle this problem. I would like to keep historic data. |
I have the exact same logs. It seems the Entities have changed classes (for example from Measurement to Monetary or Measurement to Timestamp). Maybe deleting / reinstalling the integration configures it all correctly. But that would kill historic data. |
I guess if recreating the plugin instance with another name is solving this problem that it is a bug in this plugin. I'll wait until this bug is fixed. |
Second time it happened to me. I switched to Nordpool. Sorry
-------- Oorspronkelijk bericht --------Van: Arno Broeders ***@***.***> Datum: 13-04-2024 12:04 (GMT+01:00) Aan: JaccoR/hass-entso-e ***@***.***> Cc: RogMoe ***@***.***>, Comment ***@***.***> Onderwerp: Re: [JaccoR/hass-entso-e] After upgrading to HA 2024.4.0 no prices
where retreived (Issue #150)
I guess if recreating the plugin instance with another name is solving this problem that it is a bug in this plugin. I'll wait until this bug is fixed.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
You have to delete the ensoe entries from .storage/core.restore_state |
The problem is that sometimes there are wrong stored sensor values. And the function "async_get_last_sensor_data" in sensor.py always overwrites the good values. At the end, there is no way out. |
How do you proceed after deleting them? I've deleted all entso entries and reloaded HA, but old data is retained, I've queried my database, but entso data isn't stored there. I'll try to add the data to recorder and try to delete it there. |
I stopped HA, deleted the stored values and started HA. But that fixed only the "today" values, "tomorrow" was still wrong. So I fixed sth. in the code. If you have access to the custom_components/entsoe files, I can give you my fix. |
I have access, looking at your hass-entso-e repo now, do you have the change documented? or in comments in the affceted file? So I can re-apply / understand the fix :) |
The main change is func async_get_last_sensor_data in sensor.py. It always returns "None" now. |
I'll check it out, I'm moving from the provided min/avg/max values; today the avg provided by Entso-E is below the min value :/ |
This looks pretty complex. I did not know that there is sth. like custom templates! |
You can import it through hacs, if you enable experimental features in HACS (Integrations -> Hacs - > Configure), you then still need to move the cheapest_energy_hours.jinja file from the www/community/cheapest-energy-hours folder to the custom_templates folder (which you may need to create at the same level as the www & custom_components folders. I then used the following in the template editor to get some results, later I'll create some sensors or automations with them.
|
Happened to me again in the last couple days. Have to remove and add the integration with a new name again... |
And again, after updating to the latest Home Assistant release, I have no data. Tried reinstalling with another name, but no luck this time. Can't this be solved permanently somehow? |
Haven't tried to do the trick again, and updated my ha today, so might be broken since today. |
This happened again today (for the second time). You can either create a new integration with a different name (this sucks because you also have to change the name in the automations and you lose the history) or use this fix (which worked for me). I'm not sure what the underlying cause is. Maybe this issue has something to do with it. |
I didn't upgrade and I had implemented Martin's fix, still broke. Trying to clear config/.storage/core.restore_state entries now... Update: Clearing the entries from core.restore_state worked. |
I only needed to clear this object (including all the nested today and tomorrow prices that seemed to be stuck since 6 days ago): sensor.[your entso-e config name]_average_electricity_price_today Prices and graphs filled almost immediately after starting hass again. |
Can you say how to clear the object including the nested today and tomorrow prices? |
Sure, SSH into your HASS Remove this segment starting with the
Restart HASS with |
Clearing this one object solved the issue for me. Hopefully there will be a fix soon, that fixes it permanently ;-) |
This is a quite persistent and annoying error. I've been using the integration for over two years. Everytime the ENTSO-e API had some error, and there is no data available for some time, the integration seems to corrupt the data in sensors. Even after the data in the API is correct again, you can't use the previous sensors anymore. You'll have to delete the integration, add it again and change all our automations etc. Probably some better error handling is necessary when receiving empty or wrong data from the API... |
where should the config dir be? I managed to get the ha core to stop, but I cannot find the file you are refering to. Found it on mnt/data/supervisor/homeassistant/.storage/core.restore_state Edit2: the data filled up a few minutes after the removing the data from core.restore_state. Thanks for pointing this out. |
v0.4.0 is released this version contains fixes that solve a lot of warnings and known issues. This issue is probably also solved. |
Dont think its resolved.. my prices tomorrow attribute is empty; prices today contains today's prices and prices attribute contains prices of yesterday and tomorrow. |
Here the same as @ronaldt80. |
The entso-e platform does not respond with the prices of tomorrow a.t.m. So the issue you currently experiencing is not related to the integration. |
It happened again today so the 0.4.0 update didn't fix the issue. |
The entso-e platform did not return prices for today until it was almost noon. Currently the integration does not handle this properly. We are working on this.: Follow-up on this in issue #171. But entso-e being 20 hours late with prices is something we can't solve. V0.4.0 should have automatically recovered this afternoon without user intervention. If this is not the case feel free to open a new issue with detailed information about your config. |
I noticed the current today prices are the prices of 2 days ago. How can I force the data to update? Edit: Edit2: |
Follow-up in issue #171. |
I did reset my password @ Entsoe and my API key to be sure.
It shows this after reloading it all.
It has the prices of yesterday and the 3rd of April but after reloading the 5th is not showing up:
I've installed the update around 22:00
The text was updated successfully, but these errors were encountered: