Max parameter setting
<p><strong>A brief description:</strong> </p>
<p>-Max parameter setting interface
-<code>Only applicable to the device type 4 returned in the 3.3 interface.</code></p>
<p><strong>Request URL:</strong>
-<code>http(s)://test.growatt.com/v1/maxSet</code></p>
<p><strong>How to request:</strong>
-post</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;">max_sn</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>max SN</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>parameter type Id</td>
</tr>
<tr>
<td style="text-align: left;">param1</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 1, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param2</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 2, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param3</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 3, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param4</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 4, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param5</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 5, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param6</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 6, if there is a value, you need to pass a value, if there is no value, pass an empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param7</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 7, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param8</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>The parameter value is 8, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param9</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 9, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param10</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 10, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param11</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 11, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param12</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 12, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param13</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>The parameter value is 13, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param14</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 14, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param15</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>The parameter value is 15, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param16</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>The parameter value is 16, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param17</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 17, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param18</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>The parameter value is 18, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
<tr>
<td style="text-align: left;">param19</td>
<td style="text-align: left;">Yes</td>
<td style="text-align: left;">String</td>
<td>Parameter value 19, if there is a value, you need to pass the value, if there is no value, pass the empty string ""</td>
</tr>
</tbody>
</table>
<p><strong>Return example</strong></p>
<pre><code>{
&quot;data&quot;: &quot;&quot;,
&quot;error_code&quot;: 0,
&quot;error_msg&quot;: &quot;Set Successful Max return&quot;
}</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;">error_code</td>
<td style="text-align: left;">string</td>
<td>0: normal return, 10001: system error, 10002: Max server error, 10003: Max does not exist, 10004: Max is offline, 10005: collector is offline, 10006: setting parameter type does not exist, 10007: The parameter value is empty, 10008: the parameter value is not within the range, 10009: the date and time format is wrong</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>Basic Settings</strong></p>
<table>
<thead>
<tr>
<th style="text-align: left;">Parameter name</th>
<th style="text-align: left;">Set switch machine</th>
<th style="text-align: left;">Set PF value</th>
<th>Setting the active power</th>
<th>Parameter description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">max_cmd_on_off</td>
<td style="text-align: left;">pv_power_factor</td>
<td>pv_active_p_rate</td>
<td>Inside the brackets is the parameter description, outside the brackets is the parameter list or parameter range</td>
</tr>
<tr>
<td style="text-align: left;">param1</td>
<td style="text-align: left;">0000 (off), 0001 (on)</td>
<td style="text-align: left;">-0.8 ~ -1/0.8 ~ 1</td>
<td>0~100(%)</td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param2</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td>0 (no memory), 1 (memory)</td>
</tr>
<tr>
<td style="text-align: left;">param3</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param4</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param5</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param6</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param7</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param8</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param9</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param10</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param11</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param12</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param13</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param14</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param15</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param16</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param17</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param18</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
<tr>
<td style="text-align: left;">param19</td>
<td style="text-align: left;"></td>
<td style="text-align: left;"></td>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Remarks</strong></p>