How does the My Solar App calculate the export/direct/grid numbers? Can I create a feed that calculates these numbers so I can extract them via JSON?
It’s explained here: Solar PV - Guide | OpenEnergyMonitor
It explaines how to create an import and import_kwh feed. Direct use is then “Consumption - Import” and Export = Consumption - Direct