Get basic information of energy storage machine
<p><strong>A brief description:</strong> </p>
<p>-Get basic information interface of energy storage machine
-<code>Only applicable to devices with device type 2 returned in the 3.3 interface.</code></p>
<p><strong>Request URL:</strong>
-<code>http(s)://test.growatt.com/v1/device/storage/storage_data_info</code></p>
<p><strong>How to request:</strong>
-get</p>
<p><strong>Parameter:</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">Parameter name</th>
<th style="text-align: left;">Is it required</th>
<th style="text-align: left;">Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">device_sn</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">int</td>
<td>energy storage machine SN</td>
</tr>
</tbody>
</table>
<p><strong>Return example</strong></p>
<pre><code>{
"device_sn": "JZB674901B",
"dataloggerSn": "IUB38210F9",
"data": {
"utiOutStart": 0,
"outputVoltType": 0,
"fwVersion": "FA1.0",
"overLoadRestart": 0,
"bLightEn": 0,
"utiOutEnd": 0,
"location": "",
"treeID": "ST_JZB674901B",
"addr": 1,
"pvModel": 0,
"plantname": "",
"level": 4,
"bulkChargeVolt": 0,
"imgPath": "./css/img/status_yellow.gif",
"userName": "",
"pDischarge": 0,
"serialNum": "JZB674901B",
"portName": "",
"acInModel": 0,
"batLowToUtiVolt": 0,
"modelText": "A0B0D1T2P3U0M0S0",
"overTempRestart": 0,
"status": 0,
"sysTime": "",
"statusLed3": true,
"uwBatType2": 0,
"statusLed4": false,
"record": null,
"statusLed1": false,
"statusLed2": true,
"statusLed5": false,
"plantId": 0,
"statusLed6": true,
"communicationVersion": "",
"chargeConfig": 0,
"model": 1191936,
"treeName": "2",
"lost": false,
"lastUpdateTime": {
"time": 1547447757000,
"minutes": 35,
"seconds": 57,
"hours": 14,
"month": 0,
"year": 119,
"timezoneOffset": -480,
"day": 1,
"date": 14
},
"children": [],
"statusText": "storage.status.operating",
"updating": false,
"outputFreqType": 0,
"rateVA": 0,
"deviceType": 1,
"manualStartEn": 0,
"innerVersion": "fbaa1816",
"dataLogSn": "IUB38210F9",
"utiChargeEnd": 0,
"alias": "2",
"batteryType": 0,
"maxChargeCurr": 0,
"floatChargeVolt": 0,
"utiChargeStart": 0,
"tcpServerIp": "47.254.154.60",
"buzzerEN": 0,
"lastUpdateTimeText": "2019-01-14 14:35:57",
"groupId": -1,
"outputConfig": 0,
"pCharge": 0,
"parentID": "LIST_IUB38210F9_96",
"powSavingEn": 0,
"rateWatt": 0,
"sciLossChkEn": 0
},
"error_code": 0,
"error_msg": ""
}</code></pre>
<p><strong>Return parameter description</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">Parameter name</th>
<th style="text-align: left;">Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">device_sn</td>
<td style="text-align: left;">int</td>
<td>Device SN</td>
</tr>
<tr>
<td style="text-align: left;">serialNum</td>
<td style="text-align: left;">string</td>
<td>Device SN</td>
</tr>
<tr>
<td style="text-align: left;">dataloggerSn</td>
<td style="text-align: left;">string</td>
<td>The collector SN of the energy storage machine</td>
</tr>
<tr>
<td style="text-align: left;">lost</td>
<td style="text-align: left;">string</td>
<td>whether the device is online or not (0: online, 1: disconnected)</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">int</td>
<td>Device status, status(0: disconnect, 1: online, 2: charge, 3: discharge, 4: error, 5: burn, 6: solar charge, 7: mains charge, 8: combined Charging (solar and mains), 9: combined charging and bypass (mains) output, 10: PV charging and bypass (mains) output, 11: mains charging and bypass (mains) output, 12 : Bypass (mains) output, 13: Solar charge and discharge at the same time, 14: Mains charge and discharge at the same time) (Shangke: 1: No output, 2: Reserve, 3: Discharge, 4: Error, 5 : Burning, 6: Solar charging, 7: Mains charging, 8: Combined charging (solar and mains charging together), 9: Combined charging and bypass (mains) output, 10: PV charging and bypass (city Electricity) output, 11: Mains charging and bypass (mains) output, 12: Bypass (mains) output, 13: Solar charge and discharge at the same time)</td>
</tr>
<tr>
<td style="text-align: left;">alias</td>
<td style="text-align: left;">int</td>
<td>alias</td>
</tr>
<tr>
<td style="text-align: left;">location</td>
<td style="text-align: left;">string</td>
<td>Address</td>
</tr>
<tr>
<td style="text-align: left;">dataLogSn</td>
<td style="text-align: left;">string</td>
<td>The serial number of the collector</td>
</tr>
<tr>
<td style="text-align: left;">pCharge</td>
<td style="text-align: left;">string</td>
<td>Charging power</td>
</tr>
<tr>
<td style="text-align: left;">pDischarge</td>
<td style="text-align: left;">string</td>
<td>Discharge power</td>
</tr>
<tr>
<td style="text-align: left;">lastUpdateTime</td>
<td style="text-align: left;">string</td>
<td>Last update time</td>
</tr>
<tr>
<td style="text-align: left;">tcpServerIp</td>
<td style="text-align: left;">string</td>
<td>Server address</td>
</tr>
<tr>
<td style="text-align: left;">fwVersion</td>
<td style="text-align: left;">string</td>
<td>Energy storage device firmware version</td>
</tr>
<tr>
<td style="text-align: left;">innerVersion</td>
<td style="text-align: left;">string</td>
<td>Software version</td>
</tr>
<tr>
<td style="text-align: left;">error_code</td>
<td style="text-align: left;">string</td>
<td>0: normal return, 10001: system error</td>
</tr>
<tr>
<td style="text-align: left;">error_msg</td>
<td style="text-align: left;">string</td>
<td>Error message prompt</td>
</tr>
</tbody>
</table>
<p><strong>Remarks</strong></p>
<p>-The frequency of acquisition is once every 10 seconds</p>