2、获取设备的状态信息
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://10.27.204.40/Purifier/getMacStatus</code></li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">macno</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>设备号</td>
</tr>
<tr>
<td style="text-align: left;">sign</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>签名 md5('dlc')</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: &quot;1&quot;,
&quot;msg&quot;: &quot;发送成功&quot;,
&quot;data&quot;:{
&quot;macno&quot;: &quot;8&quot;, //表示设备号
&quot;status&quot;: &quot;1&quot;, //开/关机状态:1开,2关
&quot;model&quot;: &quot;1&quot;, //模式:1自动,2手动
&quot;wind_speed&quot;: &quot;0&quot;, //风速状态:1-8
&quot;anion&quot;: &quot;1&quot;, //负离子:1开,2关
&quot;ultraviolet&quot;: &quot;1&quot;, //紫外:1开,2关
&quot;childer_lock&quot;: &quot;1&quot;, // 童锁:1开,2关
&quot;night_status&quot;: &quot;0&quot;, //夜间:1开,2关
&quot;mute_status&quot;: &quot;0&quot;, //静音:1开,2关
&quot;times_status&quot;: &quot;0&quot;, //定时:0关,1~8个档位开
&quot;pm&quot;: &quot;0&quot;, //pm
&quot;odor&quot;: &quot;0&quot;, // 异味污染
&quot;indoor_temp&quot;: &quot;0&quot;, // 室内温度
&quot;indoor_humidity&quot;: &quot;0&quot;, // 室内湿度
&quot;hepa&quot;: &quot;0&quot;, // HEPA
}
}</code></pre>