@cdot65/homeassistant
v0.1.1
Published
Home Assistant plugin for OpenClaw - control smart home devices via the HA REST API
Maintainers
Readme
@cdot65/homeassistant
OpenClaw plugin for Home Assistant -- query states, call services, view history, fire events, and more via the HA REST API.
Install
npm install @cdot65/homeassistantConfiguration
| Variable | Required | Default | Description |
| --------------- | -------- | ------- | ----------------------- |
| HA_BASE_URL | Yes | -- | Home Assistant base URL |
| HA_TOKEN | Yes | -- | Long-lived access token |
| HA_TIMEOUT_MS | No | 10000 | Request timeout (ms) |
export HA_BASE_URL="http://homeassistant.local:8123"
export HA_TOKEN="your-long-lived-access-token"Creating an access token: In Home Assistant, go to Profile > Long-Lived Access Tokens > Create Token.
Verify
openclaw gateway restart
openclaw homeassistant
openclaw ha-statesAgent Tools
17 tools covering the full HA REST API: states, services, history, events, calendars, templates, config, intents.
See the full documentation for details.
Requirements
- Node.js 18+
- Home Assistant with REST API enabled
- Long-lived access token
License
MIT
