-
-
Notifications
You must be signed in to change notification settings - Fork 695
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
Add Template - Vehicle - Tessie #17274
Conversation
That would be great- happy to help! |
Amazing! Even better if you can use it with dumb chargers i/o Tesla fleet api and their recent limitations. |
@andig I am not really familiar with Go language, but how to combine the api calls into 1 api call? I tried a few things, but it always fails in test. |
It should definitly be possible to build a charger with the commands as described here. But I am also not able to code that in the evcc.yaml Who can help? |
I already have the charger working, that is not the problem. Or I have to rewrite everything in go language, or find a good way in yaml. |
Can you share please? |
@djfanatix evcc should respect ETag cache headers. If you want more you can statically set |
One thing confuses me in this, if you have chargeEnable, why isn't there chargeDisable? How will EVCC will know how to stop charging? |
I have the part for "enable" like below. enable: |
Well, that make sense. But I'm interested in a file in this Pull request for Tessie. I'm experimenting. |
Me too... Would be very interested if someone got a custom charger with tessie already running. |
Yeah I got it somehow working, but is too sketchy maybe I should rewrite in go, or clone the tesla files and replace the endpoints with Tessie. I will try to post tomorrow the code |
Yes, let me have a look. |
I guess something like this should do it, right?
|
maybe, you can see my code at, but I changed a few parameters for testing, so don't rely on it https://github.com/djfanatix/evcc/edit/master/templates/definition/charger/tessie-charger.yaml |
What physical charger do you use? I have Tesla Wall Connector 3 |
I use a Tesla Wall Connector 1, that is not able to be controlled by anything... chargers:
|
depends on the use case :-) For example:
|
Ok, but do you really want the same behaviour at any location you are charging? |
Stupid question... |
This file is not working for the moment. If you want to test you need to build a docker image of your fork |
This template (when inserting in your EVCC.yaml) will work. https://github.com/djfanatix/EVCC_templates/blob/main/tessiecharger.yml |
Great, thank you so much. Will try asap. |
It works really good so far. However evcc takes over charging steering now regardless where I charge. |
It is just a template so not part of evcc, so you can adjust whatever you like |
Sure. I assume @djfanatix can first try your suggested change in escape syntax. If that does not work, we can look further. |
I tried:
|
|
If .enable is a string comparison, hence
|
This
the second try:
|
Looking at helm/helm#2798 please try
This will make the init template render
as part of the URI which the runtime template wir parse/execute again. |
@andig Thank you! that is that magic trick :-)
|
This template stuff is tricky but powerful.
You're right. |
Yes, I am still doubting to implement it. 2 questions related to api based chargers.
|
That's strange... I do not have these issues with my teslalogger-api-based charger... So I think it is not a general problem with an api-based charger... (although I only use the data from teslalogger and send the commands via ble-proxy) |
If you use home assistant addon: Add addon: https://github.com/djfanatix/hassio-addon It uses evvctest.yaml instead of evvc.yaml Config:
|
I cannot use the home assistant addon, as I run evcc container version on a seperate machine... |
Try the docker image djfanatix/evcc |
Sorry... My mistake. I'm not running evcc in docker. It is an installation on a linux machine. |
The plan is not to make a template, but integrate it in evcc, it is different code. I will try maybe this evening to get it in nightly |
Ok, and where do I need to put the above file then? |
Is there any news on this? Would be so happy to use the tessi charger instead of teslalogger with ble-proxy... |
I made a pull request, so it can go to a nightly You also edit the template to make it work in the evcc.yaml but I will not do this. |
Thanks very much!! |
I just read this: https://developer.tesla.com/en_US/ And https://www.reddit.com/r/teslamotors/s/QGiqsagvuj So if Tesla starts charging money for their API, it makes no more sense to develop the Tessie functionality |
That is exactly the point why it is so important to get the Tessie functionality, because Tessie already uses this paid API and all the others won't work anymore sooner or later... |
No, if you read the reddit topic where the Tessie developer is commenting: if this is implemented it would be 60m dollars yearly for him. So maybe this is the end of Tessie in the current form. Maybe Tesla ble is the future |
Don't know from when the reddit topic you mention is, but on their website they say they already use the paid tesla fleet api. https://developer.tessie.com/reference/access-tesla-fleet-api "Premium paid access to Tesla Fleet API at no additional cost" |
That's 4 months old info. The tariffs were announced 2 days ago. I'v put the Tessie charger on hold until we know how to fix this. We can't wake or send commands without limits anymore. (or from 2025) Maybe we will need a personal Tesla API code and use the streaming api instead of this one |
Thats really sad... |
But you mentioned tesla ble to be the solution... |
I think to avoid the high costs, BLE is the way to go, but I know nothing about BLE, so someone will have to implement this. EVCC's own Tesla api will need a rewrite or it will cease to exist! |
Yes, I think you are right... |
Here is the official answer from Tessie developer. So we definitly should be fine without any problems... Considering Tesla's new pricing, if you use our data endpoint (https://developer.tessie.com/reference/get-state) and issue commands at a reasonable rate (e.g. as needed) you should be fine. This data endpoint intelligently merges Fleet API data with new direct vehicle streaming data in a backwards compatible way and will not be subject to Tesla's prices and limits. James |
Tessie Template
Configured that it doesn't wake up the vehicle when polling. Interval can be set to 'always' and 1m.
Tessie server uses last available data when asleep or live data when vehicle is awake.
Tessie api can also be used to make a Tesla charger, not implemented now.