PVO showing Grid charges from PowerWall battery use

Hi All, long time PVO user - I recently got a powerwall 2 installed and today I finally got around to firing up a Docker image to send data to PVO.

I have it working but PVO is showing my costs rising despite running from battery for the last hour or so:

Here’s my config:

# The Powerwall gateway API url
# 
# Replace 192.168.x.x with the powerwall gateway IP address
#

url=https://192.168.1.185/api/meters/aggregates


#
# Poll the URL every n seconds
#

poll=300


# Define the power direction
# 
# 'in'  - Consumption (load)
# 'out' - Solar Generation (solar)
 
direction=in


# uncomment to read an alternative power value
#
# default is 'instant_power'
#

# power=instant_power


# uncomment to read voltage data
#

voltage=instant_average_voltage


# 
# uncomment to upload state of charge percentage to extended parameter
#
# Replace 192.168.x.x with the powerwall gateway IP address
#
# Replace v12 with the Extended parameter to upload to valid values [v7|v8|v9|v10|v11|v12]
#

soc-url=https://192.168.1.185/api/system_status/soe
soc-parameter=v12


#
# extended data v7-v12
#
# valid values [site|battery|load|solar|busway|frequency].[instant_power|instant_reactive_power|instant_apparent_power|frequency|energy_exported|energy_imported|instant_average_voltage|instant_total_current|i_a_current|i_b_current|i_c_current]
#
# e.g. battery.instant_power
# 

# uncomment to upload data to v7
# 
#

v7=site.energy_exported


# 
# uncomment to upload data to v8
#

v8=site.instant_power


# 
# uncomment to upload data to v9
#

v9=battery.instant_power


# 
# uncomment to upload data to v10
#

v10=load.instant_power


# 
# uncomment to upload data to v11
#

v11=solar.instant_power


# 
# uncomment to upload data to v12
#

# v12=load.instant_total_current



#
# uncomment to use a rule on power, temperature or voltage
#

# rule=


# Example - increase solar output by 2%
# 
# rule=if(out) power = power*1.02;


# Example - divide voltage by 3
# 
# rule=v6 = v6 / 3;


# Example - convert temperature F to C
# 
# rule=v5 = (v5 - 32) * 5 / 9;

Screen Shot 2022-09-08 at 4.32.09 pm

Screen Shot 2022-09-08 at 4.39.15 pm

What am I doing wrong?

Ok, I made some changes after finding this post:

However, despite having Battery flow set as a credit, the tariff option for ED v7 still shows “charged” instead of “credited”. Am I missing something?

Screen Shot 2022-09-09 at 11.17.52 am

Screen Shot 2022-09-09 at 11.18.17 am

NVM, I was looking at the wrong section. :man_facepalming: