Site updated at 2017-09-26 07:14:23 UTC
This commit is contained in:
parent
80847eb95a
commit
b723b0750d
415 changed files with 2329 additions and 1581 deletions
|
@ -87,13 +87,13 @@
|
|||
<ul>
|
||||
<li><strong>username</strong> (<em>Optional</em>): The username used in the Avion app. If username and password are both provided, any associated switches will automatically be added to your configuration.</li>
|
||||
<li><strong>password</strong> (<em>Optional</em>): The password used in the Avion app.</li>
|
||||
<li><strong>devices</strong> (<em>Optional</em>): An optional list of devices with their bluetooth address, a custom name to use in the frontend and the API key. The API key can be obtained by executing the following command:
|
||||
<li><strong>devices</strong> (<em>Optional</em>): An optional list of devices with their Bluetooth address, a custom name to use in the frontend and the API key. The API key can be obtained by executing the following command:
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>curl -X POST -H "Content-Type: application/json" -d '{"email": "fakename@example.com", "password": "password"}' https://admin.avi-on.com/api/sessions | jq
|
||||
</code></pre>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<p>with the email and password fields replaced with those used when registering the device via the mobile app. The passphrase field of the output should be used as the API key in the configuration.</p>
|
||||
<p>with the email and password fields replaced with those used when registering the device via the mobile app. The pass phrase field of the output should be used as the API key in the configuration.</p>
|
||||
<p>If username and password are not supplied, devices must be configured manually like so:</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="c1"># Manual device configuration.yaml entry</span>
|
||||
<span class="s">light</span><span class="pi">:</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue