node-red-contrib-ycznwl-knx-gateway 2.2.2 → 2.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,16 +25,20 @@
25
25
  <label for="node-input-threshold"><i class="fa fa-filter"></i> 变化阈值</label>
26
26
  <input type="text" id="node-input-threshold" placeholder="温度:0.3,湿度:2 留空每次变化都上报">
27
27
  </div>
28
- <div class="form-row" style="margin-bottom:10px;color:#666;font-size:12px;line-height:1.6">
29
- <i class="fa fa-info-circle"></i> 定时轮询设备状态,有变化时输出。输出包含中文备注。<br>
30
- <b>变化阈值说明</b> — 用中文写参数名,冒号后写最小变化量。<br>
31
- 只有变化<b>达到阈值</b>才上报,避免微小波动频繁刷屏。<br>
32
- <code>温度:0.3,湿度:2</code>
33
- = 温度变化 ≥ 0.3°C 或 湿度变化 ≥ 2% 才上报。<br>
34
- <code>温度:0.5</code>
35
- = 温度变化 0.5°C 才上报,湿度有变化就报。<br>
36
- <code>人:有,人:无</code> 布尔型(有/无 开/关 打开/关闭)变化即报。<br>
37
- <b>留空</b> = 任何值变化都上报。
28
+ <div class="form-row" style="margin-bottom:10px;color:#666;font-size:12px;line-height:1.8">
29
+ <i class="fa fa-info-circle"></i> 只有变化<b>超过设定值</b>才输出,防止微小波动刷屏。<b>留空</b> = 任何变化都报。<br>
30
+ <b>格式:中文名:数字</b>,多个用<b>英文逗号</b>隔开。<br>
31
+ <br>
32
+ <b>常用参数对照:</b><br>
33
+ <table style="width:100%;border-collapse:collapse;margin-top:4px">
34
+ <tr><td style="padding:2px 8px 2px 0"><code>温度:0.3</code></td><td>温度变化超过 0.3°C</td><td style="padding-left:12px"><code>湿度:2</code></td><td>湿度变化超过 2%</td></tr>
35
+ <tr><td><code>亮度:5</code></td><td>亮度变化超过 5%</td><td style="padding-left:12px"><code>色温:100</code></td><td>色温变化超过 100K</td></tr>
36
+ <tr><td><code>人在:有</code></td><td>有人时上报</td><td style="padding-left:12px"><code>人在:无</code></td><td>无人时上报</td></tr>
37
+ <tr><td><code>开关:开</code></td><td>打开时上报</td><td style="padding-left:12px"><code>开关:关</code></td><td>关闭时上报</td></tr>
38
+ <tr><td><code>门:打开</code></td><td>门开时上报</td><td style="padding-left:12px"><code>门:关闭</code></td><td>门关时上报</td></tr>
39
+ </table>
40
+ <br>
41
+ <b>例子:</b><code>温度:0.5,湿度:3</code> → 温度超过 0.5°C <b>或者</b> 湿度超过 3% 才输出。
38
42
  </div>
39
43
  <hr>
40
44
  <div class="form-row">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-ycznwl-knx-gateway",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "Node-RED nodes for YCZNWL KNX Gateway — scenes, lights, curtains, AC, thermostat, sensors",
5
5
  "license": "MIT",
6
6
  "author": {