Site updated at 2017-09-26 18:37:45 UTC
This commit is contained in:
parent
cd1993547e
commit
6c210aca29
56 changed files with 99 additions and 99 deletions
|
@ -87,7 +87,7 @@
|
|||
<ul>
|
||||
<li><strong>resource</strong> (<em>Required</em>): IP address and schema of the device that is exposing an aREST API, e.g. http://192.168.1.10.</li>
|
||||
<li><strong>pin</strong> (<em>Required</em>): Number of the pin to monitor.</li>
|
||||
<li><strong>name</strong> (<em>Optional</em>): Let you overwrite the the name of the device. By default <em>name</em> from the device is used.</li>
|
||||
<li><strong>name</strong> (<em>Optional</em>): Let you overwrite the name of the device. By default <em>name</em> from the device is used.</li>
|
||||
</ul>
|
||||
<p>Accessing the URL http://IP_ADDRESS/digital/PIN_NUMBER should give you the state of the pin inside a JSON response as <code class="highlighter-rouge">return_value</code>.</p>
|
||||
<div class="language-bash highlighter-rouge"><pre class="highlight"><code><span class="gp">$ </span>curl -X GET http://192.168.0.5/digital/9
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue