This plugin lets Stavrobot control and query your Home Assistant instance via the HA REST API. You can turn devices on and off, read the current state of any entity, trigger services and automations, and retrieve historical state data — all through natural-language requests to the assistant.
Tell Stavrobot to install the plugin from:
https://github.com/stavrobot/plugin-home-assistant
After installation, configure the following values:
| Key | Description |
|---|---|
url | The base URL of your Home Assistant instance, e.g. http://homeassistant.local:8123 |
access_token | A long-lived access token used to authenticate API requests |
To create a long-lived access token: open your Home Assistant profile page (click your username in the sidebar), scroll to the Long-lived access tokens section at the bottom, and click Create token. Give it a name (e.g. stavrobot) and copy the token value — it is only shown once.