node-red-contrib-smartnode
Version:
this project is a nodejs package for making the nodered support the Smart Device development. the pacakge require node-red enviroment.
72 lines (50 loc) • 2.28 kB
HTML
<!--
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="wechat in">
<h3 id="收微信节点">收微信节点</h3>
<p>本节点可以接受微信用户发送给创客大爆炸公众号的消息。</p>
<h4 id="参数配置">参数配置</h4>
<ol>
<li>Account ID:账号ID</li>
</ol>
<h4 id="输入量">输入量</h4>
<h4 id="输出量">输出量</h4>
<ol>
<li>msg.payload:字符串消息</li>
</ol>
<h4 id="使用方法">使用方法</h4>
<ol>
<li><code>关注创客大爆炸服务平台</code>在微信公众号中搜索“创客大爆炸服务平台”或微信号“gh_b83a92b96308”</li>
<li><code>获得Account ID</code>关注后即可获得用户Account ID;或者关注后回复“smartnode”可再次获得用户Account ID。</li>
<li><code>设置Account ID</code>在本节点中配置Account ID,即可接收微信用户发送给公众号的消息。</li>
</ol>
</script>
<script type="text/x-red" data-help-name="wechat out">
<h3 id="发微信节点">发微信节点</h3>
<p>本节点可以发送消息给微信用户。</p>
<h4 id="参数配置">参数配置</h4>
<ol>
<li>Account ID:账号ID</li>
</ol>
<h4 id="输入量">输入量</h4>
<h4 id="输出量">输出量</h4>
<ol>
<li>msg.payload:字符串消息</li>
</ol>
<h4 id="使用方法">使用方法</h4>
<ol>
<li><code>关注创客大爆炸服务平台</code>在微信公众号中搜索“创客大爆炸服务平台”或微信号“gh_b83a92b96308”</li>
<li><code>获得Account ID</code>关注后即可获得用户Account ID;或者关注后回复“smartnode”可再次获得用户Account ID。</li>
<li><code>设置Account ID</code>在本节点中配置Account ID,即可发送消息给微信用户。</li>
</ol>
</script>