evcc icon indicating copy to clipboard operation
evcc copied to clipboard

Improve vehicle wake-up/start handling and add diagnostic modes for HA-integrated chargers

Open Tomiliy opened this issue 6 months ago • 5 comments

Is your feature request related to a problem? Please describe.

Yes. In my setup evcc correctly detects the vehicle as connected and enables the charger, but charging does not always actually start.

Example:

  • Loadpoint mode is set to now
  • Charger is enabled
  • Vehicle is connected
  • Offered current is available
  • Charge power remains 0 W
  • The vehicle is asleep or not actively charging

In my case this happened with a Tesla. evcc enabled the wallbox correctly, but the Tesla did not start charging until I manually triggered the vehicle charging switch in Home Assistant / Tesla API. After that, charging started immediately.

So the missing part was not the wallbox control, but the final “wake/start charging on the vehicle” step.

Describe the solution you’d like

I would like evcc to optionally support a more explicit vehicle wake/start workflow for supported vehicles, especially Tesla.

Possible behavior:

  1. Detect that the charger is enabled and the vehicle is connected.
  2. If charge power remains 0 W after a configurable delay, try to wake the vehicle.
  3. Refresh vehicle data after wake-up.
  4. If the vehicle still does not start charging, optionally send a vehicle-side “start charging” command.
  5. Verify that charge power becomes greater than 0 W.
  6. Show a clear diagnostic state if it still fails.

This could be configurable per loadpoint/vehicle, for example:

  • wallbox only
  • wallbox + wake vehicle
  • wallbox + wake vehicle + start charging
  • observe only

It would also be very helpful if the UI could show the exact charging chain:

  • Charger enabled
  • Vehicle connected
  • Vehicle awake/asleep
  • Vehicle charging command sent
  • Power flow detected
  • Blocking reason if no charge starts

Describe alternatives you’ve considered

I currently solve this with Home Assistant automations.

My HA logic does the following:

  • Detects the vehicle via vehicle API and wallbox plug state as fallback
  • Enables the wallbox via E3/DC / Modbus
  • Wakes or refreshes Tesla data when needed
  • Sends the Tesla “start charging” command if the wallbox is enabled but charging does not begin
  • Verifies charging via both vehicle API and wallbox power
  • Logs the decision and error reason

This works well, but it duplicates some of what evcc already does and makes the setup harder to maintain.

I also considered using evcc only as a read-only dashboard, but evcc has a much better charging UI and session tracking, so I would prefer to let evcc handle more of this if the vehicle-side start/wake workflow becomes more robust and transparent.

Additional context

A second useful feature would be a simple forecast/SOC based charging rule.

Example:

If the vehicle is plugged in, SOC is below X %, and tomorrow’s PV forecast is below Y kWh, charge during the cheap tariff window up to Z %.

This would be useful for PV + dynamic/cheap-night-tariff households.

Example rule:

  • Tesla below 30 %
  • PV forecast tomorrow below 30 kWh
  • Cheap tariff window active
  • Charge to 90 %

For smaller vehicles, the threshold could be different, e.g. charge a Renault Zoe below 40 % to 70 %.

In my Home Assistant setup I currently use modes like:

  • Automatic: PV charging during the day; cheap-tariff charging only if forecast and SOC require it
  • Winter / cheap tariff: charge at night during cheap tariff
  • Manual / cheap tariff: user-requested charging, but only during cheap tariff
  • Manual / immediate: charge now regardless of tariff
  • PV only
  • Off

evcc already has a great UI and clean loadpoint model. Adding clearer “vehicle wake/start” handling and optional forecast/SOC/tariff rules would make it much easier to replace custom Home Assistant charging automations.

Tomiliy avatar Jun 03 '26 23:06 Tomiliy

tl;dr what is the missing improvement?

andig avatar Jun 04 '26 06:06 andig

The missing improvement is an optional vehicle-side fallback when the charger is already enabled but charging does not actually start.

Concrete case:

  • loadpoint mode: now
  • charger: enabled
  • vehicle: connected
  • offered current: available
  • charge power: still 0 W
  • vehicle: Tesla, apparently asleep / not actively charging

In this state evcc had done the wallbox part correctly, but charging only started after I manually triggered the Tesla “start charging” command via Home Assistant/Tesla API.

So the requested improvement is:

  1. Detect: charger enabled + vehicle connected + offered current > 0, but charge power stays 0 W for X seconds.
  2. Then optionally:
    • wake the vehicle
    • refresh vehicle state
    • send vehicle-side “start charging” command, if supported by the vehicle integration
  3. Verify that power flow starts.
  4. If not, show a clear reason in the UI/log.

In short: evcc should optionally not stop at “wallbox enabled”, but also handle “vehicle did not start accepting charge” for vehicles where wake/start commands are available.

Am Do., 4. Juni 2026 um 08:30 Uhr schrieb andig @.***>:

andig left a comment (evcc-io/evcc#30481) https://github.com/evcc-io/evcc/issues/30481#issuecomment-4619611757

tl;dr what is the missing improvement?

— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/30481?email_source=notifications&email_token=AFKLGCYBUJPZNZMMCIIUHRD46EJSBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRHE3DCMJXGU32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4619611757, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKLGCZO2HPX2SX3N62PAJT46EJSBAVCNFSM6AAAAACZZP5E72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMJZGYYTCNZVG4 . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AFKLGC6DFG72JVHTDTTC66L46EJSBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRHE3DCMJXGU32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KUZTPN52GK4S7NFXXG and Android https://github.com/notifications/mobile/android/AFKLGCY2OHXFUVT5XGLWJIL46EJSBA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRRHE3DCMJXGU32M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2K4ZTPN52GK4S7MFXGI4TPNFSA. Download it today! You are receiving this because you authored the thread.Message ID: @.***>

Tomiliy avatar Jun 04 '26 22:06 Tomiliy

Thats already implemented

andig avatar Jun 05 '26 04:06 andig

@Tomiliy how was the car setup in evcc?

For Home Assistant cars, there is a functionality to activate a "wake up - script" in Home Assistant.

Image

SolarPower2024 avatar Jun 05 '26 07:06 SolarPower2024

Thanks, that may explain it.

The vehicle was configured using evcc's native Tesla template with MyTeslaMate as commandProxy, not as a Home Assistant vehicle.

The charger itself was configured as a Home Assistant Charger.

evcc reported vehicle wakeup support, but charging only started after I manually enabled switch.interceptor_charger in Home Assistant.

Available Home Assistant actions are:

  • wakeup: button.interceptor_wake_up
  • start charging: script.ev_tesla_start
  • stop charging: script.ev_tesla_stop

So I apparently missed the Home Assistant vehicle wakeup/start fields. I will test the Tesla as a Home Assistant vehicle using these entities.

Am Fr., 5. Juni 2026 um 09:24 Uhr schrieb SolarPower2024 < @.***>:

SolarPower2024 left a comment (evcc-io/evcc#30481) https://github.com/evcc-io/evcc/issues/30481#issuecomment-4629165858

@Tomiliy https://github.com/Tomiliy how was the car setup in evcc?

For Home Assistant cars, there is a functionality to activate a "wake up - script" in Home Assistant. Screenshot_20260605_091611_evcc.2.jpg (view on web) https://github.com/user-attachments/assets/c44788f0-8d87-4846-8a38-3f3a9778759c

— Reply to this email directly, view it on GitHub https://github.com/evcc-io/evcc/issues/30481?email_source=notifications&email_token=AFKLGC6TGTGWS2HTJMPTNDD46JYRPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSHEYTMNJYGU4KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLDGN5XXIZLSL5RWY2LDNM#issuecomment-4629165858, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFKLGC257Q22QR65YQIKTHD46JYRPAVCNFSM6AAAAACZZP5E72VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMMRZGE3DKOBVHA . Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS https://github.com/notifications/mobile/ios/AFKLGC3N5NUOKW2BNCMHI2346JYRPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSHEYTMNJYGU4KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJKTGN5XXIZLSL5UW64Y and Android https://github.com/notifications/mobile/android/AFKLGCYPUAC26LVOF5CRMKT46JYRPA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRSHEYTMNJYGU4KM4TFMFZW63VHNVSW45DJN5XKKZLWMVXHJLTGN5XXIZLSL5QW4ZDSN5UWI. Download it today! You are receiving this because you were mentioned.Message ID: @.***>

Tomiliy avatar Jun 06 '26 11:06 Tomiliy