Home Assistant8 min read

Master Your Audi EV Charging with Home Assistant Automation

Integrate your Audi EV and home charger with Home Assistant to automate charging schedules, track energy use, and optimize off-peak charging.

In this article 6
  1. Key Takeaways
  2. Audi energy management with Home Assistant EV charging automation
  3. Conclusion
  4. How I use this at home
  5. FAQ
  6. Recommended Gear

Key Takeaways

  • Home Assistant automation is set to change Audi EV charging by 2026, enabling intelligent scheduling based on factors like lowest electricity prices or surplus solar generation.
  • The system efficiently maximizes solar self-consumption, directing excess energy from rooftop solar panels directly into the Audi’s battery.
  • Open-source blueprints for setting up EV charging automation are readily available on GitHub, providing a practical starting point for tech-savvy Audi owners.

Audi energy management with Home Assistant EV charging automation

In 2026, the era of simply plugging in your electric vehicle and hoping for the best is firmly behind us. For tech-savvy Audi owners, the future of energy management is here, and it’s powered by Home Assistant EV charging automation. Imagine your Audi e-tron intelligently charging only when electricity prices are lowest, when your solar panels are generating surplus energy, or ensuring it’s always ready for your morning commute without manual intervention. This guide walks you through setting up EV charging automation for your Audi using Home Assistant, turning your charging routine from a chore into an optimized one.

Open Source: The blueprints from this article are available on GitHub: Home Lab Automation Blueprints.

Why Automate Your EV Charging?

Automating your EV charging offers a multitude of benefits, extending beyond mere convenience:

  • Cost Savings: Take advantage of time-of-use (TOU) electricity tariffs by charging only during off-peak hours, often saving significant amounts on your energy bill.
  • Solar Optimization: Maximize self-consumption of your rooftop solar power by directing excess energy directly into your Audi’s battery.
  • Grid Stability: By shifting charging times, you contribute to a more stable electrical grid, reducing strain during peak demand.
  • Battery Health: Smart charging can help maintain optimal battery health by avoiding unnecessary charges or overcharging.
  • Convenience: Set it and forget it. Your car will be charged exactly when and how you need it, ready for your next journey.

Prerequisites for Audi EV Charging Automation

Before diving into the automations, ensure you have the following in place:

  1. Home Assistant Instance: A running Home Assistant installation (e.g., Home Assistant OS, Container, or Supervised). We’ll assume you’re on a recent version, such as Home Assistant 2026.x.x or later.
  2. Audi EV: Any Audi electric vehicle (e.g., e-tron GT, Q4 e-tron, Q8 e-tron) with active Audi Connect services that allow remote access to vehicle data.
  3. Smart EV Charger: A Level 2 (or even Level 1 with a smart plug) EV charger that is compatible with Home Assistant. Popular brands like Wallbox, ChargePoint, Enphase (formerly Enel X Way), Zappi, or even generic smart plugs for Level 1 charging often have integrations.
  4. Network Connectivity: Your Home Assistant instance, Audi (via its cloud service), and smart charger must all be connected to the internet and accessible by Home Assistant.

Integrating Your Audi with Home Assistant

For Audi Home Assistant integration, you’ll typically use the official Audi Connect integration or a community-developed HACS (Home Assistant Community Store) alternative if more advanced features are desired. The official integration usually provides read-only access to critical data, which is sufficient for most charging automations.

To add the official integration:

  1. Go to Settings -> Devices & Services -> Add Integration.
  2. Search for Audi Connect.
  3. Follow the prompts to log in with your Audi account credentials. You might need to confirm a security code sent to your phone or email.

Once configured, Home Assistant will expose various entities for your Audi, such as:

  • sensor.audi_etrongt_battery_level: Current state of charge.
  • sensor.audi_etrongt_charging_state: Charging status (e.g., Charging, Not charging, Plugged in).
  • sensor.audi_etrongt_range: Estimated remaining range.
  • binary_sensor.audi_etrongt_charger_connected: Indicates if the charging cable is plugged in.

Integrating Your Smart EV Charger

The integration method for your smart EV charger will depend on its brand. Most popular chargers have dedicated Home Assistant integrations. For example:

  • Wallbox: The Wallbox integration provides entities like switch.wallbox_charger_state (to start/stop charging) and sensor.wallbox_current_power.
  • Zappi: The Zappi integration offers similar controls and monitoring.
  • Generic Smart Plug (for Level 1): If you’re using a standard EVSE plugged into a smart plug (e.g., a Shelly Plug, TP-Link Kasa), the smart plug integration will provide switch.smart_plug_power to control power to the charger.

Ensure your charger is integrated and you can see its power switch or other relevant control entities in Home Assistant. For this guide, we’ll assume your charger has a switch entity, for example, switch.my_ev_charger_power.

Building Your First Home Assistant EV Charging Automation

Let’s create some practical automations for your Home Assistant EV charging setup.

1. Scheduled Off-Peak Charging

This is a fundamental automation to save money. We’ll set it to charge only between 11 PM and 5 AM, provided the Audi is plugged in and its battery is below 80%.

automation:
  - alias: "Start Audi EV Charging Off-Peak"
    id: start_audi_ev_charging_off_peak
    trigger:
      - platform: time
        at: "23:00:00"
    condition:
      - condition: and
        conditions:
          - condition: state
            entity_id: binary_sensor.audi_etrongt_charger_connected
            state: "on"
          - condition: numeric_state
            entity_id: sensor.audi_etrongt_battery_level
            below: 80
    action:
      - service: switch.turn_on
        target:
          entity_id: switch.my_ev_charger_power

  - alias: "Stop Audi EV Charging Off-Peak"
    id: stop_audi_ev_charging_off_peak
    trigger:
      - platform: time
        at: "05:00:00"
    condition:
      - condition: and
        conditions:
          - condition: state
            entity_id: binary_sensor.audi_etrongt_charger_connected
            state: "on"
          - condition: state
            entity_id: switch.my_ev_charger_power
            state: "on"
    action:
      - service: switch.turn_off
        target:
          entity_id: switch.my_ev_charger_power

2. Solar-Optimized Smart EV Charging

This automation will start charging your Audi when your home’s solar production exceeds a certain threshold (e.g., 2000W) and stop when it drops below it. This requires an integration for your solar inverter (e.g., SolarEdge, Enphase, Fronius) that exposes a sensor.solar_production_current_power entity.

automation:
  - alias: "Start Audi EV Charging with Solar Surplus"
    id: start_audi_ev_charging_solar_surplus
    trigger:
      - platform: numeric_state
        entity_id: sensor.solar_production_current_power
        above: 2000 # Watts
        for:
          minutes: 5
    condition:
      - condition: state
        entity_id: binary_sensor.audi_etrongt_charger_connected
        state: "on"
      - condition: numeric_state
        entity_id: sensor.audi_etrongt_battery_level
        below: 90
    action:
      - service: switch.turn_on
        target:
          entity_id: switch.my_ev_charger_power

  - alias: "Stop Audi EV Charging Solar Surplus Drop"
    id: stop_audi_ev_charging_solar_surplus
    trigger:
      - platform: numeric_state
        entity_id: sensor.solar_production_current_power
        below: 1500 # Watts
        for:
          minutes: 5
    condition:
      - condition: state
        entity_id: switch.my_ev_charger_power
        state: "on"
    action:
      - service: switch.turn_off
        target:
          entity_id: switch.my_ev_charger_power

The for key adds a 5-minute delay before the automation fires, avoiding false starts from brief cloud shadows. The stop trigger uses a slightly lower threshold (1500W) to prevent the charger from toggling on and off repeatedly around the 2000W boundary.

3. Departure-Ready Charging

This automation ensures your Audi reaches a target state of charge before a fixed weekday departure time, regardless of when you plugged it in. It triggers on the plug-in event and charges until the target is met or a timeout expires.

automation:
  - alias: "Audi Ready for Morning Departure"
    id: audi_ready_morning_departure
    trigger:
      - platform: state
        entity_id: binary_sensor.audi_etrongt_charger_connected
        to: "on"
    condition:
      - condition: time
        after: "20:00:00"
        before: "06:30:00"
      - condition: numeric_state
        entity_id: sensor.audi_etrongt_battery_level
        below: 80
    action:
      - service: switch.turn_on
        target:
          entity_id: switch.my_ev_charger_power
      - wait_template: "{{ states('sensor.audi_etrongt_battery_level') | int >= 80 }}"
        timeout: "08:00:00"
        continue_on_timeout: false
      - service: switch.turn_off
        target:
          entity_id: switch.my_ev_charger_power

If your departure time varies day to day, create an input_datetime.departure_time helper and replace the time condition with {{ now() < today_at(states('input_datetime.departure_time')) }}.

Combining Automations Safely

Running multiple charging automations at the same time can cause them to conflict. A few rules keep things predictable.

First, give each automation a clear time domain: off-peak owns the overnight window, solar owns daytime, departure triggers on the plug-in event. These domains rarely overlap if your windows are set correctly.

Second, add an input_boolean.ev_charging_override helper. When you toggle it on, all three automations skip their action. This gives you a clean manual override without disabling automations entirely.

Third, add a notification when the departure automation times out without reaching the target battery level:

      - service: notify.mobile_app_your_phone
        data:
          message: >-
            Audi did not reach 80% before departure.
            Current level: {{ states('sensor.audi_etrongt_battery_level') }}%

Troubleshooting Common Issues

Audi entities not updating in real time. The Audi Connect API polls on a schedule, typically every few minutes. Do not trigger automations that expect sub-minute state changes from this integration; use the charger’s own sensors for faster feedback instead.

Charger ignores the start command. Some chargers require the car to already be plugged in before accepting a remote start. Confirm that binary_sensor.audi_etrongt_charger_connected is on and add it as a condition if it is not already there.

Solar sensor is unavailable at night. Wrap any numeric comparison on the solar sensor in a template condition that first checks states('sensor.solar_production_current_power') not in ['unavailable', 'unknown'], otherwise the automation will error when the inverter goes offline after dark.

Conclusion

Automating your Audi’s charging with Home Assistant is a one-afternoon project that keeps paying back in lower bills and one fewer thing to manage each evening. The three automations here cover the most common scenarios: overnight off-peak scheduling, solar surplus capture, and departure readiness. Start with the off-peak automation, verify it works over a few nights, then layer in the others. The GitHub blueprints give you a tested starting point you can fork and adapt to your own tariff structure, solar setup, and driving habits.

How I use this at home

I charge an Audi Q6 at home, and this is one of the automations I’d keep if I had to delete all the others. The core idea is less clever than it sounds: charge from solar surplus first, and only top up from the grid when there’s a reason to, like needing the car full the next morning.

Two practical notes from living with it. First, car cloud integrations are the weakest link (I’ve used more than one, and they all have bad days): they can lag or drop for hours. Let the automation rely on the charger’s own power readings and treat the car’s state of charge as a nice-to-have. Second, add a manual override. There will be a morning when you need to leave with a full battery, and a “charge now” button on the dashboard beats editing YAML at 7 a.m.

FAQ

What is Home Assistant EV charging automation?

Home Assistant EV charging automation is a system that intelligently controls your Audi’s charging process. It optimizes charging based on real-time data like electricity prices, solar panel output, and your vehicle’s readiness requirements, moving beyond simple plug-and-charge.

What are the main benefits of automating EV charging?

Automating your EV charging offers significant advantages, including cost savings by leveraging time-of-use electricity tariffs during off-peak hours. It also maximizes the self-consumption of your rooftop solar power and contributes to overall grid stability.

Is this automation exclusively for Audi EVs?

While this guide specifically targets Audi EV owners, the underlying principles and Home Assistant integrations for EV charging automation are generally applicable. Many other electric vehicle brands can also benefit from similar smart charging setups with compatible Home Assistant integrations.

Where can I find the blueprints for this automation?

The open-source blueprints and detailed instructions for setting up this EV charging automation are available on GitHub. You can find them under the ‘Home Lab Automation Blueprints’ repository, offering a comprehensive resource for implementation.

If you want to build this setup, this is where I would start:

Affiliate links: if you buy through them I earn a small commission, at no extra cost to you.

The end. Thanks for reading.

Keep reading.