MattJeanes / TeslaMateAgile

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

Grid rent #15

Closed Dezzorex closed 3 years ago

Dezzorex commented 3 years ago

Hi,

Would it be possible to add a configurable grid rent fee? I rent an apartment and therefore i use this addon with teslamate to calculate how much i have to pay to my landlord (who uses tibber so I can calculate prices from there) for my car charging. Currently i have to add the 0.4833NOK per kWh on in another calculation on the side. It would be great to make it possible to add this automatically in some config so that it is added together with the variable fee.

MattJeanes commented 3 years ago

Hey @Dezzorex, thanks for your interest!

I have added a special option to add a flat fee per kWh now in v1.4.2 with new environment variable TeslaMate__FeePerKilowattHour - can you give it a go and let me know if it meets your needs? I can see this being potentially useful for other people too 😄

Dezzorex commented 3 years ago

Fantastic work, it works great! @MattJeanes If you ever get bored and want to make an integration towards Evlia API (Norwegian grid prices) that would be even more perfect ;-)

https://assets.ctfassets.net/jbub5thfds15/1mF3J3xVf9400SDuwkChUC/d959c5440712df029a8ce29a49403f1c/Elvia__nettleie-API.pdf

MattJeanes commented 3 years ago

Great to hear! If you'd like to raise another issue for that one I can have a look...!