4G液位传感器锁控
<p>modeid : 2018
serviceid:20180101
固件基于:4G锁控板V2固件
版本类型:4G_LOCK_V2
液位传感器节点号:0
液位传感器波特率:9600</p>
<p><strong>上报参数</strong></p>
<table>
<thead>
<tr>
<th>参数</th>
<th>值类型</th>
<th>取值</th>
<th>备注</th>
</tr>
</thead>
<tbody>
<tr>
<td>"55"</td>
<td>string</td>
<td>"1", "0"</td>
<td>是否报警,1是,0否</td>
</tr>
<tr>
<td>"56"</td>
<td>number</td>
<td>123</td>
<td>液位值,单位mm</td>
</tr>
</tbody>
</table>
<p><strong>注意:</strong>
1、液位固件"YEWEIMAX"初始值== 0,即未启动,修改"YEWEIMAX"参数>0,则启动液位检测,配置启动后需重启生效;
2、配置"YEWEIMAX" = 0,则立刻关闭液位检测;
3、启动过程中修改"YEWEIMAX"立即生效;</p>
<h2>《看清楚注意事项!》</h2>
<p><strong>通信报文:</strong></p>
<pre><code class="language-json">//1.设置液位预警值,单位mm
/xm/sh/request/mqtt/1510100110132929/2018/v2
{&quot;header&quot;:{&quot;timeStamp&quot;:&quot;&quot;},&quot;payload&quot;:{&quot;devices&quot;:[{&quot;action&quot;:&quot;writeconfig&quot;,&quot;params&quot;:{&quot;YEWEIMAX&quot;:100}}]}}
//2、液位报警触发
/xm/sh/response/mqtt/1510100110132929/2018/v2
{&quot;header&quot;:{&quot;timeStamp&quot;:&quot;1735894284&quot;},&quot;payload&quot;:{&quot;devices&quot;:[{&quot;nodeid&quot;:&quot;000&quot;,&quot;action&quot;:&quot;alarm&quot;,&quot;params&quot;:{&quot;55&quot;:&quot;1&quot;,&quot;56&quot;:177}}]}}
//3、液位报警恢复触发(回差5mm)
/xm/sh/response/mqtt/1510100110132929/2018/v2
{&quot;header&quot;:{&quot;timeStamp&quot;:&quot;1735894275&quot;},&quot;payload&quot;:{&quot;devices&quot;:[{&quot;nodeid&quot;:&quot;000&quot;,&quot;action&quot;:&quot;alarm&quot;,&quot;params&quot;:{&quot;55&quot;:&quot;0&quot; ,&quot;56&quot;:72}}]}}
//4、定时同步消息(默认600秒,可调)
/xm/sh/response/mqtt/1510100110132929/2018/v2
{&quot;header&quot;:{&quot;timeStamp&quot;:&quot;1735894771&quot;},&quot;payload&quot;:{&quot;devices&quot;:[{&quot;nodeid&quot;:&quot;000&quot;,&quot;action&quot;:&quot;sync&quot;,&quot;serviceid&quot;:&quot;20180101&quot;,&quot;params&quot;:{&quot;15&quot;:&quot;22&quot;,&quot;20&quot;:&quot;0&quot;,&quot;55&quot;:&quot;1&quot;,&quot;56&quot;:175}}]}}
</code></pre>