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

Fails, recalculation of prices every hour #451 #452

Closed
mm98 opened this issue Feb 28, 2024 · 9 comments · Fixed by #458
Closed

Fails, recalculation of prices every hour #451 #452

mm98 opened this issue Feb 28, 2024 · 9 comments · Fixed by #458
Assignees
Labels
bug Something isn't working

Comments

@mm98
Copy link

mm98 commented Feb 28, 2024

Describe the issue

On every hourly reload (from #451), the prices are incorrect (lower) until EDS is manually reloaded.

Before reload:
image

After reload:
image

What version of Home Assistant Core has the issue?

2024.2.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Diagnostics information

home-assistant_energidataservice_2024-02-28T16-10-24.900Z.log

Anything in the logs that might be useful for us?

Only occurs on the internal hourly reload. Almost looks like it is missing the tariffs (just a guess).

Additional information

No response

@mm98 mm98 added the bug Something isn't working label Feb 28, 2024
@mm98 mm98 changed the title Fails, Force recalculation of prices every hour #451 #451 Fails, Force recalculation of prices every hour #451 Feb 28, 2024
@mm98 mm98 changed the title Fails, Force recalculation of prices every hour #451 Fails, recalculation of prices every hour #451 Feb 28, 2024
@MTrab
Copy link
Owner

MTrab commented Feb 29, 2024

Does this occur EVERY hour?
Just ran another test, and apparantly it works as supposed here.

@mm98
Copy link
Author

mm98 commented Feb 29, 2024

Does this occur EVERY hour?

Yes, it happened the following two hours, after i updated to v1.5.0. I also wonder, why nobody else has reported this. Such an bug can't affect only a single person 😁 (I'm a dev myself). So i reverted to v1.4.6.

Are there any other data I could send to you - besides the debug info?

UPDATED:

Configuration:

Price area: West of the great belt
Show prices including VAT: Yes
Price calculated in: kWh
Template: {{ 0.0485 | float(0) }}

AI forecasts from Carnot: Yes
Automatically fetch tariff data: Yes

Net operator: TREFOR EL-net

@Waseh
Copy link

Waseh commented Feb 29, 2024

I'm seeing the same thing

@Finseth3ao
Copy link

Same

@erviem99
Copy link

I can confirm. I just broke here again at 13.00.

@yoali11
Copy link

yoali11 commented Feb 29, 2024

I can also confirm this bug. I started charging my car due to the seemingly low electricity prices and noticed only later by the amount charged that something was off 😅

Edit:
My config:
Screenshot_20240229-134044~2

With latest version.

@MTrab
Copy link
Owner

MTrab commented Feb 29, 2024

I have pulled v1.5.0 so no further users install or upgrade to that version.
Will see if I can recreate and create a fix

@mm98
Copy link
Author

mm98 commented Feb 29, 2024

Will see if I can recreate and create a fix

Just a small note. I noticed the bug on the first hour (after update). I Enabled debug logging just before the second run, since I almost was certain it would happen again. Meaning the debug log i added, should be from hourly update with incorrect data. Don't know if you can see anything from this or use it at all.

@mm98
Copy link
Author

mm98 commented Mar 1, 2024

I would reopen this issue, if I could. The main electricity prices are correct now, but the forecast data (carnot) has the same bug (requires manual reload to get it correct).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants