Closed PalleRaa closed 1 year ago
I would have to check this, but it seems it definitely seems wrong. To be honest I am always confused looking at the datetimes 😕
Hey @PalleRaa, I've just made some fixes in the provider for this, the issue was that it was affected by your local timezone.
There is also a new required parameter of Energinet__Currency
, check the README for more info on this.
The changes for this new version are:
VAT
option on Energinet provider actually optionalCurrency
on Energinet providerPlease try out the unreleased image version v1.11.1
and let me know if works better for you 😄
Haleluja. It works!
Messed a lot with the fact that the fixed prices should be without VAT. But now it fits my manual calculations 1:1. This is absolutely great.
Fantastic! I've just published that version now for everyone to enjoy, thanks for testing it! 🙂
First of all, thanks for the new 1.11.0 @marval
I was trying to calculate the cost for my most recent charge. It is Tesla Mate identified correctly to have started at 3AM DK time.
My config is as simple as possible with no fixed prices added.
When it is calculating the cost I get the following in the log:
It takes my 03:00-04:00 DK time and converts it ti 02:00-03:00UTC which is correct. However, when looking at a data dump from energidataservice I get the following:
So TeslaMateAgile says it pulls a cost of 0.0864500500 from 01/08/2023 02:00:00 UTC - 01/08/2023 03:00:00 UTC but the price is actually 0.03867500125. It seems that TeslaMateAgile thinks it gets the cost from 02:00 UTC to 03:00 UTC, but actually takes the cost from 00:00 UTC - 01:00 UTC.