
Supercharge Your European Smart Home: Automate Your Stellantis EV with Ecowitt Weather Data in Home Assistant
Imagine a cold, drizzly winter morning in Berlin, or a crisp, chilly evening in Lyon. You step outside. Your car’s cabin is already warm and defrosted. The battery is preconditioned for optimal range. This all happens without you touching a button. This isn’t a luxury car feature—it’s the power of a smart home automation built for the European climate. By combining Stellantis Vehicles (your connected Fiat, Peugeot, Opel, or other Stellantis brand EV/PHEV) with Ecowitt weather station data, and wiring it together in Home Assistant automations, you can create a responsive, efficient, and incredibly convenient system.
This tutorial will guide you through the components, the logic, and a real-world automation setup using Home Assistant YAML.
Understanding the Components
Before building, let’s clarify each player’s role.
1. Stellantis Vehicles Integration
This community integration connects Home Assistant to your Stellantis vehicle via the manufacturer’s cloud API. Key entities include:
- Sensors:
sensor.<vehicle_name>_exterior_temperature(°C),sensor.<vehicle_name>_battery_level(%),sensor.<vehicle_name>_charge_state(“not_charging”, “charging”, etc.)
device_tracker.<vehicle_name>_vehicle - Binary Sensors:
binary_sensor.<vehicle_name>_is_connected(online/offline) - Switches / Buttons:
button.<vehicle_name>_start_charge,button.<vehicle_name>_stop_charge,button.<vehicle_name>_preconditioning_start— this is your gateway to remote cabin preconditioning (heating/cooling).
2. Ecowitt Integration
Ecowitt (and compatible brands like Ambient Weather) personal weather stations report local climate data to Home Assistant. Typical sensors:
sensor.ecowitt_outdoor_temperature(°C)sensor.ecowitt_outdoor_humidity(%)sensor.ecowitt_wind_speed(m/s)sensor.ecowitt_rainfall(mm)
Hyper-local readings from your driveway or garage make a huge difference compared to generic city forecasts.
Prerequisites: Setting the Foundations
- Stellantis Integration: Add via HACS or manually. Authenticate with your Stellantis account. Confirm
works from the dashboard.button.<vehicle_name>_preconditioning_start - Ecowitt Integration: Add via Settings → Integrations. Enter your gateway’s local IP and API key. Verify
sensor.ecowitt_outdoor_temperatureexists. - Helpers & Trackers:
- device_tracker.
<vehicle_name>_vehicle (see that your car is home) - Optional: Input Datetime for departure time (e.g.,
input_datetime.departure_time)
- device_tracker.
Automation Concept: Smart Winter Preconditioning
Goal: Automatically start cabin heating and battery preconditioning only when:
- The car is at home
- Outdoor temperature drops below a threshold (e.g., 5°C)
- Departure time is approaching (optional)
Why this works for Europe:
- Efficiency: Preconditioning on shore power preserves battery energy for driving
- Comfort: No scraping ice or shivering in a cold car
- Range: A thermally preconditioned battery performs better in winter
- Safety: Defrosted windows before you drive
Home Assistant YAML Automation
Here’s an example automation in YAML:
alias: "EV Winter Preconditioning"
description: "Automatically precondition Stellantis EV based on Ecowitt outdoor temperature"
trigger:
- platform: state
entity_id: sensor.ecowitt_outdoor_temperature
below: 5
condition:
- condition: state
entity_id: device_tracker.<vehicle_name>_vehicle
state: 'home'
- condition: state
entity_id: binary_sensor.<vehicle_name>_preconditioning
state: 'off'
action:
- service: button.press
target:
entity_id: button.<vehicle_name>_preconditioning_start
- service: notify.mobile_app_yourphone
data:
message: "EV preconditioning started: cabin heating on."
mode: single
Notes:
- Replace
<vehicle_name>with your car’s entity ID. - The trigger monitors temperature changes, and starts if it is below 5 degrees.
- Add optional automations to turn off climate control when conditions are no longer met, or after departure.
Enhancements
- Solar / Home Battery Integration: Only precondition if excess energy is available.
- Departure Time Awareness: Use
input_datetime.departure_timeto precondition shortly before your planned trip. - Notifications: Let Home Assistant alert you if the car isn’t plugged in or preconditioning is skipped.
Why This Setup is Ideal for Europe
- Celsius & kWh Friendly: Everything uses local units.
- Plug-in Lifestyle Focused: Most European EV owners charge at home.
- Hyper-Local Weather: Your Ecowitt station sees the actual temperature outside your car, not the airport 20 km away.
Testing Tip: Temporarily set below: 30 in the numeric_state condition. This will force the automation to run. Verify your car responds correctly.
By combining your car’s digital twin with hyper-local weather data, your Home Assistant setup shifts from passive automation. It moves to predictive environmental control, which delivers comfort, efficiency, and safety every European winter morning.
Some of the links in this article are "affiliate links", a link with a special tracking code. This means if you click on an affiliate link and purchase the item, we will receive an affiliate commission. The price of the item is the same whether it is an affiliate link or not. Regardless, we only recommend products or services we believe will add value to our readers. By using the affiliate links, you are helping support our Website, and we genuinely appreciate your support.