my json data looks like this
{
"code": null,
"msg": null,
"success": true,
"requestId": "bc3f14fbc1f9506d",
"deviceSn": "21xxxxxx",
"deviceId": 2yyyyyyyyy
"deviceType": "INVERTER",
"deviceState": 1,
"collectionTime": 1730294579,
"dataList": [
{
"key": "SN1",
"value": "2102xxxxxxxxx,
"unit": null,
"name": "SN"
},
{
"key": "MMN",
"value": "AUNISOL12KT",
"unit": null,
"name": "Machine Model (New)"
},
{
"key": "ES_STA1",
"value": "Germany",
"unit": null,
"name": "Marketing Electricity Standard"
},
{
"key": "MODEi1",
"value": "Input Independent Mode",
"unit": null,
"name": "Input Mode"
},
{
"key": "SYSTIM1",
"value": "2024-10-30 14:22:12",
"unit": null,
"name": "System Time"
},
{
"key": "DSP2_VM",
"value": "V1.2.1",
"unit": null,
"name": "DSP2 Version Number"
},
{
"key": "DSPv1",
"value": "V2.4.00",
"unit": null,
"name": "DSP Version"
},
{
"key": "ARMv1",
"value": "V2.0.00",
"unit": null,
"name": "ARM Version"
},
{
"key": "UFB1",
"value": "10",
"unit": null,
"name": "Upgrade Flag Bit"
},
{
"key": "BAT_1_BMS_V",
"value": "1.1258",
"unit": null,
"name": "Pack1-BMSVersion"
},
{
"key": "BAT_2_BMS_V",
"value": "1.1258",
"unit": null,
"name": "Pack2-BMSVersion"
},
{
"key": "BAT_3_BMS_V",
"value": "1.1258",
"unit": null,
"name": "Pack3-BMSVersion"
},
{
"key": "BAT_4_BMS_V",
"value": "",
"unit": null,
"name": "Pack4-BMSVersion"
},
{
"key": "BAT_5_BMS_V",
"value": "",
"unit": null,
"name": "Pack5-BMSVersion"
},
{
"key": "BAT_6_BMS_V",
"value": "",
"unit": null,
"name": "Pack6-BMSVersion"
},
{
"key": "BAT_7_BMS_V",
"value": "",
"unit": null,
"name": "Pack7-BMSVersion"
},
{
"key": "BAT_8_BMS_V",
"value": "",
"unit": null,
"name": "Pack8-BMSVersion"
},
{
"key": "DV1",
"value": "356.30",
"unit": "V",
"name": "DC Voltage PV1"
},
{
"key": "DV2",
"value": "566.40",
"unit": "V",
"name": "DC Voltage PV2"
},
{
"key": "DC1",
"value": "2.06",
"unit": "A",
"name": "DC Current PV1"
},
{
"key": "DC2",
"value": "2.00",
"unit": "A",
"name": "DC Current PV2"
},
{
"key": "DP1",
"value": "732",
"unit": "W",
"name": "DC Power PV1"
},
{
"key": "DP2",
"value": "1126",
"unit": "W",
"name": "DC Power PV2"
},
{
"key": "DPi_t1",
"value": "1858",
"unit": "W",
"name": "Total DC Input Power"
},
{
"key": "ETLOTD",
"value": "0.00",
"unit": "Wh",
"name": "Electricity To Load On The Day"
},
{
"key": "RPBC",
"value": "0.39",
"unit": "A",
"name": "R-phase Backup Current"
},
{
"key": "RPBV",
"value": "231.80",
"unit": "V",
"name": "R-phase Backup Voltage"
},
{
"key": "RPBP",
"value": "0",
"unit": "W",
"name": "R-phase Backup Power"
},
{
"key": "SPBC",
"value": "0.33",
"unit": "A",
"name": "S-phase Backup Current"
},
{
"key": "SPBV",
"value": "232.30",
"unit": "V",
"name": "S-phase Backup Voltage"
},
{
"key": "SPBP",
"value": "0",
"unit": "W",
"name": "S-phase Backup Power"
},
{
"key": "TPBC",
"value": "0.28",
"unit": "A",
"name": "T-phase Backup Current"
},
{
"key": "TPBV",
"value": "228.00",
"unit": "V",
"name": "T-phase Backup Voltage"
},
{
"key": "TPBP",
"value": "9",
"unit": "W",
"name": "T-phase Backup Power"
},
{
"key": "AV1",
"value": "231.80",
"unit": "V",
"name": "AC Voltage R/U/A"
},
{
"key": "AV2",
"value": "232.30",
"unit": "V",
"name": "AC Voltage S/V/B"
},
{
"key": "AV3",
"value": "228.00",
"unit": "V",
"name": "AC Voltage T/W/C"
},
{
"key": "AC1",
"value": "0.82",
"unit": "A",
"name": "AC Current R/U/A"
},
{
"key": "AC2",
"value": "0.81",
"unit": "A",
"name": "AC Current S/V/B"
},
{
"key": "AC3",
"value": "0.80",
"unit": "A",
"name": "AC Current T/W/C"
},
{
"key": "A_Fo1",
"value": "49.98",
"unit": "Hz",
"name": "AC Output Frequency R"
},
{
"key": "A_Fo2",
"value": "49.97",
"unit": "Hz",
"name": "AC Output Frequency S"
},
{
"key": "A_Fo3",
"value": "49.97",
"unit": "Hz",
"name": "AC Output Frequency T"
},
{
"key": "AP1",
"value": "-71",
"unit": "W",
"name": "AC Power R/U/A"
},
{
"key": "AP2",
"value": "-75",
"unit": "W",
"name": "AC Power S/V/B"
},
{
"key": "AP3",
"value": "-72",
"unit": "W",
"name": "AC Power T/W/C"
},
{
"key": "Et_ge0",
"value": "5451.10",
"unit": "kWh",
"name": "Cumulative Production (Active)"
},
{
"key": "Etdy_ge1",
"value": "8.20",
"unit": "kWh",
"name": "Daily Production (Active)"
},
{
"key": "Emon1",
"value": "369",
"unit": "kWh",
"name": "Monthly Production (Active)"
},
{
"key": "Eyr1",
"value": "1185",
"unit": "kWh",
"name": "Yearly Production (Active)"
},
{
"key": "ST_PG1",
"value": "Purchasing energy",
"unit": null,
"name": "Grid Status"
},
{
"key": "PG_V1",
"value": "231.80",
"unit": "V",
"name": "Grid Voltage R/U/A"
},
{
"key": "PG_V2",
"value": "232.30",
"unit": "V",
"name": "Grid Voltage S/V/B"
},
{
"key": "PG_V3",
"value": "228.10",
"unit": "V",
"name": "Grid Voltage T/W/C"
},
{
"key": "PG_F1",
"value": "49.98",
"unit": "Hz",
"name": "Grid Frequency"
},
{
"key": "PG_Pt1",
"value": "-2036",
"unit": "W",
"name": "Total Grid Power"
},
{
"key": "t_gc1",
"value": "388.40",
"unit": "kWh",
"name": "Cumulative Grid Feed-in"
},
{
"key": "Et_pu1",
"value": "4128.20",
"unit": "kWh",
"name": "Cumulative Energy Purchased"
},
{
"key": "t_gc_tdy1",
"value": "0.00",
"unit": "kWh",
"name": "Daily Grid Feed-in"
},
{
"key": "Etdy_pu1",
"value": "36.0",
"unit": "kWh",
"name": "Daily Energy Purchased"
},
{
"key": "t_gc_tdy2",
"value": "4",
"unit": "kWh",
"name": "Monthly Grid Feed-in"
},
{
"key": "Etdy_pu2",
"value": "1395",
"unit": "kWh",
"name": "Monthly Energy Purchased"
},
{
"key": "t_gc_tdy3",
"value": "23",
"unit": "kWh",
"name": "Yearly Grid Feed-in"
},
{
"key": "Etdy_pu3",
"value": "2418",
"unit": "kWh",
"name": "Yearly Energy Purchased"
},
{
"key": "E_B_D",
"value": "0.00",
"unit": "kWh",
"name": "Daily Energy Buy"
},
{
"key": "GRID_C_D",
"value": "0.00",
"unit": "kWh",
"name": "Same Day Grid Connection"
},
{
"key": "RPMC",
"value": "3.93",
"unit": "A",
"name": "R-phase Meter Current"
},
{
"key": "SPMC",
"value": "1.74",
"unit": "A",
"name": "S-phase Meter Current"
},
{
"key": "TPMC",
"value": "5.20",
"unit": "A",
"name": "T-phase Meter Current"
},
{
"key": "RPMP",
"value": "-801",
"unit": "W",
"name": "R-phase Meter Power"
},
{
"key": "SMP",
"value": "-290",
"unit": "W",
"name": "S-phase Meter Power"
},
{
"key": "TMP",
"value": "-945",
"unit": "W",
"name": "T-phase Meter Power"
},
{
"key": "S_F1",
"value": "49.98",
"unit": "Hz",
"name": "S-phase grid frequency"
},
{
"key": "T_F1",
"value": "49.98",
"unit": "Hz",
"name": "T-phase grid frequency"
},
{
"key": "E_Puse_t1",
"value": "1825",
"unit": "W",
"name": "Total Consumption Power"
},
{
"key": "E_Puse1",
"value": "730",
"unit": "W",
"name": "Consumption Active Power R"
},
{
"key": "E_Puse2",
"value": "212",
"unit": "W",
"name": "Consumption Active Power S"
},
{
"key": "E_Puse3",
"value": "883",
"unit": "W",
"name": "Consumption Active Power T"
},
{
"key": "Et_use1",
"value": "8947.50",
"unit": "kWh",
"name": "Cumulative Consumption"
},
{
"key": "Etdy_use1",
"value": "27.10",
"unit": "kWh",
"name": "Daily Consumption"
},
{
"key": "Etdy_use2",
"value": "1724",
"unit": "kWh",
"name": "Monthly Consumption"
},
{
"key": "Etdy_use3",
"value": "3503",
"unit": "kWh",
"name": "Yearly Consumption"
},
{
"key": "B_ST1",
"value": "Charging",
"unit": null,
"name": "Battery Status"
},
{
"key": "BN_1",
"value": "LFP5.1K",
"unit": null,
"name": "Battery name"
},
{
"key": "B_V1",
"value": "56.51",
"unit": "V",
"name": "Battery Voltage"
},
{
"key": "B_C1",
"value": "-35.10",
"unit": "A",
"name": "Battery Current"
},
{
"key": "L_Vdcg1",
"value": "43.20",
"unit": "V",
"name": "Discharging Cut-off Voltage"
},
{
"key": "Ccg_max1",
"value": "36",
"unit": "A",
"name": "Max. Charging Current"
},
{
"key": "Cdcg_max1",
"value": "150",
"unit": "A",
"name": "Max. Discharging Current"
},
{
"key": "B_P1",
"value": "-1983",
"unit": "W",
"name": "Battery Power"
},
{
"key": "B_left_cap1",
"value": "99.00",
"unit": "%",
"name": "SoC"
},
{
"key": "t_cg_n1",
"value": "1651",
"unit": "kWh",
"name": "Total Charging Energy"
},
{
"key": "t_dcg_n1",
"value": "1533",
"unit": "kWh",
"name": "Total Discharging Energy"
},
{
"key": "Etdy_cg1",
"value": "17.10",
"unit": "kWh",
"name": "Daily Charging Energy"
},
{
"key": "Etdy_dcg1",
"value": "0.00",
"unit": "kWh",
"name": "Daily Discharging Energy"
},
{
"key": "D_C_E",
"value": "0.00",
"unit": "kWh",
"name": "Daily Charging Energy"
},
{
"key": "D_D_E",
"value": "0.00",
"unit": "kWh",
"name": "Daily Discharging Energy"
},
{
"key": "NBP",
"value": "3",
"unit": null,
"name": "Number Of Battery Packs"
},
{
"key": "BCCSV",
"value": "160",
"unit": "A",
"name": "Battery Charge Current Set Value"
},
{
"key": "BCV",
"value": "56.60",
"unit": "V",
"name": "Battery Charging Voltage"
},
{
"key": "BCPS",
"value": "100",
"unit": "%",
"name": "Battery Charge Power Scheduling (grid)"
},
{
"key": "BRC",
"value": "300",
"unit": "Ah",
"name": "Battery Rated Capacity"
},
{
"key": "BDPS",
"value": "80",
"unit": "%",
"name": "Battery Discharge Power Scheduling"
},
{
"key": "TCS",
"value": "Non-Timed Charging And Non-Timed Discharge",
"unit": null,
"name": "Timed Charge/discharge State"
},
{
"key": "FCDPE",
"value": "Invalid",
"unit": null,
"name": "Forced Charge And Discharge Power Enable"
},
{
"key": "BMS_D_O_D_E",
"value": "0",
"unit": null,
"name": "BMS Depth Of Discharge Enable"
},
{
"key": "O_G_D_O_D",
"value": "95",
"unit": "%",
"name": "Off-Grid Battery Depth Of Discharge"
},
{
"key": "M_C_M_SOC",
"value": "100",
"unit": "%",
"name": "Mains Charging Maximum SOC"
},
{
"key": "M_M_SOC_E",
"value": "1",
"unit": null,
"name": "Maintain Minimum SOC Enable"
},
{
"key": "PC1_MT",
"value": "32.00",
"unit": "℃",
"name": "Battery pack 1cell maximum temperature"
},
{
"key": "BAT_1_V",
"value": "56.36",
"unit": "V",
"name": "Battery pack 1 Voltage"
},
{
"key": "BAT_1_HS",
"value": "Heater OFF",
"unit": null,
"name": "Battery Pack 1 Heater Status"
},
{
"key": "P1ASB1",
"value": "",
"unit": null,
"name": "Pack1 Alarm State Battery 1"
},
{
"key": "P1PSB1",
"value": "",
"unit": null,
"name": "Pack1 Protect State Battery 1"
},
{
"key": "P1FSB1",
"value": "8,10,11,13",
"unit": null,
"name": "Pack1 Fault State Battery 1"
},
{
"key": "PC2_MT",
"value": "31.00",
"unit": "℃",
"name": "Battery pack 2 cell maximum temperature"
},
{
"key": "BAT_2_V",
"value": "56.27",
"unit": "V",
"name": "Battery pack 2 Voltage"
},
{
"key": "BAT_2_HS",
"value": "Heater OFF",
"unit": null,
"name": "Battery Pack 2 Heater Status"
},
{
"key": "P2ASB1",
"value": "",
"unit": null,
"name": "Pack1 Alarm State Battery 2"
},
{
"key": "P2PSB1",
"value": "",
"unit": null,
"name": "Pack1 Protect State Battery 2"
},
{
"key": "P2FSB1",
"value": "8,10,11,13",
"unit": null,
"name": "Pack1 Fault State Battery 2"
},
{
"key": "PC3_MT",
"value": "33.80",
"unit": "℃",
"name": "Battery pack 3 cell maximum temperature"
},
{
"key": "BAT_3_V",
"value": "56.42",
"unit": "V",
"name": "Battery pack 3 Voltage"
},
{
"key": "BAT_3_HS",
"value": "Heater OFF",
"unit": null,
"name": "Battery Pack 3 Heater Status"
},
{
"key": "P3ASB1",
"value": "",
"unit": null,
"name": "Pack1 Alarm State Battery 3"
},
{
"key": "P3PSB1",
"value": "",
"unit": null,
"name": "Pack1 Protect State Battery 3"
},
{
"key": "P3FSB1",
"value": "8,10,11,13",
"unit": null,
"name": "Pack1 Fault State Battery 3"
},
{
"key": "PC4_MT",
"value": "0.00",
"unit": "℃",
"name": "Battery pack 4 cell maximum temperature"
},
{
"key": "BAT_4_V",
"value": "0.00",
"unit": "V",
"name": "Battery pack 4 Voltage"
},
{
"key": "BAT_4_HS",
"value": "Heater OFF",
"unit": null,
"name": "Battery Pack 4 Heater Status"
},
{
"key": "P4ASB1",
"value": "",
"unit": null,
"name": "Pack1 Alarm State Battery 4"
},
{
"key": "P4PSB1",
"value": "",
"unit": null,
"name": "Pack1 Protect State Battery 4"
},
{
"key": "P4FSB1",
"value": "",
"unit": null,
"name": "Pack1 Fault State Battery 4"
},
{
"key": "PC5_MT",
"value": "0.00",
"unit": "℃",
"name": "Battery pack 5 cell maximum temperature"
},
{
"key": "BAT_5_V",
"value": "0.00",
"unit": "V",
"name": "Battery pack 5 Voltage"
},
{
"key": "BAT_5_HS",
"value": "Heater OFF",
"unit": null,
"name": "Battery Pack 5 Heater Status"
},
{
"key": "P5ASB1",
"value": "",
"unit": null,
"name": "Pack1 Alarm State Battery 5"
},
{
"key": "P5PSB1",
"value": "",
"unit": null,
"name": "Pack1 Protect State Battery 5"
},
{
"key": "P5FSB1",
"value": "",
"unit": null,
"name": "Pack1 Fault State Battery 5"
},
{
"key": "PC6_MT",
"value": "0.00",
"unit": "℃",
"name": "Battery pack 6 cell maximum temperature"
},
{
"key": "BAT_6_V",
"value": "0.00",
"unit": "V",
"name": "Battery pack 6 Voltage"
},
{
"key": "BAT_6_HS",
"value": "Heater OFF",
"unit": null,
"name": "Battery Pack 6 Heater Status"
},
{
"key": "P6ASB1",
"value": "",
"unit": null,
"name": "Pack1 Alarm State Battery 6"
},
{
"key": "P6PSB1",
"value": "",
"unit": null,
"name": "Pack1 Protect State Battery 6"
},
{
"key": "P6FSB1",
"value": "",
"unit": null,
"name": "Pack1 Fault State Battery 6"
},
{
"key": "P7ASB1",
"value": "",
"unit": null,
"name": "Pack1 Alarm State Battery 7"
},
{
"key": "P7PSB1",
"value": "",
"unit": null,
"name": "Pack1 Protect State Battery 7"
},
{
"key": "P7FSB1",
"value": "",
"unit": null,
"name": "Pack1 Fault State Battery 7"
},
{
"key": "PC7_MT",
"value": "0.00",
"unit": "℃",
"name": "Battery pack 7 cell maximum temperature"
},
{
"key": "BAT_7_V",
"value": "0.00",
"unit": "V",
"name": "Battery pack 7 Voltage"
},
{
"key": "BAT_7_HS",
"value": "Heater OFF",
"unit": null,
"name": "Battery Pack 7 Heater Status"
},
{
"key": "P8ASB1",
"value": "",
"unit": null,
"name": "Pack1 Alarm State Battery 8"
},
{
"key": "P8PSB1",
"value": "",
"unit": null,
"name": "Pack1 Protect State Battery 8"
},
{
"key": "P8FSB1",
"value": "",
"unit": null,
"name": "Pack1 Fault State Battery 8"
},
{
"key": "PC8_MT",
"value": "0.00",
"unit": "℃",
"name": "Battery pack 8 cell maximum temperature"
},
{
"key": "BAT_8_V",
"value": "0.00",
"unit": "V",
"name": "Battery pack 8 Voltage"
},
{
"key": "BAT_8_HS",
"value": "Heater OFF",
"unit": null,
"name": "Battery Pack 8 Heater Status"
},
{
"key": "B_T1",
"value": "31.90",
"unit": "℃",
"name": "Temperature- Battery"
},
{
"key": "RT_I",
"value": "56.30",
"unit": "℃",
"name": "Inverter radiator temperature"
},
{
"key": "RT_B",
"value": "54.40",
"unit": "℃",
"name": "Battery radiator temperature"
},
{
"key": "CIT",
"value": "58.40",
"unit": "℃",
"name": "Chassis Internal Temperature"
},
{
"key": "T_PV",
"value": "55.40",
"unit": "℃",
"name": "PV Temperature"
},
{
"key": "T_LLC",
"value": "54.10",
"unit": "℃",
"name": "LLC Temperature"
},
{
"key": "WEEK",
"value": "3",
"unit": null,
"name": "Week"
},
{
"key": "NUM_gird_conn1",
"value": "796",
"unit": null,
"name": "Grid-tied Times"
},
{
"key": "DCBUS",
"value": "675.80",
"unit": "V",
"name": "Dcbus Voltage"
},
{
"key": "PD",
"value": "60",
"unit": "S",
"name": "Power On Delay"
},
{
"key": "Bus_V1",
"value": "735.40",
"unit": "V",
"name": "Bus Voltage"
},
{
"key": "INV_ST1",
"value": "Grid connected",
"unit": null,
"name": "Inverter status"
},
{
"key": "RSS",
"value": "Normal",
"unit": null,
"name": "Remote Shutdown Status"
},
{
"key": "SS1",
"value": "Hybrid Grid Connection",
"unit": null,
"name": "System Status"
},
{
"key": "SAS",
"value": "Self-consumption",
"unit": null,
"name": "System Application Scenario"
},
{
"key": "DS",
"value": "Discharge Mode",
"unit": null,
"name": "Dcdc Status"
},
{
"key": "N_S_1",
"value": "1",
"unit": null,
"name": "Network Status 1"
},
{
"key": "N_S_2",
"value": "1",
"unit": null,
"name": "Network Status 2"
},
{
"key": "N_S_3",
"value": "1",
"unit": null,
"name": "Network Status 3"
},
{
"key": "N_S_4",
"value": "0",
"unit": null,
"name": "Network Status 4"
},
{
"key": "N_S_5",
"value": "0",
"unit": null,
"name": "Network Status 5"
},
{
"key": "N_S_6",
"value": "0",
"unit": null,
"name": "Network Status 6"
},
{
"key": "N_S_7",
"value": "0",
"unit": null,
"name": "Network Status 7"
},
{
"key": "N_S_8",
"value": "0",
"unit": null,
"name": "Network Status 8"
},
{
"key": "DSP_ERR2",
"value": "",
"unit": null,
"name": "DSP Alarm Codes"
},
{
"key": "ARM_ERR2",
"value": "",
"unit": null,
"name": "ARM Alarm Code"
},
{
"key": "DSP_ERR3",
"value": "",
"unit": null,
"name": "DSP Error Codes"
},
{
"key": "SV_F",
"value": "1.00",
"unit": null,
"name": "Function Setting Values"
},
{
"key": "SV_A",
"value": "100",
"unit": "%",
"name": "Active Setting Values"
},
{
"key": "SV_R",
"value": "0",
"unit": "%",
"name": "Reactive Setting Values"
},
{
"key": "RCM",
"value": "According To Power Factor Control",
"unit": null,
"name": "Reactive Control Method"
},
{
"key": "WBE",
"value": "Enable",
"unit": null,
"name": "Wake-up Bms Enable"
},
{
"key": "WTS",
"value": "60",
"unit": "min",
"name": "Wake-up Time Setting"
},
{
"key": "B_D_cap1",
"value": "80",
"unit": "%",
"name": "Battery Discharge Capacity Depth"
}
]
}
and I need some of the values in the datalist arry. best would be to find them with the key, so I would be independant of a future reordering of the list. for now I am looking up with index ( 46, 91 and 92)