Batteries on PVO?

Under this scenario, you’d like gross consumption calculated as

v4 = v4 - b1 ?

v4 = -5040 - (-5640)
v4 = 600

It would be best to handle this with a flag in the addstatus request e.g. &bc=1 so it won’t affect existing requests where this isn’t applicable.

hi, we just got shiny new PV system with battery (goodwe) installed last week and I would like to continue using PVoutput, which served me well for over a decade, to track production and savings.
Great to see that battery monitoring is available now, can anyone confirm if pvoutput can can calculate savings from battery system yet? (I know it can do this well for solar PV).

I’m currently exploring how to do this with Home Assistant but since I’m new to HA, the progress is quite slow

Not currently, but it would be a feature added in the future.

Installed 3 Enphase batteries, and now the PVOutput data doesn’t reflect imported power. Is there a way to correct this?

PVOutput would need to retrieve the battery data from Enphase, this would be separate enhancement in the future.

Aha. Any guesses when that might be? The system as it stands now isn’t useful to me and my ilk. I was really enjoying the daily cost calculation data.

Unfortunately a timeline can’t be provided at the moment.

Enphase is a little complicated given the battery data requires additional requests to Enphase and we are constriant by a total number of monthly requests, for all systems, which is quickly approaching its limits as more Enphase systems are added.

For testing purposes, do you allow PVOutput to make requests on your Enphase account? This is to sample the data and the number of requests will be kept to a minimum (1-2 per day)

I have a google sheet setup to pull my Powerwall data and upload to PVOutput…

Only just came across this thread but been hanging out for some battery support for a long time. So this is awesome news!

Currently my v2 includes battery output, and v4 includes battery input. I’m sure there was a reason I included output… but can’t remember anymore.

Anyway I just started logging the battery data into b1-6, and won’t alter my generation or consumption data yet… as I assume it will be manipulable later with settings. I guess I’d want v2 = v2 + b1, and v4 = v4 + b1… to remove battery outputs from generation and battery inputs from house consumption.

I’ve been logging my battery data since Feb 2023 in v11+v12. Is there a good way to copy that data to b1+b2… and once its all settled down, recalculate.

Thanks.

Been thinking about it overnight.

Power Used: I have been counting battery input and outputs in this figure from my server side. I shouldn’t have been counting inputs. It’s not used power, its stored power. I should still be counting outputs however… so realistically I’ve been double counting any battery power in my power used.

Power Generation: I have been counting battery outputs in this figure. However I think I did this because if I didn’t, then PVO would count the power used as imported, and I figured it was better to have incorrect generation stats than imported stats.

I guess I need to know what the implementation will be going forward, to determine what figures I will be sending into PVO with my battery stats.

If a feature could be added to manipulate large amounts of data (knowing that I could mess all my data up and it can’t be reversed etc) and queues / rate limits can be added to stop your servers getting smashed

  1. Start Date/Time
  2. End Date/Time
  3. Rule (to fix my data I’d use the following)

copy my extended data to battery data
b1 = v11
b2 = v12

remove battery input from power used
if(v11 > 0) v4 = v4 - v11

remove battery output from power generation
if(v11 < 0) v2 = v2 + v11

I’m not sure how the battery stats will eventually (or currently) effect net production calculations, so I’ll wait and see for now. My Generated is currently over reporting by the battery output, consumption over reporting by the battery input… but import and export are correct. Going back 3 or 4 years and fixing data would be great… but having accurate data going forward if probably more useful. I hope that made sense.

The Extended data rules should able to handle these calculations. It not possible to recalculate old data without reuploading which is limited ot the last 90 days.

Request for enhancement. Aggregation mode on a parent ‘Battery and Solar’. Or even better, make multiple selections possible.

@bankstownbloke

Can you confirm if batteries have been fully implemented yet. I don’t know if I’m uploading the correct figures now. I used to have my batteries counting as solar generation, and my generation was over reading, but my imports and house consumption was correct.

I then changed, so battery wasn’t counting as solar, so my generation was correct… but now PVO says I’m importing when really I’m using the battery

I can’t think of the correct combination to upload so that the stats are accurate.
Maybe I’m missing a simple setting, or the implementation isn’t finished yet. But I’m a little lost. I have all the stats I could ever want in my home assistant. And that data seems accurate, but it is calculating the battery correctly. I just wanted them to match my PVO

My ID is 91474

Only battery data upload is supported for now.

Can you confirm the calculation should be used below?

There are some possible issues when the data is sent separately (generation, consumption, battery) in any order, and the recalculation being applied to data that was already recalculated.

Would be nice to know if you plan on adding BESS as third power source/target, like Grid and PV.
Because currently the consumption value is no longer usable since it includes battery charging. Meaning with peak shaving, my PV == Import. Until the winter really hits of course or you start trading.

I could subtract the battery charge/discharge values (as @bankstownbloke mentions), but then we need to know what the feature implementation would look like. Not looking forward to edit all values manually to fix this later on.

For me it makes sense to keep is as consumption for now, but only if you plan on fixing this later on (split between battery and real house consumption) based on the other b values (charge and discharge)

Thanks.

Any changes would only affect new data going forward and it would be a configuration option that has to be enabled for a calculation to take place on the PVOutput side.

I have been MIA on pvoutput since march when my last Home assistant integration didnt do it for me, but prior to that i was using v11 for battery. Now i have backloaded my generation/consumption and have a new script uploading generation, consumption etc.
I managed to add b1 and b2 and seems to be working great!
https://pvoutput.org/intraday.jsp?id=3350&sid=102624

1 Like

Hi @bankstownbloke,

I’m following up on the Enphase battery integration post discussed in January 2026.

I’m a PVOutput donation-enabled member (username quozl) and currently use the built-in Enphase Enlighten Auto Uploader with Direction set to Both, including PVOutput’s TOU tariff calculations.

On 26 November 2026, I’m having my existing Enphase system upgraded with:

4 × Enphase IQ Battery 5P FlexPhase units (20 kWh usable storage)

A replacement Envoy-S Metered gateway

4 additional solar panels, bringing total solar capacity to 10.605 kWp

4 x IQ8HC-72-M-INT micro inverters

This is to add on to my existing Enphase system with
19 x 455W Panels with IQ 7A micro inverters

Has native Enphase battery integration now been implemented in PVOutput, or is it still under development?

I’m particularly interested in:

Whether the existing Enphase Auto Uploader can retrieve battery charging/discharging power, state of charge and energy totals through the Enphase Cloud API.

Whether PVOutput correctly calculates grid imports and exports when the Enphase battery charges from solar or the grid and discharges to the house or grid.

Whether the new battery fields (b1–b6) are automatically populated from Enphase, or whether a separate uploader is still necessary.

Whether PVOutput can distinguish solar-to-battery charging from grid-to-battery charging, and battery-to-house consumption from battery-to-grid export.

Whether any new settings or adjustments are required to preserve accurate TOU electricity cost calculations after the battery installation.

If native integration isn’t available yet, I’m considering using Enphase API v4 to retrieve 15-minute solar, consumption, battery and grid telemetry, then uploading the information to PVOutput.

Would that be the recommended approach, and are there any known issues with using a custom uploader alongside the existing Enphase Auto Uploader?

I’d appreciate any advice before the installation.

Thanks,

quozl

Development hasn’t started. Given the battery data is an additional request to Enphase, it may be a little challenging to keep these under the Enphase API limits.

This would be a better long term solution.

It should be fine, data with the same timestamp from different souces are merged.

1 Like