Tesla: Possible to charge without adding a charger? #8746
Replies: 7 comments 32 replies
-
I don't think EVCC has direct support for the Tesla API, but you could look into using the Plugin functionality. You could either try to use the |
Beta Was this translation helpful? Give feedback.
-
You can control the "old" TWC Gen 2. It is called "TWCManager". The TWC's must set to Slave Mode, connected via 2 wire RS-485 to a Computer (Linux, Raspi, ...). On this you start the TWCManager and have a Website to control the Station. One Sub-Version of the TWCManager has an API. So you can control this from outside. I wrote an Connector for evcc. Now i have my 2 TWC's Gen 2 in EVCC. |
Beta Was this translation helpful? Give feedback.
-
I have a similar setup at home and if you ever manage to get it to work, I would appreciate if you share your findings. I hate replacing non-faulty hardware, but that seems to be the only option |
Beta Was this translation helpful? Give feedback.
-
I gave up with evcc.io and performed similar setup with HomeAssistant, working perfect now, send me a mail if you want the yaml automation. (as long as evcc.io can’t steer a car directly over API w/o speaking to a wallbox , it totally defeats its purpose for me, what a missed opportunity….) |
Beta Was this translation helpful? Give feedback.
-
A lot of the implemented wallboxes are cloud controlled as well? So what’s really the difference there? |
Beta Was this translation helpful? Give feedback.
-
Short answer: It does. Only a chargepoint state is required for operation by evcc to allow for identifying the vehicle connected to a specific charger. This is due to the scalable operation model of evcc. Even the non-controllable TWC3 provides a connection state and and a very rough power measurement. So Tesla (and even specific other) vehicles that provide the vehicle api control options works fine using TWC3. Please have a look at the documentation. |
Beta Was this translation helpful? Give feedback.
-
@BartJocque wrote:
I was curious about this topic, because the gen3 Tesla Wall Connector is passive only. Which is what premultiply has been saying all along: evcc talks to the Tesla directly (in vehicle/tesla.go) for stop/start/adjust charge rate All that information is also available from the car but although I modified tesla.go to poll the volts / amps / kW it appears the way the evcc is designed that information needs to come from the charger. Which does make sense considering they need to support a lot more chargers and vehicles than just Tesla. I already have that information on my network thanks to Teslamate, so I wrote a very small script that runs on my webserver at /api/1/vitals and gives the output that evcc expects to see {"contactor_closed":true,"vehicle_connected":true,"session_s":731,"grid_v":238,"grid_hz":50.000,"vehicle_current_a":8,"currentA_a":8,"currentB_a":0.0,"currentC_a":0.0,"currentN_a":0.0,"voltageA_v":238,"voltageB_v":238,"voltageC_v":238,"relay_coil_v":6.1,"pcba_temp_c":14.1,"handle_temp_c":12.1,"mcu_temp_c":18.6,"uptime_s":42,"input_thermopile_uv":-172,"prox_v":1.5,"pilot_high_v":0.1,"pilot_low_v":0.1,"session_energy_wh":5080,"config_status":5,"evse_state":11,"current_alerts":[]} My Tesla is now successfully following the sun even though it's plugged into a normal power socket with a Juice Booster 2, not a Tesla wall connector. evcc is happy because it thinks it's talking to a gen3. I then tried to take twc3.go out of the equation entirely by creating a custom charger using the "Shell Script" plugin to provide that info to evcc instead, but other than plugged-in and charging/not charging status I couldn't figure out how to pass the charge rate information through. And it's also not clear if evcc is happy with just the kiloWatts, or with just Volts and Amps or if it needs all three. chargers:
- name: shellscript
type: custom
status: # charger status A..F
source: script
cmd: /usr/local/bin/tesla-evcc-status
enabled: # charger enabled state (true/false or 0/1)
source: script
cmd: /usr/local/bin/tesla-evcc-enabled
enable: # set charger enabled state (true/false or 0/1)
source: script
cmd: /bin/sh -c 'echo false'
maxcurrent: # set charger max current (A)
source: script
cmd: /bin/sh -c 'echo 32'
power: # actual charge rate in kW - is this not supported by evcc?
source: script
cmd: /usr/local/bin/tesla-evcc-power
It should also be possible to have evcc poll this information directly from MQTT, which my Teslamate feeds into, but again I couldn't figure out how to pass through the charge rate. But my point is, you don't need a Tesla Wall Connector gen3 to use evcc with your Tesla. That also means you could use eg a Shelly 1PM to monitor your dumb hardwired charger, or a Tesmota Smart Plug which you plug your Mobile Connector or other dumb portable charger into. |
Beta Was this translation helpful? Give feedback.
-
Hi,
i have two Tesla Wallcharger 2 and 2 Tesla’s.
These old wallchargers can not be connected to the network so no steering is posible.
However all necessery steering is possible directly via the API of the cars. (start, stop, set amps, set target soc, ….)
So really wondering why EVCC does not allow for such a configuration without wallbox or chargepoint ?
Beta Was this translation helpful? Give feedback.
All reactions