-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Limit charging from grid based on realtime grid usage #12
Comments
+1 for this request :-) |
Yesterday I've had a genius friend come over and he quickly adapted the script to achieve this request. For those who want to use, further develop it, or implement it in TeslaSolarCharger, you can find it here: https://github.com/kimme1024/TeslaNightCharger As it's currently a separate script you have to run a couple automations to switch between the scripts when using it. The following seems to work for now:
DISCLAIMER |
This might do what you want. Please try v2.0 and set the daytime/nighttime power offsets to a negative value, eg. -10000 to draw a maximum of 10000 watts from grid. Please don't forget to turn on charge from grid. |
During the winter months it's sadly sometimes needed to charge your car from the grid.
As I'm having peak tariff I have to do this at night.
However, in Belgium, we're also fined on our peak quarterly usage. This morning, the car was charging, I was still asleep and my wife used the oven, therefore our peak usage for this month raised a lot. (The highest 15min of the month will count)
To avoid this it might be useful to implement the opposite of the script for the case when it's charging from the grid.
Example:
When charging from grid, you can set a grid limit (ex 4000W). So the car can charge at it's maximum current, but when another device starts using electricity which causes the grid usage to exceed the limit, it lowers the car's current for the time that this occurs.
I think this would be a very useful addition to this project!
The text was updated successfully, but these errors were encountered: