evcc
evcc copied to clipboard
RTE / EDF TEMPO price integration
Is your feature request related to a problem? Please describe. In France, EDF offers a TEMPO tariff with Blue, White and Red days (with off-peak hour and full hour for all its tariffs) The rates are fixed for periods of 6 months, the color of the day are accessible from the next day (accessible in the morning around 7 or 8 am and confirmed from 11 am) by an API.
Describe the solution you'd like A call to this api to know the color of the current day + the color of the next day would be good with a fixed information of the price in the configuration (which would allow to adapt it for each change)
Additional context Mostly it is up to 16cts the Kwh, however in full hour in red day it is 73 cts the kwh !
Thanks
Can you provide details for the API?
Yes.
This repo use it for Home Assistant plugin : https://github.com/hekmon/rtetempo This is the documentation for the API : https://data.rte-france.com/catalog/-/api/doc/user-guide/Tempo+Like+Supply+Contract/1.1
Looking at the API it is not clear to me where we can find out what the price for write/blue/red hours are?
Like i say in the issue, the price is not in the API, just the color of the day. The price is fixed every 6 month and not in API, I proposed to be able to modify it in the configuration for this.
@ioniks could you please share an access token for testing with [email protected]?
@andig it's sended
Re https://github.com/evcc-io/evcc/pull/11051#issuecomment-1847462131: I no longer understand the price structure. Can you please explain the tariff (again)? What are the colors? Only a price? Or price plus peak time (s)?
Yes
For each day color there are two prices. off-peak and peak hours.
off-peak hours vary from one person to another in France. For example, I have from 10:38 p.m. to 6:38 a.m. and another person can have 10:48 p.m. to 6:48 a.m.
Actually the price table is : (cts €/kWh) Blue :
- peak : 13.69
- off peak : 10.56
White :
- peak : 16.54
- off peak : 12.46
Red :
- peak : 73.24
- off peak : 13.28
Ok. And are the peak/off peak hours the same time for the different colors? Or does each color need its own time table in addition to its own prices? Is the off-peak price identical across all colors?
Yes off peak are always the same time
To summarise:
- single off-peak price
- single set of peak hours
- different peak prices per color
Correct?
No :
- single set of peak hours
- different peak prices and off-peak price per color
Actually : Blue off peak price : 10.56 cts € White off peak price : 12.46 cts € Red off peak price : 13.28 cts €
Every peak and off peak price is different for every color (6 different tarifs)
Sounds like we should change the config like this:
type: edf-tempo
clientid: ...
clientsecret: ...
zones: // peak zones
- ...
prices:
red:
peak: ...
offpeak:
blue:
peak: ...
offpeak: ...
white:
peak: ...
offpeak: ...
Yes, perfect.
Configuration of peak zone is more simple than configuration of off-peak zone.
👍
hi @andig ,
Litlle update : The peak and off-peak hours for this subscription are the same nationally in France from 6:00 to 22:00 for peak hours and from 22:00 to 6:00 for off-peak hours
Sorry I didn’t get this information ...
But who can the most can the least ;)
Hi @andig do you need more information ?
Hi,
Is this feature is operationnal. I don't succeed to implement it on my config. I have an error :
panic: assignment to entry in nil map
goroutine 118 [running]: github.com/evcc-io/evcc/tariff.NewEdfTempoFromConfig(0x4000d3dfe4?) github.com/evcc-io/evcc/tariff/edf-tempo.go:73 +0x504
This is my test config :
tariffs: currency: EUR # (default EUR) grid: # See https://github.com/hekmon/rtetempo to generate api Application on rte-france.com type: edf-tempo clientid: xxx clientsecret: xxx prices: red: 0.3 blue: 0.3 white: 0.3
I don't succeed too with this config : prices: red: peak: ... offpeak: blue: peak: ... offpeak: ... white: peak: ... offpeak: ...
Please someone how succeed to configure it can share his config please?
A big Thanks
@oliviermichaud
This is not finished
@ioniks
Ok thank you for your fast answer. So i will wait.
For information, the EDF Tempo subscription volume increase a lot in France due to the price of electricity. I’m sure this development interest a lot of people.
Thank you for your Job. Evcc is so nice