Solar Man API

Hello Solar / HA friends.

Im new to this and I have been setting up my HA with Solarman. Thanks to everyones posts so far, I have been able to authorise :smiley:

I have some simple questions that the solarman support team, seem confused / unwilling to answer for me.

Im running the following in reqbin

curl --request POST \
  --url 'https://globalapi.solarmanpv.com/station/v1.0/realTime?language=en' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: bearer eyJ__MY__TOKEN' \
  --data '{ "stationId": MY_STATION_ID}'

Im getting a standard Payload back

{
    "code": null,
    "msg": null,
    "success": true,
    "requestId": "fe674576971843a2",
    "generationPower": 1700.0,
    "usePower": 1120.0,
    "gridPower": 700.0,
    "purchasePower": null,
    "wirePower": 700.0,
    "chargePower": 400.0,
    "dischargePower": null,
    "batteryPower": 400.0,
    "batterySoc": 99.0,
    "irradiateIntensity": null,
    "lastUpdateTime": 1713102089.000000000,
    "generationTotal": 971.1
}

My question is what are the attributes here, specifically what is the difference between WirePower and GridPower, Im guessing one is going to the grid and one is coming from the grid… which is which.

I was looking at this on the solarMan app and I cant see any correlation, so curiosity got to the better of me, but I have been comming up short…

Any thoughts