EVCC Tempo prices retrieval
Retrieve next days Tempo colors and transform the result into evcc compatible
tariffs.
Usage
simplest way is to use the container and start it.
in docker:
docker run --name evcc-tempo -d -v /Where/is/your/config/evcc-tempo.yaml:/etc/evcc-tempo/evcc-tempo.yaml -p 8080:8080 ghcr.io/sdesbure/evcc-tempo:main
you can retrieve the prices in /prices endpoint.
in evcc, add this:
tariffs:
grid:
type: custom
forecast:
source: http
uri: http://docker-server-ip:8080
Configuration
You need to give a config file in order to make it work:
# see below to fill these two values
clientid:
clientsecret:
prices:
blue:
peak: 0.1609
off-peak: 0.1296
white:
peak: 0.1894
off-peak: 0.1486
red:
peak: 0.7562
off-peak: 0.1568
This configuration needs to be put in /etc/evcc-tempo/evcc-tempo.yaml or you
need to give the path in CONFIG_FILE environment variable.
Create an application to connect to RTE API service
datas are directly retried from RTE API and you
need credentials in order to use it.
- Create an account.
- Search for
Tempo Like Supply Contract in the API catalog (in
Consommation category) and
click on Découvrir l'API.
- Once on Tempo API page, click on
Abonnez-vous à l'API and create an
application (or use an already created one).
- Once the application is created and the Tempo API associated, retrieve
authentication information in your
application:
ID Client and
ID Secret.