MattJeanes / TeslaMateAgile

Integration to automatically fill in prices for charge data captured by TeslaMate for smart energy providers
MIT License
82 stars 10 forks source link

Provider feature request : EDF Tempo French Provider #31

Open cdlp34 opened 2 years ago

cdlp34 commented 2 years ago

Hi,

Would it be possible to have a new provider for TeslaMateAgile ? (using API from RTE)

With "EDF" French National provider, there is an offer called "TEMPO"

Hours : From 6 am to 10 pm : this is Full Hour with specific cost of KWh, and from 10 pm to 6 am, this is off-peak hour with another specific cost of KWh

Days :

Of course, there is different costs in full hours costs & off-peak hours costs, for each color of days.....

See full exemple table here : https://images.prismic.io/ekwateur-edito/ff58a9e7-053a-4597-b24f-476aa63ac143_grille-tarifaire-edf-tempo.PNG?auto=compress,format

There is an API documentation here (FR/EN switch at he top right corner window) : https://data.rte-france.com/catalog/-/api/doc/user-guide/Tempo+Like+Supply+Contract/1.1

With this API, we could know colors of time periods With color of time period + 2 Fixed costs by color in full hours costs & off-peak hours costs, here we are...

Regards.

MattJeanes commented 2 years ago

Hey there thanks for raising this feature request! I unfortunately won't be able to work on this personally but I am always happy to accept pull requests to add this provider. I will keep this issue open so someone willing can pick it up

MattJeanes commented 1 year ago

Hi there, the new version v1.12.0 now includes a Home Assistant provider that you could use to make this integration yourself potentially, but I will leave this issue open for proper support if anyone wishes to contribute.

pihomeserver commented 7 months ago

@cdlp34 in HomeAssitant you can use RTE Tempo in HACS that will create a sensor with the exact current price and the associated history to that value. I'm now trying to connect TeslamateAgile to HomeAssistant to confirm the calculation costs of each charge