Overview
- Skill Key
- homeofe/openclaw-homeassistant
- Author
- homeofe
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/homeofe/openclaw-homeassistant
- Latest Commit SHA
- 18cadd0f198b9a41288ef716900c7338ba74fa4d
Control smart home devices via Home Assistant: lights, climate, media, covers, scenes, sensors, automations, and more. 34 tools with readOnly and domain-level safety guards.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 openclaw-homeassistant 技能。 若已安装,则直接安装 openclaw-homeassistant 技能。
# openclaw-homeassistant
OpenClaw plugin for Home Assistant integration. Control your entire smart home from chat.
## Tools (34)
### Core
- `ha_status` - HA config, version, location
- `ha_list_entities` - List entities (filter by domain/state)
- `ha_get_state` - Get single entity state + attributes
- `ha_search_entities` - Search entities by name pattern
- `ha_list_services` - Available services by domain
### Lights
- `ha_light_on` - Turn on (brightness, color_temp, rgb, transition)
- `ha_light_off` / `ha_light_toggle`
- `ha_light_list` - All lights with current state
### Switches
- `ha_switch_on` / `ha_switch_off` / `ha_switch_toggle`
### Climate
- `ha_climate_set_temp` - Set temperature + HVAC mode
- `ha_climate_set_mode` - heat/cool/auto/off
- `ha_climate_set_preset` - home/away/eco/boost
- `ha_climate_list` - All climate entities with temps
### Media Player
- `ha_media_play` / `ha_media_pause` / `ha_media_stop`
- `ha_media_volume` - Set volume (0.0-1.0)
- `ha_media_play_media` - Play specific media
### Covers
- `ha_cover_open` / `ha_cover_close`
- `ha_cover_position` - Set position (0-100)
### Scenes & Automations
- `ha_scene_activate` / `ha_script_run` / `ha_automation_trigger`
### Sensors & History
- `ha_sensor_list` - All sensors with values
- `ha_history` - Entity history over time
- `ha_logbook` - Recent logbook entries
### Generic
- `ha_call_service` - Any service call
- `ha_fire_event` - Fire custom events
- `ha_render_template` - Jinja2 templates
### Notifications
- `ha_notify` - Send notifications
## Configuration
```json
{
"url": "http://your-ha-instance:8123",
"token": "YOUR_LONG_LIVED_ACCESS_TOKEN",
"allowedDomains": ["light", "switch", "climate"],
"readOnly": false
}
```
## Safety
- `readOnly`: blocks all write operations
- `allowedDomains`: restricts to specific device domains
- Entity ID validation enforced on all calls
# @elvatis_com/openclaw-homeassistant
OpenClaw plugin for Home Assistant - control devices, read sensors, trigger automations via AI.
**34 tools** | **zero runtime dependencies** | **safety-first design**
## Prerequisites
- Node.js >= 18.0.0
- A running [Home Assistant](https://www.home-assistant.io/) instance (2023.1+)
- A Home Assistant Long-Lived Access Token
## Installation
```bash
npm install @elvatis_com/openclaw-homeassistant
```
## Quick Start
### 1. Create a Long-Lived Access Token
1. Open your Home Assistant UI
2. Navigate to your profile (click your name in the sidebar)
3. Scroll down to **Long-Lived Access Tokens**
4. Click **Create Token**, give it a name (e.g. "OpenClaw"), and copy the token
### 2. Configure the Plugin
Add the plugin to your OpenClaw configuration:
```json
{
"plugins": {
"openclaw-homeassistant": {
"url": "http://homeassistant.local:8123",
"token": "YOUR_LONG_LIVED_ACCESS_TOKEN"
}
}
}
```
### 3. (Optional) Add Safety Guards
Restrict which domains the AI can access and/or enable read-only mode:
```json
{
"plugins": {
"openclaw-homeassistant": {
"url": "http://homeassistant.local:8123",
"token": "YOUR_LONG_LIVED_ACCESS_TOKEN",
"allowedDomains": ["light", "switch", "sensor", "climate"],
"readOnly": true
}
}
}
```
## Configuration Reference
| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| `url` | `string` | Yes | - | Home Assistant base URL (e.g. `http://homeassistant.local:8123`) |
| `token` | `string` | Yes | - | Long-Lived Access Token from your HA profile |
| `allowedDomains` | `string[]` | No | `[]` (all) | Restrict tools to these HA domains only |
| `readOnly` | `boolean` | No | `false` | Block all write tools (service calls, events, notifications) |
## Safety Model
This plugin implements three layers of safety:
- **readOnly mode** - When enabled, all 22 write tools are blocked. Only read tools (s...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.