Skip to content

Commit 4a7bcaa

Browse files
Brent Hughesballoob
Brent Hughes
authored andcommitted
Updated Nest Documentation for Oauth2 (home-assistant#1532)
* Updated Nest Documentation for Oauth2 * Update nest.markdown
1 parent fda0b14 commit 4a7bcaa

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

source/_components/nest.markdown

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,38 @@ featured: true
1414

1515
The Nest component is the main component to integrate all [Nest](https://nest.com/) related platforms. To connect Nest, you will have to [sign up for a developer account](https://developers.nest.com/products) and get a client_id and client_secret.
1616

17+
### {% linkable_title Setting up developer account %}
18+
19+
1. Log into [https://developers.nest.com/](https://developers.nest.com/)
20+
2. Fill in account details
21+
- The compnay details can be any made up information.
22+
3. Submit changes
23+
4. Click "[Products](https://developers.nest.com/products)" at top of page
24+
5. Click "[Create New Product](https://developers.nest.com/products/new)" to start a new api client
25+
6. Fill in details
26+
- Product name must be unique. I recommend [email] - Home Assistant.
27+
- The description, users, urls can all be anything you want
28+
7. For permissions check every box and if it's an option select the read/write option.
29+
- The description requires a specific format to be accepted.
30+
- Use "[Home Assistant] [Edit] [For Home Automation]" as the description as it is not super important.
31+
8. Click "Create Product"
32+
9. Once the new product page opens the "Product ID" and "Product Secret" are located on the right side.
33+
10. After these configs are updated and Home Assistant is started a configurator will pop up asking you to log in and copy a authorization code into Home Assistant.
34+
35+
### {% linkable_title Configuration %}
36+
1737
```yaml
1838
# Example configuration.yaml entry
1939
nest:
20-
client_id: ABCD
21-
client_secret: ABCD
40+
client_id: CLIENT_ID
41+
client_secret: CLIENT_SECRET
2242
```
2343
2444
```yaml
2545
# Example configuration.yaml entry to show only devices at your vacation and primary homes
2646
nest:
27-
username: USERNAME
28-
password: PASSWORD
47+
client_id: CLIENT_ID
48+
client_secret: CLIENT_SECRET
2949
structure:
3050
- Vacation
3151
- Primary

0 commit comments

Comments
 (0)