NZ Solar Guide
Integrating Your Solar System With Home Assistant
Yes, you can pull live data from most modern solar inverters and batteries straight into Home Assistant, the free open-source home automation platform, and run your own automations off it: switching the hot water cylinder on when the panels are pumping, charging the EV off surplus, or just watching your generation second by second on a wall tablet. The catch is that not every brand plays nicely. The best results come from inverters with a local Modbus connection (no cloud, no monthly fees), and a Home Assistant setup runs on hardware costing roughly $150 to $250 (a Raspberry Pi 5 with storage) plus an evening or two of tinkering. Done right, it turns a passive solar system into one that actively shifts your own usage into the sunny hours, which is where the real savings live.
Why bother integrating solar with Home Assistant at all?
Here is the thing the sales brochure glosses over: a grid-tied solar system only saves you serious money when you use the power yourself. Every kilowatt-hour you export gets paid at a buy-back rate that is a fraction of what you pay to import.
Buy-back rates across NZ retailers sit well below the retail price of power. The Electricity Authority's own data shows the gap is real and persistent, and we break the buy-back maths down properly when we look at hardware choices over at our main hardware and tech guide. The short version: lifting your self-consumption from, say, 40% to 65% can do more for your payback than buying a bigger array.
That is exactly what Home Assistant is good at. It watches your surplus in real time and fires off jobs (heat water, charge a battery, run the dishwasher, top up the car) the moment you have spare solar, instead of dumping it to the grid for cents.
What you actually get out of it
- Local monitoring with no cloud lag. See generation, consumption, battery state and grid flow updating every few seconds, not on a 5-minute delay through a manufacturer app.
- Long-term data you own. Home Assistant logs everything to a local database, so you can prove how your system actually performed across a full NZ winter, not just trust a glossy estimate.
- Automations that shift load to the sun. The single biggest lever on your power bill.
- Independence from the manufacturer's app. When the company changes its app, kills a feature, or starts charging for "premium" cloud access, your local setup keeps running.
The one insight installers rarely mention: local API vs cloud-only
This is the piece that decides whether the whole project is a joy or a misery, and almost nobody raises it before you sign. Some inverters expose a local data connection; others lock everything behind their cloud.
A local connection (usually Modbus TCP over your home network, or Modbus RTU over a serial cable) means Home Assistant talks directly to the inverter sitting on your wall. Fast, private, and it keeps working even if your internet drops or the manufacturer's servers fall over.
A cloud-only setup forces every reading to bounce off an overseas server and back. That means delays, rate limits (some manufacturers throttle you to a reading every few minutes), an internet dependency, and the ever-present risk that the company changes its terms.
Here is the trap: two inverters can look identical on a quote, both "Wi-Fi enabled, app included," and one gives you full local control while the other gives you nothing but the cloud. Ask the question before you buy, in writing. The exact wording to use:
- "Does this inverter expose Modbus TCP over LAN, or Modbus RTU via the RS485 port?"
- "Is the Modbus register map publicly documented, or do I need to request it?"
- "Can I read live data without an internet connection to your servers?"
If the installer or distributor cannot answer that, treat it as a red flag for your plans. It does not make the hardware bad, plenty of people are perfectly happy with the standard app, but it tells you the deep integration you want may not be on the table.
Which inverters and batteries play nicely
Brands and firmware change constantly, so always confirm with your distributor rather than trusting a forum post from two years ago. That said, here is the lay of the land as it generally stands for hardware sold into NZ.
Inverters with strong local access
- Fronius (Austrian, very common on NZ roofs): excellent. Exposes a documented Modbus TCP interface and a local Solar API (a JSON feed on the inverter's own IP). Home Assistant has well-supported integrations for both. If local monitoring matters to you, Fronius is one of the safest bets.
- SMA (German): strong local Modbus support and a reliable Home Assistant integration. A solid, conservative choice.
- SolarEdge: supports Modbus TCP over LAN, though you often need to enable it. Works well once configured. Be aware that panel-level optimiser data is a separate, more cloud-dependent story.
- GoodWe and Sungrow: both expose Modbus and have community integrations that work well. Confirm the specific model and firmware.
- Growatt: local Modbus is possible (often via the RS485 port and a small adapter), and there are active community integrations. More fiddly than Fronius, but very doable.
Batteries and hybrid systems
- Tesla Powerwall: has a documented local API on the gateway, and the Home Assistant integration is mature. You can read charge state, flow, and power data locally. Controlling charge/discharge behaviour is more limited, but monitoring is excellent.
- Fronius with BYD batteries: a common NZ pairing, and the Fronius local interfaces surface battery data nicely.
- Sungrow and GoodWe hybrids: typically expose battery state of charge and flow over Modbus, so you can build genuine "charge from surplus" logic.
- Enphase microinverters: the Envoy/IQ Gateway has a local API and a Home Assistant integration, though Enphase has tightened local access on newer firmware, sometimes requiring a token. Check the current state of play for the exact gateway you are quoted.
The panels themselves are rarely the deciding factor for monitoring; that job sits with the inverter and battery. If you are still weighing up panel choices, the cell technology matters more for long-term yield in our climate, and we go into that properly in our look at N-type versus P-type cells for the NZ climate and in our review of DAS Solar and Tongwei N-type panels.
What you need to get started
You do not need to be a software engineer. You do need a free weekend and a willingness to read instructions.
- A small always-on computer. A Raspberry Pi 5 (roughly $150 to $250 once you add an SSD or decent storage and a case) is the classic choice. An old mini-PC or a Home Assistant Green/Yellow device also works.
- Your inverter on the same network. Wired ethernet to the inverter beats Wi-Fi for reliability if you can manage it.
- The relevant integration. Most are a few clicks to install, then you enter the inverter's IP address and Modbus port.
- Optional: a smart switch or relay for whatever you want to control (hot water, a heat pump, an EV charger that supports it).
Budget an evening to get monitoring working and a second evening to build your first automation. The community documentation for the major inverter integrations is genuinely good.
The automations that actually save money
Pretty dashboards are fun. The dollars come from automations that lift self-consumption. Here are the ones worth building, roughly in order of payback.
1. Solar-diverted hot water
Hot water is the biggest single chunk of the average NZ household's electricity use. EECA notes that water heating typically accounts for around a third of a home's power bill. If you can heat your cylinder using surplus solar at midday rather than off the grid at night, that is real money.
The logic: when solar export exceeds (say) 1.5 kW for more than two minutes, switch the cylinder element on; when export drops below 300 W, switch it off. A small contactor wired by a registered electrician lets Home Assistant control the element safely. Do not DIY the electrical side of a hot water cylinder. Get a sparky to install the switching; Home Assistant just sends the on/off signal.
2. EV charging off surplus only
If you have an EV charger that exposes an adjustable current (many modern wall chargers do), Home Assistant can dial the charge rate up and down to soak up exactly your surplus, so the car charges on sunshine rather than imported power. On a clear Canterbury or Central Otago winter day with low household load, this can quietly add several free kilowatt-hours to the car.
3. Battery charge scheduling around buy-back
If your retailer has time-of-use pricing or a poor daytime buy-back rate, you can tell the battery to prioritise charging from your own surplus and hold off discharging until the evening peak when imported power is dearest. Some retailers, like Octopus and Electric Kiwi, have plans where the price differences across the day are worth automating around.
4. Load shedding the dumb stuff
Pool pumps, dehumidifiers, towel rails, the second fridge in the garage: run them when the sun is up, pause them when a cloud bank rolls in off the Tasman. None of these alone is dramatic, but together they nudge self-consumption up by a few percent, and a few percent compounds over twenty years.
A worked example: a Tauranga family with a 6.6 kW system
Picture a 1990s brick-and-tile place in Pāpāmoa, two adults, two kids, both adults out at work most weekdays. They have a 6.6 kW array, no battery, and they are on a standard plan with a buy-back rate well under their import price (typical across most NZ retailers per Electricity Authority data).
Before automation, their self-consumption sat around 35%, classic for a house that is empty during the sunniest hours. Most of their midday generation was exported for a pittance.
They set up Home Assistant on a Raspberry Pi, pulled live data off their inverter over Modbus, and built two automations: solar-diverted hot water and a timer that runs the dishwasher and a load of washing on a midday delay when generation is strong. Self-consumption climbed to roughly 58%.
The maths, using indicative numbers (you should run your own with current rates): shifting even 1,500 kWh a year from "exported low, then bought back dear" to "used directly" can be worth a few hundred dollars annually, depending entirely on the spread between their import price and buy-back rate. Plug your own figures into our solar cost and ROI calculator to see the effect on your payback, because the spread varies a lot by retailer and region.
Be honest: who should not bother
The brand is built on telling you when something is not worth it, so here it is straight.
- If you want a "set and forget" system, Home Assistant is probably not for you. It rewards tinkerers. It needs occasional maintenance, the odd integration breaks after an update, and you have to enjoy the fiddling at least a bit.
- If your inverter is cloud-only with no local access, you can still pull data via the manufacturer's cloud integration, but it will be slower and less reliable, and you may not be able to control anything. The deep automations will not work well.
- If you are renting, hardwiring a contactor onto the hot water cylinder is usually off the table, which removes the biggest saving.
- If you already have very high daytime occupancy (someone home all day, an existing diverter, an electric car charging during the day), your self-consumption may already be high, and the marginal gain from automation shrinks.
There is also a real cost in time. If your evenings are precious, factor that in honestly. A good solar diverter (a dedicated hardware device that does the hot water job automatically with no coding) can be a better fit for some households than a full Home Assistant build. It does one thing reliably without the rabbit hole.
How to set yourself up to do this before you buy
The lowest-cost time to make integration easy is before the system goes on the roof. Once the inverter is installed, you are stuck with what it can do.
- Specify a local Modbus interface in your quote. Put it in writing that you require an inverter with documented local Modbus access.
- Ask for a wired ethernet run to the inverter while the electrician is there. Far more cost-effective than retrofitting, and far more reliable than Wi-Fi.
- Get the Modbus register map (or confirm it is public) before you commit.
- Check warranty implications. Reading data over Modbus is benign and standard. But if any automation will switch loads or control the battery, confirm it will not void anything. Warranty conditions can be surprisingly specific, and we explain how the fine print works in our piece on what Tier-1 panels really mean for your warranty.
When you are gathering quotes, it is worth telling installers up front that local monitoring matters to you, so they spec the right gear. If you want three quotes from people who will actually answer that question properly rather than fob you off, we can line up three vetted installers for you.
Frequently Asked Questions
Is Home Assistant free?
The software is free and open-source. Your only costs are the hardware to run it on (a Raspberry Pi or similar, roughly $150 to $250 all up) and any smart switches or relays you choose to add. There are no subscription fees.
Will connecting Home Assistant void my inverter warranty?
Simply reading data over Modbus is standard, non-invasive, and very unlikely to affect any warranty. If you go further and automate the switching of loads or battery behaviour, confirm with your installer and manufacturer first. The safe rule is to have a registered electrician handle any wiring to mains-connected equipment like a hot water cylinder.
Do I need an internet connection for it to work?
If your inverter supports a local connection (Modbus over your home network), the monitoring and automations run entirely on your own network and keep working even when your internet is down. Cloud-only inverters depend on the internet and the manufacturer's servers, which is one reason a local interface is worth specifying.
Can Home Assistant control my battery?
For some systems, yes, to a degree. Many hybrid inverters and batteries expose charge and discharge controls over Modbus, letting you build schedules around your buy-back rate or time-of-use plan. Others only let you read the state of charge. It depends entirely on the specific brand and firmware, so check before you assume it.
Which inverter is the easiest to integrate?
Fronius is widely regarded as one of the most straightforward, thanks to its documented local Solar API and Modbus TCP support, both of which have mature Home Assistant integrations. SMA is similarly strong. Always confirm the specific model and current firmware with your distributor, as capabilities change.
Is a solar diverter better than Home Assistant for hot water?
For hot water alone, a dedicated diverter is simpler and more reliable, and it needs no coding. Home Assistant wins when you want to control several things (hot water plus EV charging plus appliances) from one place, log everything yourself, and build custom logic. Many households are perfectly served by a diverter and never touch Home Assistant.
How much can automation actually save me?
The savings come from lifting self-consumption, so they depend on the gap between your import price and your buy-back rate, plus how much surplus you currently export. A household empty during the day stands to gain the most. Run your own numbers in our ROI calculator with your real rates rather than trusting a generic figure.
I am not technical. Can I still do this?
The major inverter integrations are mostly point-and-click these days, and the community guides are very good. Monitoring is achievable for most patient people in an evening. Automations take a bit more learning. If the idea of troubleshooting the occasional hiccup fills you with dread, a hardware diverter is the lower-stress option.
The bottom line
Home Assistant turns a solar system from something you watch into something you steer. The real prize is not the dashboard; it is lifting how much of your own sunshine you actually use, because that is where the savings sit in the NZ market, where buy-back rates run well below retail power prices. The single most important decision is upstream of any software: pick an inverter with a documented local Modbus interface, and get that in writing before you sign.
If you are still working out which gear suits your roof and your climate, start with our hardware and tech guide, which ties the inverter, panel and battery choices together. Get the hardware right first, and the clever automations follow easily.