Site updated at 2017-07-29 22:06:40 UTC
This commit is contained in:
parent
e55d4ce725
commit
59edc9bad6
744 changed files with 14665 additions and 3545 deletions
|
@ -81,24 +81,24 @@
|
|||
<p>Home Assistant integrates with the Wink API and allows you to get the status and control connected switches, lights, locks, fan, climate devices, covers, and sensors.</p>
|
||||
<p>Check the related componets pages for actual devices that are support.</p>
|
||||
<p>Home Assistant offers multiple ways to authenticate to the Wink API. Each authentication method is described below.</p>
|
||||
<h3>Authentication with an access token.</h3>
|
||||
<p>To use this form of authentication obtain a token from the form below and insert it into your <code class="highlighter-rouge">configuration.yaml</code></p>
|
||||
<iframe src="https://winkbearertoken.appspot.com" style="width: 100%; height: 200px; border: 0; margin: 0 auto 15px; border-left: 2px solid #049cdb; padding-left: 15px;"></iframe>
|
||||
<h3>Authenticate using <a href="https://developer.wink.com">developer.wink.com</a></h3>
|
||||
<p>This method will require you to setup a developer account with Wink. This process can take a few days to get approved, but is the recommanded form of authentication. If you would like to use Wink in Home Assistant while you wait, you can use the email and password authentication below.</p>
|
||||
<p>This form of authentication doesn’t require any settings in the configuration.yaml other than <code class="highlighter-rouge">wink:</code> this is because you will be guided through setup via the configurator on the frontend.</p>
|
||||
<p class="note">
|
||||
When using the configurator make sure the initial setup is performed on the same local network as the Home Assistant server, if not from the same box Home Assistant is running on. This will allow for authentication redirects to happen correctly.
|
||||
</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">wink</span><span class="pi">:</span>
|
||||
<span class="s">access_token</span><span class="pi">:</span> <span class="s">YOUR_ACCESS_TOKEN</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<h3>Authentication with your Wink email and password.</h3>
|
||||
<p>This method uses the same form from above to obtain an access token, but does so without the user needing to manually do so.
|
||||
This method pulls a new token on every startup of Home Assistant.</p>
|
||||
<p>This method pulls a new token on every startup of Home Assistant from this <a href="https://winkbearertoken.appspot.com">URL</a></p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">wink</span><span class="pi">:</span>
|
||||
<span class="s">email</span><span class="pi">:</span> <span class="s">YOUR_WINK_EMAIL_ADDRESS</span>
|
||||
<span class="s">password</span><span class="pi">:</span> <span class="s">YOUR_WINK_PASSWORD</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<h3>Full oath authentication. (This is the best option!)</h3>
|
||||
<p>You can also request API access via Wink’s <a href="http://www.wink.com/help/contact/">contact us</a> page.</p>
|
||||
<p>You will be provided with a client ID and a client secret via email. These can then be used in your configuration in place of the access_token this will prevent you from having to manually refresh your access token.</p>
|
||||
<h3>Full oauth authentication (legacy).</h3>
|
||||
<p>This should be used for users that obtained their client_id and client_secret via email from Wink support.</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">wink</span><span class="pi">:</span>
|
||||
<span class="s">email</span><span class="pi">:</span> <span class="s">YOUR_WINK_EMAIL_ADDRESS</span>
|
||||
<span class="s">password</span><span class="pi">:</span> <span class="s">YOUR_WINK_PASSWORD</span>
|
||||
|
@ -108,14 +108,12 @@ This method pulls a new token on every startup of Home Assistant.</p>
|
|||
</div>
|
||||
<p>Configuration variables:</p>
|
||||
<ul>
|
||||
<li><strong>access_token</strong> (<em>Required if the below aren’t present.</em>): The retrieved access token.</li>
|
||||
<li><strong>email</strong> (<em>Required if access token isn’t provided</em>): Your Wink login email.</li>
|
||||
<li><strong>password</strong> (<em>Required if access token isn’t provided</em>): Your Wink login password.</li>
|
||||
<li><strong>client_id</strong> (<em>Required if access token isn’t provided</em>): Your provided Wink client_id.</li>
|
||||
<li><strong>client_secret</strong> (<em>Required if access token isn’t provided</em>): Your provided Wink client_secret.</li>
|
||||
<li><strong>user_agent</strong> (<em>Optional</em>): The user-agent passed in the API calls to Wink.</li>
|
||||
</ul>
|
||||
<p>This will connect to the Wink API and automatically set up any switches, lights, locks, fans, climate devices, covers, and sensors.</p>
|
||||
<p>This will connect to the Wink API and automatically set up any switches, lights, locks, fans, climate devices, covers, sensors, and alarms.</p>
|
||||
<h3><a class="title-link" name="service-refresh_state_from_wink" href="#service-refresh_state_from_wink"></a> Service <code class="highlighter-rouge">refresh_state_from_wink</code></h3>
|
||||
<p>The Wink component only obtains the device states from the Wink API once, during startup. All updates after that are pushed via a third party called PubNub. On rare occasions were an update isn’t pushed device states can be out of sync.</p>
|
||||
<p>You can use the service wink/refresh_state_from_wink to pull the most recent state from the Wink API for all devices.</p>
|
||||
|
@ -189,6 +187,9 @@ The Wink hub can only be accessed via the cloud. This means it requires an activ
|
|||
<li>
|
||||
<a href='/components/android_ip_webcam/'>Android IP Webcam</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/apple_tv/'>Apple TV</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/arlo/'>Arlo</a>
|
||||
</li>
|
||||
|
@ -333,6 +334,9 @@ The Wink hub can only be accessed via the cloud. This means it requires an activ
|
|||
<li>
|
||||
<a href='/components/twilio/'>Twilio</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/velbus/'>Velbus</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/velux/'>Velux</a>
|
||||
</li>
|
||||
|
@ -351,6 +355,9 @@ The Wink hub can only be accessed via the cloud. This means it requires an activ
|
|||
<li>
|
||||
Wink
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/xiaomi/'>Xiaomi Gateway</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href='/components/zwave/'>Z-Wave</a>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue