ShineServer_English version


Get Pcs basic information

<p><strong>A brief description:</strong> </p> <p>-Interface to get basic information of pcs -<code>Only applicable to devices whose device type is 8 returned in the 3.3 interface.</code></p> <p><strong>Request URL:</strong> -<code>http(s)://test.growatt.com/v1/device/pcs/pcs_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;">String</td> <td>pcs device SN</td> </tr> </tbody> </table> <p><strong>Return example</strong> { &quot;device_sn&quot;: &quot;PCS000001&quot;, &quot;dataloggerSn&quot;: &quot;MONITOR002&quot;, &quot;data&quot;: { &quot;model&quot;: 0, &quot;fwVersion&quot;: &quot;AB02&quot;, &quot;treeName&quot;: &quot;PCS000001&quot;, &quot;lost&quot;: false, &quot;peakClippingTotal&quot;: 0, &quot;disChargeDayMap&quot;: {}, &quot;location&quot;: &quot;&quot;, &quot;treeID&quot;: &quot;PCS000001&quot;, &quot;lastUpdateTime&quot;: { &quot;time&quot;: 1595838374000, &quot;minutes&quot;: 26, &quot;seconds&quot;: 14, &quot;hours&quot;: 16, &quot;month&quot;: 6, &quot;year&quot;: 120, &quot;timezoneOffset&quot;: -480, &quot;day&quot;: 1, &quot;date&quot;: 27 }, &quot;eDischargeToday&quot;: 0, &quot;children&quot;: [], &quot;statusText&quot;: &quot;pcs.status.normal&quot;, &quot;addr&quot;: 9, &quot;energyMonthText&quot;: &quot;0&quot;, &quot;updating&quot;: false, &quot;chargeMonth&quot;: 0, &quot;normalPower&quot;: 500000, &quot;timezone&quot;: 8, &quot;plantname&quot;: &quot;&quot;, &quot;level&quot;: 6, &quot;imgPath&quot;: &quot;./css/img/status_gray.gif&quot;, &quot;eDischargeTotal&quot;: 0, &quot;userName&quot;: &quot;&quot;, &quot;dischargeMonthText&quot;: &quot;0&quot;, &quot;serialNum&quot;: &quot;PCS000001&quot;, &quot;dataLogSn&quot;: &quot;MONITOR002&quot;, &quot;innerVersion&quot;: &quot;2017&quot;, &quot;portName&quot;: &quot;ShinePano-MONITOR002&quot;, &quot;energyMonth&quot;: 0, &quot;modelText&quot;: &quot;A0B0D0T0P0U0M0S0&quot;, &quot;energyDayMap&quot;: {}, &quot;chargeMonthText&quot;: &quot;0&quot;, &quot;status&quot;: 2, &quot;dischargeMonth&quot;: 0, &quot;alias&quot;: &quot;PCS000001&quot;, &quot;chargeDayMap&quot;: {}, &quot;peakClipping&quot;: 0, &quot;tcpServerIp&quot;: &quot;47.107.154.111&quot;, &quot;record&quot;: null, &quot;groupId&quot;: -1, &quot;lastUpdateTimeText&quot;: &quot;2020-07-27 16:26:14&quot;, &quot;parentID&quot;: &quot;LIST_MONITOR002_3&quot;, &quot;plantId&quot;: 0, &quot;disChargeMonth&quot;: 0, &quot;eChargeToday&quot;: 0 }, &quot;error_code&quot;: 0, &quot;error_msg&quot;: &quot;&quot; }</p> <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 inverter</td> </tr> <tr> <td style="text-align: left;">lost</td> <td style="text-align: left;">string</td> <td>The online status of the device (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 disconnected, 1: online, 2: standby, 3; failure, all others are offline)</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;">nominalPower</td> <td style="text-align: left;">string</td> <td>nominal power</td> </tr> <tr> <td style="text-align: left;">power</td> <td style="text-align: left;">string</td> <td>Current power</td> </tr> <tr> <td style="text-align: left;">eToday</td> <td style="text-align: left;">string</td> <td>Today's power generation</td> </tr> <tr> <td style="text-align: left;">eTotal</td> <td style="text-align: left;">string</td> <td>Total power generation</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>Inverter 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> -The frequency of acquisition is once every 5 minutes</p>

页面列表

ITEM_HTML