Update octoprint docs

This commit is contained in:
Fabian Affolter 2016-09-01 19:03:52 +02:00
parent fed6dd8289
commit fa3bebf39a
No known key found for this signature in database
GPG key ID: DDF3D6F44AAB1336
3 changed files with 14 additions and 7 deletions

View file

@ -15,18 +15,19 @@ ha_release: 0.19
[OctoPrint](http://octoprint.org/) is a web interface for your 3D printer. This is the main component to integrate OctoPrint sensors, you will have to setup sensors and binary sensors separately.
To get started with the OctoPrint API, please follow the directions on their [site](http://docs.octoprint.org/en/master/api/general.html). Once OctoPrint is configured you will need to add your API key and host to your configuration.yaml.
To get started with the OctoPrint API, please follow the directions on their [site](http://docs.octoprint.org/en/master/api/general.html). Once OctoPrint is configured you will need to add your API key and host to your `configuration.yaml`.
```yaml
octoprint:
host: http://YOUR_OCTOPRINT_HOST
host: YOUR_OCTOPRINT_HOST
api_key: YOUR_API_KEY
```
Configuration variables:
- **api_key** (*Required*): The retrieved api key.
- **host** (*Required*): The octoprint host.
- **api_key** (*Required*): The retrieved api key.
**NOTE** If your 3D printer isn't connected to the OctoPrint server during the startup of Home Assistant this component will fail to load.