mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
Updated Nest Documentation for Oauth2 (#1532)
* Updated Nest Documentation for Oauth2 * Update nest.markdown
This commit is contained in:
parent
fda0b14c13
commit
4a7bcaad5c
@ -14,18 +14,38 @@ featured: true
|
|||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
### {% linkable_title Setting up developer account %}
|
||||||
|
|
||||||
|
1. Log into [https://developers.nest.com/](https://developers.nest.com/)
|
||||||
|
2. Fill in account details
|
||||||
|
- The compnay details can be any made up information.
|
||||||
|
3. Submit changes
|
||||||
|
4. Click "[Products](https://developers.nest.com/products)" at top of page
|
||||||
|
5. Click "[Create New Product](https://developers.nest.com/products/new)" to start a new api client
|
||||||
|
6. Fill in details
|
||||||
|
- Product name must be unique. I recommend [email] - Home Assistant.
|
||||||
|
- The description, users, urls can all be anything you want
|
||||||
|
7. For permissions check every box and if it's an option select the read/write option.
|
||||||
|
- The description requires a specific format to be accepted.
|
||||||
|
- Use "[Home Assistant] [Edit] [For Home Automation]" as the description as it is not super important.
|
||||||
|
8. Click "Create Product"
|
||||||
|
9. Once the new product page opens the "Product ID" and "Product Secret" are located on the right side.
|
||||||
|
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.
|
||||||
|
|
||||||
|
### {% linkable_title Configuration %}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
nest:
|
nest:
|
||||||
client_id: ABCD
|
client_id: CLIENT_ID
|
||||||
client_secret: ABCD
|
client_secret: CLIENT_SECRET
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry to show only devices at your vacation and primary homes
|
# Example configuration.yaml entry to show only devices at your vacation and primary homes
|
||||||
nest:
|
nest:
|
||||||
username: USERNAME
|
client_id: CLIENT_ID
|
||||||
password: PASSWORD
|
client_secret: CLIENT_SECRET
|
||||||
structure:
|
structure:
|
||||||
- Vacation
|
- Vacation
|
||||||
- Primary
|
- Primary
|
||||||
|
Loading…
x
Reference in New Issue
Block a user