ThomasHoussin / com.thomashoussin.fronius

Adds support for Fronius inverter in Homey
GNU General Public License v3.0
0 stars 0 forks source link

GEN24+ system with BYD accumulators #19

Closed ThomasHoussin closed 3 years ago

ThomasHoussin commented 3 years ago

Get call: /solar_api/v1/GetPowerFlowRealtimeData.fcgi

Response:

{
   "Body" : {
      "Data" : {
         "Inverters" : {
            "1" : {
               "Battery_Mode" : "normal",
               "DT" : 1,
               "P" : 294,
               "SOC" : 83.199996948242188
            }
         },
         "Site" : {
            "BatteryStandby" : false,
            "E_Day" : null,
            "E_Total" : null,
            "E_Year" : null,
            "Meter_Location" : "grid",
            "Mode" : "bidirectional",
            "P_Akku" : -1695.3138427734375,
            "P_Grid" : 0.0,
            "P_Load" : -294.04129028320312,
            "P_PV" : 2051.2835083007812,
            "rel_Autonomy" : 100.0,
            "rel_SelfConsumption" : 100.0
         },
         "Version" : "12"
      }
   },
   "Head" : {
      "RequestArguments" : {},
      "Status" : {
         "Code" : 0,
         "Reason" : "",
         "UserMessage" : ""
      },
      "Timestamp" : "2021-07-30T07:12:45+00:00"
   }
}
ThomasHoussin commented 3 years ago

call /solar_api/v1/GetStorageRealtimeData.cgi?Scope=System

{
   "Body" : {
      "Data" : {}
   },
   "Head" : {
      "RequestArguments" : {},
      "Status" : {
         "Code" : 255,
         "Reason" : "GetStorageRealtimeData Request is not supported any longer",
         "UserMessage" : ""
      },
      "Timestamp" : "2021-07-30T14:18:28+00:00"
   }
}
ThomasHoussin commented 3 years ago

20 adds a GEN24 storage device, this solves this issue