Can't measure consumption directly, only grid in/out and solar

Hi, I have an Efergy / EnergyHive system with two transmitters. Due to the way the solar has been wired into my house (into a sub-board, after my air conditioner) I can’t measure consumption directly without and 3rd transmitter. So at the moment I have one transmitter measuring solar generation, and the other on the main board at the grid connection.

I have set the solar generation up fine on PVOutput AutoUploader (apart from a night time 200W measurement, which I correct with a rule).

How should I set up the main board grid connection to get the best consumption measurement I can get? At the moment I have Power set to the grid measurement, Secondary Power set to solar generation with subtract, and the direction set to Consumption. Will this work correctly?

Update: If there was a way to reference Power and Secondary Power in the rule, I believe the following rule would work. Any idea if you can do this?

IF (POWER > SEC POWER) POWER =+ SEC POWER ELSE IF (POWER < SEC POWER) POWER = SEC POWER - POWER

This isn’t possible. The rule only has a reference itself via ‘power’.

No problem, thanks for the response.

I’ll have to either get a 3rd transmitter, or somehow try and get the Goodwe inverter PVoutput scripts to run (no luck as yet).