-
-
Notifications
You must be signed in to change notification settings - Fork 673
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 |
You need to make the connected status condirional on being home where your evcc is (geo fencing). |
Yes, thats exactly what I mean and how it is done in the teslalogger charger that I use. Can anyone help with that? |
@andig just a noob question, the template above works. But if try to use it in EVCC (as build in code) this line always fails: The problem is that variable .enable is not passed to the if sentence, but if I try =${enable} the true/false status is passed. |
@djfanatix if I'm not mistaken, these replacements (really escaped Go template syntax) happen twice- at initialisation time and at execution time. @GrimmiMeloni would this be something you'd be interested in digging in? |
* master: (58 commits) Add Huawei EMMA (evcc-io#17338) Config UI: device value formatting (evcc-io#17258) chore: upgrade npm dependencies (evcc-io#17344) chore: fix template Easee: fix PhaseGetter returning used, not configured, phases (evcc-io#17326) chore: refactor MacOS: add gobuildid Script: simplify setters Tariffs: formula, charges, tax > advanced fields (evcc-io#17301) Push: add custom messenger (BC) (evcc-io#17211) Script: add missing string setter (evcc-io#17314) Sofar: fix docs (evcc-io#17324) Polestar: skip test Polestar: fix authentication (evcc-io#17276) chore: fix line breaks chore: fix quotes Add Tessie (evcc-io#17274) PUN: update api endpoint (evcc-io#17270) Revert "EM24: add pv usage & fix energy (evcc-io#17173)" Enphase: fix soc ...
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.