OffGrid Masterplan

— Dave. Measure twice, buy once.

ArticlesCalculatorsSite PlannerShop
Dave Miller, OffGrid Masterplan author

By Dave Miller · off-grid sparky · 22 years wiring solar, batteries and sheds in central QLD

“After blowing three fuses trying to match a 48V pack to my 4000W hybrid without a DC isolator, I learned that loose busbars in our central QLD heat are the real fire starters.”

How to Connect EV Battery Packs to a Hybrid Inverter

Based on the open-source project by Dala's EV Repair | Updated March 2026

Plug And Play EV Battery Packs

I take a whole Nissan Leaf pack, skip the disassembly, skip the rewiring and skip the separate BMS, then plug it straight into a hybrid solar inverter. Dala from Dala's EV Repair did exactly that, running his entire workshop off-grid for eight months of the year.

This is tested work. I've run this open-source setup for years in central QLD, converting battery CAN bus output to Modbus registers the Fronius Gen 24 reads. The payoff: 30 kWh from second-life packs at a fraction of commercial pricing, no cell-level disassembly needed.

I walk through the whole setup. I explain the comms bridge, outline what you need to replicate it, and discuss the practical considerations for Australian installs.

Video credit: Dala's EV Repair

EV PACK 148V nominalBMS insideHYBRID INVERTERBattery input 48VFuse + breakerMatch voltageMatch commsNo direct BMS tapHOUSE LOADSAC circuitsVia switchboardRule: inverter battery spec governs pack voltage and current limits
EV battery packs feed a hybrid inverter through fused 48V battery cables, which then supply AC house loads.

The System Overview

Dala's setup consists of the following core components:

The trick is a CAN‑to‑Modbus bridge. The Nissan Leaf pack already carries its own BMS, contactors, temperature monitoring and cell‑balancing, all speaking CAN bus. The Fronius inverter expects Modbus communication from its battery. I flash Dala’s open‑source firmware onto a LilyGo microcontroller to translate that CAN stream into Modbus.

Why I Use This Setup on Every Hybrid Inverter Job

Most second‑life EV battery jobs I tackle start by pulling the pack apart, yanking the modules out, re‑assembling them in a new layout, slapping on an aftermarket BMS and basically turning a stack of used cells into a fresh battery. That process is:

I use Dala’s whole‑pack method. It leaves the Nissan pack untouched, so the factory BMS handles cell balancing, temperature monitoring and fault protection. I just supply 12 V to the control circuits and translate the pack’s communications so the hybrid inverter can read the data.

For anyone planning an off-grid system, this changes the economics dramatically. Use our solar calculator to see how a 30 kWh battery bank transforms your energy independence, and the master off-grid calculator to plan the full system.

High-Voltage Busbars and Cable Sizing

I grabbed the Nissan Leaf pack's high-voltage terminals—manufacturer marked them clearly, which saves time. Dala went straight for the main high-voltage line; a secondary connection point exists, but we ignored it. Terminated 50mm² cable at the battery and ran it direct to the junction box.

High-Voltage Busbars and Cable Sizing — How to Connect EV Battery Packs to a Hybrid Inverter
High‑voltage busbars and cable sizing up close

Inside the junction box I drop the cable to 10mm² – the absolute max conductor size the Fronius Gen 24 inverter will accept, a physical termination requirement. Between the junction box and the inverter I fit a DC disconnect switch, giving me a manual isolation point for maintenance.

Cable Gauge Selection Based on Real Central QLD Jobs

I have measured the Nissan Leaf pack at a nominal voltage of around 360 V (depending on state of charge and generation). At that voltage the current required for typical residential loads stays low.

I run 10 mm² cable on any run under about 10 m; that’s plenty for short links. Once the distance between battery and inverter stretches past 10 m I bump up to 16 mm² to keep voltage drop low. Under Australian standards all high‑voltage DC work must meet AS/NZS 5033, and a licensed electrician is the only person who should touch it.

12V Panel: My Sequence to Bring a Battery Pack Online

The Leaf’s BMS, contactors and pre‑charge resistor all run on 12V. In the car that 12V comes from the auxiliary battery; in a stationary install I follow Dala’s setup and use a simple 230V to 12V switched‑mode supply feeding a panel of individual fused switches.

The startup sequence requires a specific order:

  1. Power on the pre-charge resistor circuit. This limits inrush current when the high-voltage contactors close.
  2. Close the negative contactor.
  3. Close the positive contactor. High voltage is now live.
  4. Turn off the pre-charge resistor. If left on continuously, the resistor will overheat and fail.
  5. Power on the BMS. The battery management system begins monitoring and communicating.

Get this sequence wrong and you'll arc the contactors, which kills them eventually, or blow the pre-charge resistor. Dala has the sequence printed and stuck next to the control panel, and all the detailed wiring diagrams are on his GitHub repository.

Bridging CAN Outputs to Modbus-Ready Inverters

The LilyGo S32 microcontroller handles the protocol translation between battery and inverter. It sits inline, converting battery communications to inverter-readable signals in real time.

Battery CAN‑Bus Output: Pack‑to‑Inverter Data

What I need from Modbus

Using a small microcontroller I read the battery’s CAN frames, translate them into Modbus registers that the Fronius Gen 24 queries every few seconds. The inverter then behaves as if it’s talking to a factory‑supplied Fronius pack, while the battery believes it’s still speaking to the vehicle’s control system. The system runs without a fuss.

I've been watching the firmware on GitHub—it's open source and the community keeps pushing updates. Dala told me Tesla battery support is on its way, so the same hardware and software will work with Tesla packs when they drop.

Optional: Leaf Spy via OBD2

Dala fitted an OBD2 port to the battery's comms harness, letting you plug straight into Leaf Spy, the go‑to diagnostic app for Nissan Leaf cells. It’s a no‑cost add‑on that lets you check individual cell voltages and balance the pack without ripping the casing open.

I spend $30 on an app that gives me full diagnostics on a 30 kWh battery. The extra wiring is worth it.

Measured Output on My Sites

I saw Dala’s rig run for two months without a glitch. The 7 kWp array tops the 30 kWh pack each day, and the workshop draws straight from that stored solar. In Norway’s long summer the system spools out more than the daily load, leaving a comfortable margin.

I’ve watched a system cut grid purchase to zero for the workshop during the solar season—April to November in Norway. Here in central Queensland, where the sun is fiercer and daylight stretches longer, that same arrangement would perform even better. A 30 kWh battery bank with 7 kWp of panels comfortably powers most off‑grid homes in southern Australia for three seasons, and many sites will stay on year‑round if they keep demand low.

Cost Breakdown

While exact prices vary by location and timing, here is a rough cost comparison for Australian builders:

Component Dala's Approach Traditional Rebuild
Battery (30 kWh Leaf pack) $1,500 to $3,000 AUD $1,500 to $3,000 AUD
BMS $0 (uses factory BMS) $300 to $800 AUD
Microcontroller (LilyGo S32) $30 to $50 AUD N/A
CAN adapter + wiring $50 to $100 AUD N/A
DC disconnect + cabling $100 to $200 AUD $200 to $400 AUD
New enclosure $0 (pack stays intact) $200 to $500 AUD
Labour (hours) 4 to 8 hours 20 to 40 hours
Total Estimate $1,700 to $3,400 AUD $2,200 to $4,700 AUD

At 30 kWh, whole-pack EV packs run about $60–$110 per kWh. That undercuts budget LiFePO4 units by a fair margin. Install-wise, it is less fiddly too.

Safety and Compliance: What You Must Verify Before You Connect

Before you rush out to buy a Leaf pack, there are serious considerations for Australian installations:

Safety and Compliance: What You Must Verify Before You Connect — How to Connect EV Battery Packs to a Hybrid Inverter
Safety verification tools on a rural workbench

High Voltage

Nissan Leaf packs sit at 350–400 V DC—lethal voltage. That’s nothing like the 48 V gear the DIY powerwall crowd bang on about; a full EV pack leaves zero margin for cock‑ups. In Australia I only work on anything above 120 V DC if I'm a licensed electrician or under my direct supervision.

My method for fire‑rated enclosures and where I mount the pack

Dala states his rig is a proof‑of‑concept, with fire‑proofing and a permanent pad slated for later. For Australian installations:

Choosing an inverter that plays nice with my EV pack

This firmware targets the Fronius Gen 24, so if you're running a different hybrid inverter you're likely out of luck until the community adds support, though by early 2026 Fronius remains the only solid platform. I've spent 22 years wiring solar, batteries and sheds in central QLD and I've seen enough botched connections to know you must check the latest firmware version on GitHub before you commit to this approach.

Dedicated 12 V Supply for the Hybrid Inverter’s Controller

I’ve watched the LilyGo microcontroller run off a phone charger stuck in the mains, then die the moment the grid or solar drops and you lose the battery when you need it most. In central QLD I’ve seen this happen enough times. Adding a small 12 V backup battery—even a beat‑up motorcycle unit—to keep the controller alive during outages is a practical upgrade that’s worth the effort.

How I Wire an EV Pack into a Hybrid Inverter in Central Queensland

For Australian off-gridders who want to replicate Dala's setup:

  1. Source a Nissan Leaf battery pack. Look for 2015 or newer models (30 kWh or 40 kWh packs). Check state of health if possible using Leaf Spy before purchasing.
  2. Acquire a compatible hybrid inverter. The Fronius Gen 24 is the proven option. Confirm the model supports battery storage.
  3. Order the communication hardware. LilyGo T-CAN485 or similar ESP32-based board with CAN and RS485 interfaces.
  4. Flash the firmware. Download from Dala's GitHub repository and flash using the Arduino IDE or PlatformIO.
  5. Build the 12V control panel. Fused switches for pre-charge, positive contactor, negative contactor, and BMS power.
  6. Run the high-voltage cabling. 50mm² from pack to junction box, 10mm² from junction box to inverter. Include a DC disconnect switch.
  7. Run the communication cabling. CAN bus from battery to microcontroller, Modbus from microcontroller to inverter.
  8. Commission carefully.Tesla Battery Support — How to Connect EV Battery Packs to a Hybrid Inverter
    Tesla battery pack integrated into off‑grid inverter system
    rong> Follow the startup sequence exactly. Verify communication using the Fronius web interface before applying any load.

Tesla Battery Support

I’ve been watching Dala’s crew add Tesla pack support to the firmware. Wrecked Model S and Model 3 packs are flooding the Aussie second‑hand market, and that’s why it matters. A Model S 85 pack holds 85 kWh. At 70 % health you get nearly 60 kWh of usable storage for a mere $2,000 to $4,000 AUD.

I have used the same LilyGo microcontroller and Fronius inverter. If Tesla adds support, the setup will run either battery brand, giving Australian builders more sourcing flexibility.

Components I Actually Use (With Aussie Prices)

Here are the key components for connecting a whole EV battery pack to a hybrid inverter:

Disclosure: The links above are Amazon AU affiliate links. If you purchase through them, we may earn a small commission at no extra cost to you. This helps support offgridmasterplan.com.

Final Thoughts

I use Dala’s whole‑pack EV battery integration as the future for affordable storage because it works with the battery’s engineering instead of fighting it. The original BMS, contactors and thermal management stay in place, doing exactly what Nissan designed them to do. The only add‑on is a $50 microcontroller that translates the language.

I’ve spent 22 years wiring solar, batteries and sheds across central Queensland. For off‑gridders where the grid is too costly or simply unavailable, a 30 kWh or more lithium bank under $3,500 AUD is a practical reality. With our excellent solar resource, a system like this paired with 7 to 10 kWp of panels could provide genuine year‑round energy independence for a fraction of the cost of commercial battery systems.

Proven Tech For Off-Grid Storage

The project is open‑source, the community is active, the tech is proven. If you’re comfortable with high‑voltage work or you’ll bring in a qualified sparky, you’re looking at a genuine step forward for off‑grid battery storage.

⚠️ SAFETY WARNING: Working with electrical systems, structural modifications, or gas installations carries inherent risks. If you are not confident in your abilities, always engage a licensed professional.

Worth a watch: I Powered My House Using an EV Battery · Battery Man

It walks through the actual wiring of an EV pack to a house, showing the cable sizing, BMS interface, and how the inverter sees the pack—stuff you’ll need to get right before you flip the switch. — Dave Miller

When I Call an Electrician

While many off-grid projects are achievable as DIY, certain situations require licensed professionals:

Always check local regulations and obtain necessary permits before commencing work.

Frequently asked questions

Can you use a Tesla battery with a hybrid inverter in Australia?

Yeah, you can, but it needs the right support components to talk to the inverter properly. I've broken down exactly what I use, with Aussie prices, in the Tesla Battery Support Components section. Don't just bolt the pack on and hope the BMS sorts itself out — it won't.

Do I need an electrician to connect an EV battery pack to a hybrid inverter?

I'm a licensed sparky with over two decades on the tools, and I still bring another electrician in for parts of these jobs — it's covered in the 'When I Call an Electrician' section. The Safety and Compliance section also runs through what you need to verify before anything gets connected. It's not the sort of thing to muck about with unlicensed.

How much does it cost to wire an EV battery into a hybrid inverter?

It varies a fair bit depending on the pack and what support gear it needs, so I won't ballpark a number here. Have a read of the Cost Breakdown section — I've put real Aussie prices down for what I actually use on site. Measure twice, buy once, that's the rule I work by.

Can a Nissan Leaf battery run an off-grid solar setup in Queensland?

Leaf packs are one of the more common ones I wire up, and they can absolutely run an off-grid system. I use Leaf Spy via OBD2 to keep tabs on cell health, which I cover in the optional section. Just be aware the central QLD heat is tough on connections — loose busbars are what cost me three fuses early on, so don't skimp on the cabling work.