TeslaBleHttpProxy + evcc + TWC gen 2 = battery drain? #104
-
|
Is there anyone here that uses TeslaBleHttpProxy + evcc, in combination with a TWC gen 2? All is working well, but with evcc active, my car has very significant battery drain. I installed TeslaMate to look into the details and it clearly shows that something is preventing the car to fall asleep, see state picture below (first part). When I shut down evcc plug-in in Home Assistant, the car immediately falls asleep (2nd part of the picture, after 19:50. I already disabled all other 3rd party connections to the car, but this check 'proofs' that something in my evcc config causes this behavior. log: info
interval: 30s
mqtt:
broker: [IP]:1883
topic: evcc
user: [USER]
password: [PASSWD]
site:
title: [HOME]
meters:
grid: my_grid
pv:
- solax
loadpoints:
- title: Garage # display name for UI
charger: my_charger # charger
vehicle: tesla # default vehicle
priority: 2
soc:
poll: # Force soc polling
mode: charging
interval: 60m
estimate: true
meters:
[REMOVED ENERGY METER CONFIG AS I THINK IT'S IRRELEVANT FOR THIS DISCUSSION]
- name: solax # Uitlezen Solax sensor HA, via modbus
type: custom
power:
source: mqtt
topic: homeassistant/sensor/solax_output_power/state
timeout: 30s
scale: 1000
chargers:
- name: my_charger
icon: car
type: custom
status:
source: http
uri: "http://[IP]:8080/api/1/vehicles/[VIN]/vehicle_data?endpoints=charge_state"
method: GET
jq: >
if (.response.response.charge_state.charging_state == "Charging"
and .response.response.charge_state.charger_power > 0) then "C"
elif (.response.response.charge_state.charging_state == "Charging") then "B"
elif (.response.response.charge_state.charging_state == "Stopped") then "B"
elif (.response.response.charge_state.charging_state == "NoPower") then "B"
elif (.response.response.charge_state.charging_state == "Complete") then "B"
elif (.response.response.charge_state.charging_state == "Starting") then "B"
else "A" end
timeout: 30s
enabled:
source: http
uri: "http://[IP]:8080/api/1/vehicles/[VIN]/vehicle_data?endpoints=charge_state"
method: GET
jq: (.response.response.charge_state.charging_state == "Charging" and .response.response.charge_state.charger_power > 0)
timeout: 30s
cache: 25s
enable:
source: http
uri: "http://[IP]:8080/api/1/vehicles/[VIN]/command/{{if .enable}}charge_start{{else}}charge_stop{{end}}"
method: POST
body: ""
timeout: 30s
cache: 25s
maxcurrent:
source: http
uri: "http://[IP]:8080/api/1/vehicles/[VIN]/command/set_charging_amps"
method: POST
body: '{"charging_amps": "{{.maxcurrent}}"}'
timeout: 30s
vehicles:
- name: tesla
type: template
template: tesla-ble
title: Tesla Model 3
capacity: 49 # Akkukapazität in kWh (optional)
vin: [VIN] # Erforderlich für BLE-Verbindung
url: [IP] # URL des Tesla BLE HTTP Proxy
port: 8080 # Port des Tesla BLE HTTP Proxy (optional)
tariffs: # See https://docs.evcc.io/docs/devices/tariffs#entso-e
[REMOVED]
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
It looks like evcc is keeping your Tesla awake, preventing it from entering sleep mode, which leads to battery drain. From your config, the likely culprit is the SOC polling in loadpoints: Try increasing the interval to 6+ hours (interval: 360m) or disabling polling entirely if you don’t need frequent updates. Disable MQTT Power Updates (if needed)
Test by Temporarily Disabling Polling
|
Beta Was this translation helpful? Give feedback.
-
|
Fixed it! So for Tesla Model 3, in combination with TWC gen 2, works perfectly in EVCC + car sleep behavior as intended with: Charger config using: Verhicle config using: |
Beta Was this translation helpful? Give feedback.

Fixed it!
So for Tesla Model 3, in combination with TWC gen 2, works perfectly in EVCC + car sleep behavior as intended with:
Charger config using:
https://github.com/Haveacry/twc3teslamate
Verhicle config using:
https://docs.evcc.io/en/docs/devices/vehicles#tesla-ble