So it turns out the grid usage data the app requires is just that, usage, not net usage.
Why the app calculates things differently in the history view from the power view I don’t know. If it did it all the same I’d need one fewer feeds, and feeds = money now!