mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-19 15:26:29 +00:00
Update hassio_addon_communication.md
This commit is contained in:
parent
12e2fab256
commit
cfa9cb60c5
@ -28,9 +28,9 @@ We have severals services for Hass.io inside Home Assistant to run tasks. To sen
|
|||||||
To enables calls to the [Hass.io API][hassio-api], add `hassio_api: true` to `config.json` and read the environment variable `HASSIO_TOKEN`. Now you can use the API over the URL: `http://hassio/`. Use the `HASSIO_TOKEN` with header `X-HASSIO-KEY`. It could be that you need also change the Hass.io API role like `hassio_role: default`.
|
To enables calls to the [Hass.io API][hassio-api], add `hassio_api: true` to `config.json` and read the environment variable `HASSIO_TOKEN`. Now you can use the API over the URL: `http://hassio/`. Use the `HASSIO_TOKEN` with header `X-HASSIO-KEY`. It could be that you need also change the Hass.io API role like `hassio_role: default`.
|
||||||
|
|
||||||
Add-ons can call some API commands without need set `hassio_api: true`:
|
Add-ons can call some API commands without need set `hassio_api: true`:
|
||||||
- `/homeassistant/info`
|
- `/homeassistant/api`
|
||||||
- `/supervisor/info`
|
- `/homeassistant/websocket`
|
||||||
- `/addons`
|
- `/homeassistant/stream`
|
||||||
- `/addons/self/...`
|
- `/addons/self/...`
|
||||||
- `/services*`
|
- `/services*`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user