Teslamate: Allow negative charge costs

Created on 22 May 2020  路  4Comments  路  Source: adriankumpf/teslamate

Many Tesla owners in the UK are with Octopus Energy, a provider who's half-hourly rates are based on wholesale costs. Occassionally this can result in negative prices, ie being paid to use electricity.

Currently Teslamate prevents setting charge costs as negative, requiring them to be 0 or greater. If this is simply human validation and not a larger job, affecting the database and calculations, can this be amended to allow for negative values please?

good first issue idea

Most helpful comment

_Paid_ to use electricity?! What am I doing wrong.

All 4 comments

Somewhat related to #655 (Octopus Energy)

_Paid_ to use electricity?! What am I doing wrong.

_Paid_ to use electricity?! What am I doing wrong.

I know! Lockdown has helped. Lowest rate tomorrow is -11.81p/kW @ 14:30-15:00 and along with the rest of the afternoon I should be paid ~拢4 for charging the M3. Small gains!

@adriankumpf

I manually updated my charge cost today to a negative via psql and it appears to be displaying correctly and doesn't seem to have broken any grafana calcs so I presume the prevention is/was just for human error.

By the way, thank you for all your hard work on this, I've been meaning to donate since I started using it a few weeks ago but got around to it this evening.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Try2Fly picture Try2Fly  路  5Comments

detritu5 picture detritu5  路  4Comments

natrlhy picture natrlhy  路  6Comments

bastrik picture bastrik  路  3Comments

petariga picture petariga  路  5Comments