You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/wink.markdown
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -26,37 +26,37 @@ Check the related componets pages for actual devices that are support.
26
26
27
27
Home Assistant offers multiple ways to authenticate to the Wink API. Each authentication method is described below.
28
28
29
-
### Authentication with an access token.
29
+
### Authenticate using [developer.wink.com](https://developer.wink.com)
30
30
31
31
32
-
To use this form of authentication obtain a token from the form below and insert it into your `configuration.yaml`
32
+
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.
This form of authentication doesn't require any settings in the configuration.yaml other than `wink:` this is because you will be guided through setup via the configurator on the frontend.
35
+
36
+
<pclass='note'>
37
+
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.
38
+
</p>
36
39
37
40
```yaml
38
41
wink:
39
-
access_token: YOUR_ACCESS_TOKEN
40
42
```
41
43
44
+
42
45
### Authentication with your Wink email and password.
43
46
44
47
45
-
This method uses the same form from above to obtain an access token, but does so without the user needing to manually do so.
46
-
This method pulls a new token on every startup of Home Assistant.
48
+
This method pulls a new token on every startup of Home Assistant from this [URL](https://winkbearertoken.appspot.com)
47
49
48
50
```yaml
49
51
wink:
50
52
email: YOUR_WINK_EMAIL_ADDRESS
51
53
password: YOUR_WINK_PASSWORD
52
54
```
53
55
54
-
### Full oath authentication. (This is the best option!)
55
-
56
+
### Full oauth authentication (legacy).
56
57
57
-
You can also request API access via Wink's [contact us](http://www.wink.com/help/contact/) page.
58
+
This should be used for users that obtained their client_id and client_secret via email from Wink support.
58
59
59
-
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.
60
60
61
61
```yaml
62
62
wink:
@@ -68,14 +68,12 @@ wink:
68
68
69
69
Configuration variables:
70
70
71
-
- **access_token** (*Required if the below aren't present.*): The retrieved access token.
72
71
- **email** (*Required if access token isn't provided*): Your Wink login email.
73
72
- **password** (*Required if access token isn't provided*): Your Wink login password.
74
73
- **client_id** (*Required if access token isn't provided*): Your provided Wink client_id.
75
74
- **client_secret** (*Required if access token isn't provided*): Your provided Wink client_secret.
76
-
- **user_agent** (*Optional*): The user-agent passed in the API calls to Wink.
77
75
78
-
This will connect to the Wink API and automatically set up any switches, lights, locks, fans, climate devices, covers, and sensors.
76
+
This will connect to the Wink API and automatically set up any switches, lights, locks, fans, climate devices, covers, sensors, and alarms.
79
77
80
78
### {% linkable_title Service `refresh_state_from_wink` %}
0 commit comments