UNPKG

node-red-contrib-smartnode-seeed

Version:

this project dependences the node-red-contrib-smartnode package for basic function. based on the smartnode package, this package provide some sersor nodes for Seeed sensors.

49 lines (35 loc) 1.44 kB
<!-- Copyright 2015 Maker Collider Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <script type="text/x-red" data-help-name="Seeed-TemperatureHumidity"> <h3 id="温湿度传感节点">温湿度传感节点</h3> <p>本节点是一个用于采集温湿度信息的节点</p> <h4 id="参数配置">参数配置</h4> <ol> <li>Name:节点名称</li> <li>Interval:定时器触发时间间隔</li> </ol> <h4 id="输入量">输入量</h4> <ol> <li>msg.payload:开关量</li> </ol> <h4 id="输出量">输出量</h4> <ol> <li>msg.payload:温度信息</li> <li>msg1.payload:湿度信息</li> </ol> <h4 id="使用方法">使用方法</h4> <ol> <li>配置好节点的每个参数。</li> <li>使用时,当输入<code>msg.payload</code>为1时。表示打开温湿度传感节点,节点会每个<code>Interval</code>时间间隔输出温湿度信息;否则,关闭温湿度传感节点,停止输出。</li> </ol> </script>