http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&feed=atom&action=history
Noduino OpenPlug CN - 版本历史
2024-03-28T17:11:42Z
本wiki的该页面的版本历史
MediaWiki 1.19.2
http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&diff=9600&oldid=prev
Comcat:/* Hacking */
2018-04-23T12:22:43Z
<p><span dir="auto"><span class="autocomment">Hacking</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2018年4月23日 (一) 12:22的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第511行:</td>
<td colspan="2" class="diff-lineno">第511行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang=bash></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang=bash></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>$ git clone --recursive git://github.com/<del class="diffchange diffchange-inline">icamgo</del>/noduino-sdk.git noduino-sdk</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>$ git clone --recursive git://github.com/<ins class="diffchange diffchange-inline">noduino</ins>/noduino-sdk.git noduino-sdk</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div></source></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>
Comcat
http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&diff=8305&oldid=prev
Comcat:/* python */
2017-05-04T11:33:40Z
<p><span dir="auto"><span class="autocomment">python</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2017年5月4日 (四) 11:33的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第263行:</td>
<td colspan="2" class="diff-lineno">第263行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     sys.exit(-2)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     sys.exit(-2)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>url = 'http://<del class="diffchange diffchange-inline">apiiot</del>.<del class="diffchange diffchange-inline">mjyun</del>.<del class="diffchange diffchange-inline">com</del>/<del class="diffchange diffchange-inline">vendor</del>/<del class="diffchange diffchange-inline">user_login</del>'</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>url = 'http://<ins class="diffchange diffchange-inline">api</ins>.<ins class="diffchange diffchange-inline">noduino</ins>.<ins class="diffchange diffchange-inline">org</ins>/<ins class="diffchange diffchange-inline">user</ins>/<ins class="diffchange diffchange-inline">token</ins>'</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>dat = dict (</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>dat = dict (</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         user_id = mqtt_uname,</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>         user_id = mqtt_uname,</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">        app_id = 'mj2030064278',</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">        app_key = '0077d4829f52b1b2d668f8a82c5f5ded'</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">第283行:</td>
<td colspan="2" class="diff-lineno">第281行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>mqtt_tx_topic = 'app2dev/' + devid</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>mqtt_tx_topic = 'app2dev/' + devid</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>mqtt_host = '<del class="diffchange diffchange-inline">101</del>.<del class="diffchange diffchange-inline">200</del>.<del class="diffchange diffchange-inline">241.60</del>'</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>mqtt_host = '<ins class="diffchange diffchange-inline">mqtt</ins>.<ins class="diffchange diffchange-inline">noduino</ins>.<ins class="diffchange diffchange-inline">org</ins>'</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>mqtt_port = 1883</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>mqtt_port = 1883</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>mqtt_msg = set_state</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>mqtt_msg = set_state</div></td></tr>
</table>
Comcat
http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&diff=8304&oldid=prev
Comcat:/* node.js */
2017-05-04T11:33:17Z
<p><span dir="auto"><span class="autocomment">node.js</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2017年5月4日 (四) 11:33的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第123行:</td>
<td colspan="2" class="diff-lineno">第123行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>var http_req = require('/usr/local/lib/node_modules/request');</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>var http_req = require('/usr/local/lib/node_modules/request');</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>http_req.post(</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>http_req.post(</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> 'http://<del class="diffchange diffchange-inline">apiiot</del>.<del class="diffchange diffchange-inline">mjyun</del>.<del class="diffchange diffchange-inline">com</del>/<del class="diffchange diffchange-inline">vendor</del>/<del class="diffchange diffchange-inline">user_login</del>',</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> 'http://<ins class="diffchange diffchange-inline">api</ins>.<ins class="diffchange diffchange-inline">noduino</ins>.<ins class="diffchange diffchange-inline">org</ins>/<ins class="diffchange diffchange-inline">user</ins>/<ins class="diffchange diffchange-inline">token</ins>',</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> { json: {user_id: opt.username<del class="diffchange diffchange-inline">, app_id:"mj2030064278", app_key:"0077d4829f52b1b2d668f8a82c5f5ded"</del>} },</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> { json: {user_id: opt.username} },</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> function (error, response, body) {</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> function (error, response, body) {</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> if (!error && response.statusCode == 200) {</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> if (!error && response.statusCode == 200) {</div></td></tr>
<tr><td colspan="2" class="diff-lineno">第133行:</td>
<td colspan="2" class="diff-lineno">第133行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> var MQTTClient = require('/usr/local/lib/node_modules/MQTTClient').Client;</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> var MQTTClient = require('/usr/local/lib/node_modules/MQTTClient').Client;</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> var client = new MQTTClient('<del class="diffchange diffchange-inline">101</del>.<del class="diffchange diffchange-inline">200</del>.<del class="diffchange diffchange-inline">241.60</del>', 1883, opt);</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> var client = new MQTTClient('<ins class="diffchange diffchange-inline">mqtt</ins>.<ins class="diffchange diffchange-inline">noduino</ins>.<ins class="diffchange diffchange-inline">org</ins>', 1883, opt);</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> client.connect(function () {</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> client.connect(function () {</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> console.log("connect ok!");</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div> console.log("connect ok!");</div></td></tr>
</table>
Comcat
http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&diff=8071&oldid=prev
Comcat:/* Turn off */
2017-03-13T03:41:09Z
<p><span dir="auto"><span class="autocomment">Turn off</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2017年3月13日 (一) 03:41的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第230行:</td>
<td colspan="2" class="diff-lineno">第230行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Turn off ====</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Turn off ====</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* replace the mqtt_uname in line 10</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* replace the devid in line 11</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang=python></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang=python></div></td></tr>
</table>
Comcat
http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&diff=8070&oldid=prev
Comcat:/* Turn off */
2017-03-13T03:40:39Z
<p><span dir="auto"><span class="autocomment">Turn off</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2017年3月13日 (一) 03:40的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第89行:</td>
<td colspan="2" class="diff-lineno">第89行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Turn off the plug throught node.js:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Turn off the plug throught node.js:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>replace the <del class="diffchange diffchange-inline">YOUR_DEVICE_ID </del>in line <del class="diffchange diffchange-inline">39</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* </ins>replace the <ins class="diffchange diffchange-inline">mqtt_uname </ins>in line <ins class="diffchange diffchange-inline">6</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* replace the devid in line 7</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang=javascript></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><source lang=javascript></div></td></tr>
</table>
Comcat
http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&diff=8044&oldid=prev
Comcat:/* Serial */
2017-03-10T15:09:11Z
<p><span dir="auto"><span class="autocomment">Serial</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2017年3月10日 (五) 15:09的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第539行:</td>
<td colspan="2" class="diff-lineno">第539行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Serial ====</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Serial ====</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>[[文件:<del class="diffchange diffchange-inline">5pin</del>.jpg]]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>[[文件:<ins class="diffchange diffchange-inline">Openplug-fw-upload</ins>.jpg <ins class="diffchange diffchange-inline">| 800px</ins>]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>
Comcat
http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&diff=8002&oldid=prev
Comcat:/* Overview */
2017-03-08T05:37:53Z
<p><span dir="auto"><span class="autocomment">Overview</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2017年3月8日 (三) 05:37的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第12行:</td>
<td colspan="2" class="diff-lineno">第12行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[文件:Open-plug-board.jpg | 600px]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[文件:Open-plug-board.jpg | 600px]]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[文件:Noduino-works-with-logo.png | 600px]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br><br></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br><br></div></td></tr>
</table>
Comcat
http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&diff=7996&oldid=prev
Comcat:/* Get the device IP */
2017-03-08T03:00:01Z
<p><span dir="auto"><span class="autocomment">Get the device IP</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2017年3月8日 (三) 03:00的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第413行:</td>
<td colspan="2" class="diff-lineno">第413行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>扫描一下局域网,名为 'Espressif' 的设备即为 OpenPlug 设备</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>扫描一下局域网,名为 'Espressif' 的设备即为 OpenPlug 设备</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[文件:Fing-lan-scan.png | 400px]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br></div></td></tr>
</table>
Comcat
http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&diff=7994&oldid=prev
Comcat:/* Get the device IP */
2017-03-08T02:46:27Z
<p><span dir="auto"><span class="autocomment">Get the device IP</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2017年3月8日 (三) 02:46的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第410行:</td>
<td colspan="2" class="diff-lineno">第410行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Get the device IP ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Get the device IP ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">You can use the Fing app in </del>iOS <del class="diffchange diffchange-inline">to scan the LAN network. The device named </del>'Espressif' <del class="diffchange diffchange-inline">is your </del>OpenPlug <del class="diffchange diffchange-inline">device.</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">用一个类似 </ins>iOS <ins class="diffchange diffchange-inline">下的 APP: Fing</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">扫描一下局域网,名为 </ins>'Espressif' <ins class="diffchange diffchange-inline">的设备即为 </ins>OpenPlug <ins class="diffchange diffchange-inline">设备</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br></div></td></tr>
</table>
Comcat
http://wiki.jackslab.org/index.php?title=Noduino_OpenPlug_CN&diff=7993&oldid=prev
Comcat:/* Open API (HTTP in LAN) */
2017-03-08T02:39:49Z
<p><span dir="auto"><span class="autocomment">Open API (HTTP in LAN)</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">←上一版本</td>
<td colspan='2' style="background-color: white; color:black;">2017年3月8日 (三) 02:39的版本</td>
</tr><tr><td colspan="2" class="diff-lineno">第405行:</td>
<td colspan="2" class="diff-lineno">第405行:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>设备默认开启一个 HTTP 服务,发送如下 http 请求,可完成设备的状态控制,此方式不依赖外网 MQTT 服务,可用作隔离外网环境下的,本地局域网控制:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>设备默认开启一个 HTTP 服务,发送如下 http 请求,可完成设备的状态控制,此方式不依赖外网 MQTT 服务,可用作隔离外网环境下的,本地局域网控制:</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"><br></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">=== Get the device IP ===</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">You can use the Fing app in iOS to scan the LAN network. The device named 'Espressif' is your OpenPlug device.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br></div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div><br></div></td></tr>
</table>
Comcat