Home | pfodApps/pfodDevices | WebStringTemplates | Java/J2EE | Unix | Torches | Superannuation | CRPS Treatment | | About Us
 

Forward Logo (image)      

Vehicle to House
How to power your house from your EV

by Matthew Ford 24th Nov 2026 (originally posted 20th December 2025)
© Forward Computing and Control Pty. Ltd. NSW Australia
All rights reserved.

Using your Electric Car Battery
to Power your House

Update 24th Nov 2026 – Added dead time in change over from Mains to EV and vise versa.
Update 7th March 2026 – Changed relay from 30A to 60A and added RC coil suppression,

Introduction

This project connects the EV's (Electric Vehicle) car battery to the house to power it during blackouts or more commonly to avoid using high cost electricity, i.e. load shifting. The change over relays include a 60ms dead time to allow large transformers, in appliances such as microwaves and amplifiers, time to discharge before the new, out of sync, AC wave form is applied. The change over and delay circuit is completely powered from the EV's V2L output so the change over can still be used to power the house in event of complete loss of mains power.

This V2H (Vehicle 2 House) auto change over switch is part of the larger Solar/Battery/EV/HW Forecast, Monitoring and Control system which automatically charges the EV and heats the hot water from the Solar and house battery and then automatically switches the house over to EV V2H power during peak demand times to avoid high electricity costs.

The cheapest storage you can get is your electric hot water tank. A typical electric hot water tank stores more than 10kWh of power as hot water. See HotWater from Excess Solar V2 or there are commercial solutions for less then AU$1,000 (plus installation). Search for “solar hot water timers controllers”

For battery storage to power your house during blackouts or during peak electricity price period, EV's provide the cheapest battery storage in $/kWh and you get a car as well. For example, in Australia, a BYD Dolphin Essential (44.6kW battery) is ~AU$29,000 drive away, Dec 2026) is ~AU$813 / kWh (20% to 100% usage) , while a Tesla Powerwall 3 (~AU$12,400) costs ~AU$920 / kWh after the current 30% federal rebate which will wound back every 6 months

This project requires the assistance of a qualified electrician to add the power wiring and modify the switch board. To power the house from the car, the extra parts and installation by an electrician cost less then AU$1,500

Parts List (revised 24th Nov 2026)

1 x Electric Vehicle with 3.6kW of V2L capability, in this case an Hyundai Inster Cross with a 49kWh battery .
    
Note not all EV's have V2L connections and some EV's only provide 2.2kW of output which is not sufficient to power a kettle/hot place and the house lights
1 x Hyundai V2L connector AU$595. There are third party V2L connectors for less than half this cost.
1 x DFRobot Beetle ESP32-C3 ~US$7.90
1 x DFRobot DFR0569 3V-15V to 5V boost buck converter ~US$2.90
1 x 12V DC 1.5A supply (cut out of it plastic case) OR 2A from Aliexpress ~US$5.00 (
see Circuit – Resistor Note below)
1 x 63A rotary switch, e.g. YAMING YMW26 63 from Aliexpress ~AU$25.00
2 x 60A 12V DC coil relay SPDT, e.g. LIRRD LJQX-60F/1Z
from Aliexpress ~AU$14.40 each
1 x 5A 240V coil relay DPDT, e.g. MY2NJ (or LY2NJ) from Aliexpress ~US$2.50
3 x 1N5819 Schottky Diodes, e.g. Jaycar ZR1020 ~AU$0.80 each
2 x FDT439N N-Fet e.g. Digikey ~US$1.43 each
2 x 1K 1/2W resistor, e.g. Jaycar RR0572 pack of 8 ~A$0.80
1 x 1R0 1W resistor, e.g. Jaycar RR2502 pack of 2 ~A$0.65
1 x 2R7 1W resistor, e.g. Jaycar RR2512 pack of 2 ~A$0.65 (
see Circuit – Resistor Note below)
1 x 0.22uF 310VAC X2 Metallised Polypropylene, e.g. F17724222160 Digikey ~US$2.90
1 x plastic box to mount relay in. e.g. AG-1217-S 125mm x 175mm x 75mm from Aliexpress ~US$21.00
1 x 15A extension cord e.g. HPM 15m 15A extension cord ~AU$35.00
1 x extension cord connector cover, e.g. Arlec IP44 Outdoor Safety Box ~AU$4.00

Optionally for Desktop Computers – Cyberpower BR700ELCD UPS (Uninterruptible Power Supply) ~AU$280

kW versus kWh

kW (kilowatts) is how fast power is used / supplied. kWh (kilowatt hours) is the amount of power used / available. Appliances have their power usage, kW, marked on their base. A kettle is typically 2kW. If you boil the kettle for 10mins you use 2kW x 10/60 hrs = 0.33kWh. Batteries have both kWh, how much they store, and kW, how fast they can supply power.

In this case the car can only supply 3.6kW at a time. So if, for example, you turn on two kettles or a kettle and a 2kW radiator, the 4kW will exceed the how fast the V2L can supply the power and the car will automatically turn of the V2L output. This is why an EV is only as 2.2kW output is in-sufficient because your house will have lights, computers, TVs, and refrigerators running (say 0.4kW or more) and when you turn on a kettle or heater, the total will exceed 2.2kW and the car will shut down the V2L output.

In Australia, any appliances that plugs into a standard outlet will use less than 2.4kW. Led lights use only a few watts (0.005kW) each. TVs, usually less than 100W (0.1kW). Desktop computers, usually less than 100W (0.1kW). Laptops even less. Refrigerators use about 100W (0.1kW) when running, but draw a spike of power ~1.4kW when they turn on.

In this installation, the base house load is 600W to 700W (0.6kW to 0.7kW), which with a 3.6kW V2L supply allows for one large appliances to be used at a time i.e. a kettle, hot plate, room heater.

Circuit

This circuit (revised 24th Nov 2026) automatically switches the house supply to the EV when the EV's V2L is turned on and automatically switches back to Mains when the EV's V2L turns off. The revision of 24th Nov 2026 adds a 60ms delay in the change over during which time no power is supplied to the house. This allows the transformers in microwaves and amplifiers to discharge before applying the new AC wave form.

In the previous circuit (a simple change over relay) the relay switched between car and mains in about 4ms. Because the car and main AC wave forms were not synchronized, this fast switch could result in a 670V step change in the applied voltage in addition to the voltage spike being generated by large appliance transformers. This caused fuses to blow in microwaves and audio amplifiers. The 60ms dead time (no supply) this circuit introduces allows three (3) mains cycles for the transformers' turn off voltage spike to dissipate before the new AC wave is applied.

The requirement is to
a) have the power off for sufficient time for the transformers to discharge while
b) not having the power off for long enough to cause routers, tv's, computers to shut down.

60ms appears to be a suitable setting.

(pdf version)

This circuit is completely powered from the EV's V2L output so it can still be used to power the house in event of complete loss of mains power.

When the 3 position rotary switch in on the V2L position, a pair 60A relay controls which power is supplied to the house. If the V2L circuit is active it energizes a low power 240V DPDT relay which supplies EV power to the 240VAC to 12V DC power supply and powers up the ESP32-C3.

On startup, the ESP32-C3 energise left hand relay disconnecting all power from the house. 20ms later the change over relay is energized (the right hand one) switch supply from the mains to the EV. Then 40ms after that the left hand isolation relay is de-energised reconnecting power to the house, for a total dead time of ~60ms (measured as 64ms including isolation relay release time).

When the EV supply turns off (or is tripped), the power to the house disappears. The low power 240V relay release which disconnects the 12V power supply and, more importantly, connects a low value resistor (2R7) from the +12V to 0V. This resistor discharges the 12V 1.5A supply quickly and ensures the right hand change over relay releases in ~76ms to restore mains power to the house. Without the 2R7 resistor, the 12V 1.5A supply takes over 1sec to discharge.

Resistor NOTE: The 2R7 resistor was selected to give about 60ms drop out time for the change over relay (right hand one) when using a 1.5A 12V supply. If 2A supply is used the drop out time will probably 1/3 longer (100ms), which should still not be a problem.

The entire Arduino sketch is V2HswitchCtrl.ino

const int isolationRelayPin = 0; // disconnect power to house while changing over
const int changeoverRelayPin = 1; // swaps between mains/enphase and Inster V2L
const unsigned long relayActivationDelay = 20; // ms how long to ensure relay has activated.
const unsigned long changeoverRelayDeadtimeDelay = 20; // ms  add to relayActivationDelay 
                                                       //after this release isolation relay 
void setup() {
  pinMode(isolationRelayPin,OUTPUT);
  digitalWrite(isolationRelayPin, HIGH);  // energise isolation relay
  delay(relayActivationDelay); // wait for isolation relay to energize, 20ms
  pinMode(changeoverRelayPin,OUTPUT);
  digitalWrite(changeoverRelayPin, HIGH);  // energise changeover relay
   // wait for changover relay to energize + dead time for transformers to discharge
  delay(relayActivationDelay+changeoverRelayDeadtimeDelay); // i.e. 20 + 20 = 40ms delay here
  digitalWrite(isolationRelayPin, LOW);  // release isolation relay to supply V2L power to house
  // total delay ~60ms i.e. 3 50Hz cycles, depending on isolation relay's response time.
}

void loop() {
  // nothing here, just hold changeover relay energized
}


To minimise the chance of exceed the V2L supply capability, only Selected House Circuits are connected to the V2L / Battery change over circuit. For example the oven would be be powered directly from the mains via House Circuits not backed up. Your electrician can help you sort out which ones should go where.

Construction

The relays, 12V power supply and ESP32-C3 are all mounted on the lid of the plastic box.

The vero board mounts the ESP32-C3, the 12V power supply, cut out of its plastic case, the 12V to 5V converter, the 2R7 resistor and Fet relay drivers.
The Fet relay drivers are mounted on the copper side of the vero board

The mains wiring needed to run from the garage to the meter box is undertaken by your electrician.

The Garage installation, below, shows junction box, the orange extension cord connector cover and the V2L car plug in to which the extension cord is plugged.
A 20A RCD circuit breaker is also mounted in the garage just above the junction box. The EV itself usually acts as the overload protection.
The black section at the bottom of the V2L car plug opens to allow the extension cord to be plugged in.

The change over relays are mounted behind the meter box panel,

This is the rotary switch is mounted on the switch board and is used to select either, just Mains or Off or V2H auto changeover.

The rotary switch need configured as the three position switch shown in the circuit.
Connect contact 4 to contact 2 and contact 8 to contact 6, on the bottom of the switch, to from the Common connections for each pole shown in the circuit.
The switch terminals also need to be insulated to guard against fingers touching them.

Operation

In this installation, the house battery is used to soak up every little bit of solar production. Then the EV battery is charged from the house battery, which is then used to provide power during peak demand times and when the house battery is exhausted. The Air Conditioner is on the House Circuits not backed up.

See the Solar/Battery/EV/HW Forecast, Monitoring and Control system project for how this is automated by an ESP32.

When the car is powering the house the car's driver's screen shows the battery % remaining and in the bottom left corner the kW's being supplied by the car. In this case 2.1kW. The time remaining appears to refer to charging time, not discharging.

Having an automated fall back to Mains if the EV's V2L trips off, means that if someone turns on the kettle and a hotplate at the same time and shuts down the V2L supply, the Mains / Solar Battery takes over with a slight flicker in the lights. Once that excess load has been removed (e.g. when the kettle boils), the Solar/Battery/EV/HW Forecast, Monitoring and Control system turns the EV's V2L back on to power the house. In the mean time the solar battery supplies the power, so avoiding the demand load pricing (see below).

Demand Pricing

There are a wide variety of electricity plans to choose from. A number of them are designed to encourage you to not use power during the peak evening period. On such plan has demand pricing (see Electricity Demand Charges). This plan has a relative low cost per kWh through out the day, but penalises you for power you use between 2pm and 9pm Monday to Friday. Demand charges can be very onerous because the maximum power usage on any one day is bill as though it happened every day of the month. See Electricity Demand Charges for the details of the calculation.

When house battery is supplying the power, the battery control system feeds the battery back into the grid to offset the power being consumed by the A/C, but the solar battery is not large enough to run the A/C continually between 2pm and 9pm. On sunny summer days the solar generation runs the A/C until late in the afternoon and the battery handles it from then to 9pm. However on dull or winter days, the battery becomes exhausted. Using the V2L to power the basic house load of 0.6kW between 2pm and 9pm saves 0.6kW x 7hr = 4.2kWh from being drawn from the solar battery and so provide an additional 4.2kWh to run the A/C.

On these dull days, the mains is used, prior to 2pm the fully charge the solar battery and to ensure sufficient charge in the EV's battery. Again the Solar/Battery/EV/HW Forecast, Monitoring and Control system handles this automatically.

Desk Top Computers

Laptops have an internal battery so they are not effected by the transient loss of Mains when switching from Mains to V2L or back again. However desktop computers are more sensitive but 60ms loss of power does not seem to affect them. Here we also use CyberPower BR700ELCD UPS battery systems that keep the computers running if the main power goes off, while we go and turn on the EV V2L.

Power Outages

When there is a power outage, the solar battery takes over immediately to supply the Selected House Circuits, but its capacity is only about 8.3kWh and so well be exhausted after about 14hrs or less depending one's the use of hot plates etc. On the other had the Hyundai Inster has ~39kWh available capacity (100% to 20% discharge) which can power the basic house load for about 2 ½ days. Together there is over 3 days of basic power for refrigerators, lights and boiling water and cooking. Also see the Main Off Detector project (now part of the Solar/Battery/EV/HW Forecast, Monitoring and Control system) to alert you when you have exhausted all your battery capacity.

Conclusion

This page covered using your EV's car battery to power your house. It includes a 60ms change over dead time to allow large transformers, in appliances such as microwaves, time to discharge before the new, out of sync, AC wave form is applied. As well as the design and installation, it covered possible modes of operation to minimise your electricity cost and survive a 3 day power outage.

AndroidTM is a trademark of Google Inc. For use of the Arduino name see http://arduino.cc/en/Main/FAQ


The General Purpose Android/Arduino Control App.
pfodDevice™ and pfodApp™ are trade marks of Forward Computing and Control Pty. Ltd.


Forward home page link (image)

Contact Forward Computing and Control by
©Copyright 1996-2024 Forward Computing and Control Pty. Ltd. ACN 003 669 994