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

smartENERGY (Austria) Net Price Calculation incorrect #108

Closed
AkshayRao27 opened this issue Feb 18, 2024 · 9 comments
Closed

smartENERGY (Austria) Net Price Calculation incorrect #108

AkshayRao27 opened this issue Feb 18, 2024 · 9 comments

Comments

@AkshayRao27
Copy link
Contributor

AkshayRao27 commented Feb 18, 2024

There’s a mismatch between the current price shown on the smartENERGY website and what the sensor calculates.

As of time of writing, the electricity price is ¢8.55 according to the website, and my sensor shows ¢8.842 (¢1.44 surcharge and 20% tax).

The smartENERGY API entry for right now says ¢7.114 which is exactly ¢1.44 short of what their website says.

No matter how I configure the integration, I cannot seem to reach this value. If I include both tax and surcharge, the sensor over reports (current config). If I include just the surcharge but 0% tax, then it under reports.

According to smartENERGY, the prices reported by the API already include 20% tax, so the sensor needs to simply add a static ¢1.44 (the current surcharge) to every price value from the API.

@mampfes
Copy link
Owner

mampfes commented Feb 18, 2024

You have to configure your taxes and surcharges as described in the Net Price Sensor chapter: https://github.com/mampfes/ha_epex_spot?tab=readme-ov-file#1-net-market-price-sensor

image

@angeeinstein
Copy link

According to smartENERGY, the prices reported by the API already include 20% tax

That is wrong, even though they say it on their website. The provided price from smartENERGY is without tax. It's the same as on the EPEX Spot website. You have to add a surcharge of 1,2ct and then 20% tax. That gives you the 1,44ct (1,2×1,2) surcharge that you really pay to smartENERGY.

@AkshayRao27
Copy link
Contributor Author

Okay, that fixes it. I guess the ticket can be closed - might be a good idea to mention this in the documentation somewhere 😉

@angeeinstein
Copy link

I already mentioned this to smartENERGY

@angeeinstein
Copy link

I already mentioned this to smartENERGY

Their reply (translated): "As you can set the prices in the API yourself, they can also be shown including tax. Our description is therefore a matter of setting, depending on the configuration."

@d0tcc
Copy link

d0tcc commented Sep 8, 2024

Could it be that they changed it again and the price provided by the SmartEnergy API now does include the Tax (but no absolute surcharge)?
So the only way I get the price that they claim on their website is by adding 20% surcharge and 1.44ct absolute surcharge.

Example for 2024-09-08T10:00:00+02:00:

EPEX Spot price: 0.829ct
SmartEnergy API price: 0.995ct (0.829*1.2)
SmartEnergy Website price: 2,43ct (0.829*1.2+1.44)

@angeeinstein
Copy link

According to smartENERGY, the prices reported by the API already include 20% tax

That is wrong, even though they say it on their website. The provided price from smartENERGY is without tax. It's the same as on the EPEX Spot website. You have to add a surcharge of 1,2ct and then 20% tax. That gives you the 1,44ct (1,2×1,2) surcharge that you really pay to smartENERGY.

That is still true, just checked.

@xiaodi-dev
Copy link

  1. SmartEnergy API provides the correct price with 20% VAT without the surcharge of 1.44 ct. Currently, the price is calculated (spot price + 1.44) * 1.2 which is incorrect. It should be spot price *1,2 + 1.44.
  2. Is there a possibility of changing all prices from MWh to kWh?
  3. Is possible to have all the prices (average, highest, lowest, median) with the same price structure as the net price with VAT and surcharge?

@suaveolent
Copy link
Collaborator

@xiaodi-dev
1.) Thanks, I have fixed the calculation in 3.0.0-dev-2. Surcharge needs to be adapted accordingly.
2.) See latest pre-release 3.0.0-dev-2. It changes all prices to currency/kWh
3.) It is not yet planed. But seems like a reasonable addition. I might add support for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants