搜索

PythonReactSEOPDF
OpenClaw

Glitch Homeassistant

Home Assistant Skill

chris6970barbarian-hue0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install chris6970barbarian-hue/glitch-homeassistant

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Home Assistant Skill

Control smart home devices via Home Assistant API.

Skill Metadata

  • Name: homeassistant
  • Type: OpenClaw Skill
  • Purpose: Control lights, switches, covers, climate, scenes, scripts via HA API

Setup Commands

Prerequisites
  1. Home Assistant running on local network
  2. Long-Lived Access Token from HA Profile page
Configuration (One-Command)
# Run this to configure
ha-cli setup <HA_URL> <TOKEN>

# Example:
ha-cli setup 192.168.1.100 your_long_lived_token_here

Or set environment variables:

export HA_URL="http://homeassistant.local:8123"
export HA_TOKEN="your_token_here"

Usage Commands

Basic Control
# Turn on device (any type)
ha-cli on <device_name>
ha-cli <device_name> on

# Turn off device
ha-cli off <device_name>
ha-cli <device_name> off
Brightness & Color
# Set brightness (0-100)
ha-cli brightness <0-100> <device_name>
ha-cli <device_name> brightness 75

# Set RGB color
ha-cli rgb #RRGGBB <device_name>
ha-cli rgb #FF5500 "Living Room"
Temperature
# Set temperature
ha-cli <temperature> <thermostat_name>
ha-cli 22 thermostat
Scenes & Scripts
# Activate scene
ha-cli scene <scene_name>
ha-cli scene movie

# Run script
ha-cli script <script_name>
ha-cli script morning
Status & Discovery
# Check HA status
ha-cli status
ha-cli info

# List all entities
ha-cli list
ha-cli list entities

# List by domain
ha-cli list light
ha-cli list switch
ha-cli list climate

Supported Device Types

Domain Commands Examples
light on, off, brightness, rgb ha-cli on living room
switch on, off ha-cli off tv
cover open, close, stop ha-cli open blinds
climate temperature, mode ha-cli 22 thermostat
lock lock, unlock ha-cli lock front door
scene activate ha-cli scene movie
script run ha-cli script morning

En...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/chris6970barbarian-hue/glitch-homeassistant
Version
—
Commit
777cb69904dc8133fc85c3a09645ab05c6ac690c
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Home Assistant CLI for OpenClaw

A streamlined Home Assistant CLI for OpenClaw with one-command setup and natural language control.

Features

  • One-command setup: ha-cli setup <url> <token>
  • Natural commands: ha-cli on living room or ha-cli living room on
  • Smart fuzzy matching: "bed" finds "Bedroom Light", "Bedroom AC"
  • Auto-config save: Credentials stored in config.json
  • Any device type: Lights, switches, covers, climate, locks, scenes, scripts

Quick Start

# One-command setup
ha-cli setup 192.168.1.100 your_long_lived_token

# Control devices
ha-cli on living room
ha-cli off bedroom light
ha-cli 22 thermostat
ha-cli scene movie

# Check status
ha-cli status
ha-cli list light

Setup

1. Get Long-Lived Access Token
  1. Open Home Assistant Web UI
  2. Click your username (Profile)
  3. Scroll to "Long-Lived Access Tokens"
  4. Click "Create Token"
  5. Copy the token
2. Configure
# Replace with your HA IP and token
ha-cli setup 192.168.1.100 your_token_here

That's it! Configuration is saved automatically.

Commands

Basic Control
# Turn on/off (works with any device)
ha-cli on living room
ha-cli off bedroom light
ha-cli open garage
ha-cli close blinds
ha-cli lock front door

# Alternative: name first
ha-cli living room on
ha-cli bedroom light off
Brightness & Color
ha-cli brightness 75 living room
ha-cli rgb #FF5500 desk lamp
Temperature
ha-cli 22 thermostat
ha-cli temperature 24 bedroom
Scenes & Scripts
ha-cli scene movie
ha-cli scene good morning
ha-cli script morning
Status
ha-cli status           # HA status overview
ha-cli list             # All entities
ha-cli list light       # Only lights
ha-cli list switch      # Only switches

Examples

# Morning routine
ha-cli scene good morning
ha-cli script morning_routine

# Movie time
ha-cli scene movie
ha-cli brightness 20 living room

# Goodnight...

来源内容

SKILL.md
# Home Assistant Skill

Control smart home devices via Home Assistant API.

## Skill Metadata

- **Name**: homeassistant
- **Type**: OpenClaw Skill
- **Purpose**: Control lights, switches, covers, climate, scenes, scripts via HA API

## Setup Commands

### Prerequisites

1. Home Assistant running on local network
2. Long-Lived Access Token from HA Profile page

### Configuration (One-Command)

```bash
# Run this to configure
ha-cli setup <HA_URL> <TOKEN>

# Example:
ha-cli setup 192.168.1.100 your_long_lived_token_here
```

Or set environment variables:

```bash
export HA_URL="http://homeassistant.local:8123"
export HA_TOKEN="your_token_here"
```

## Usage Commands

### Basic Control

```bash
# Turn on device (any type)
ha-cli on <device_name>
ha-cli <device_name> on

# Turn off device
ha-cli off <device_name>
ha-cli <device_name> off
```

### Brightness & Color

```bash
# Set brightness (0-100)
ha-cli brightness <0-100> <device_name>
ha-cli <device_name> brightness 75

# Set RGB color
ha-cli rgb #RRGGBB <device_name>
ha-cli rgb #FF5500 "Living Room"
```

### Temperature

```bash
# Set temperature
ha-cli <temperature> <thermostat_name>
ha-cli 22 thermostat
```

### Scenes & Scripts

```bash
# Activate scene
ha-cli scene <scene_name>
ha-cli scene movie

# Run script
ha-cli script <script_name>
ha-cli script morning
```

### Status & Discovery

```bash
# Check HA status
ha-cli status
ha-cli info

# List all entities
ha-cli list
ha-cli list entities

# List by domain
ha-cli list light
ha-cli list switch
ha-cli list climate
```

## Supported Device Types

| Domain | Commands | Examples |
|--------|----------|----------|
| light | on, off, brightness, rgb | `ha-cli on living room` |
| switch | on, off | `ha-cli off tv` |
| cover | open, close, stop | `ha-cli open blinds` |
| climate | temperature, mode | `ha-cli 22 thermostat` |
| lock | lock, unlock | `ha-cli lock front door` |
| scene | activate | `ha-cli scene movie` |
| script | run | `ha-cli script morning` |

## En...
README
# Home Assistant CLI for OpenClaw

A streamlined Home Assistant CLI for OpenClaw with one-command setup and natural language control.

## Features

- **One-command setup**: `ha-cli setup <url> <token>`
- **Natural commands**: `ha-cli on living room` or `ha-cli living room on`
- **Smart fuzzy matching**: "bed" finds "Bedroom Light", "Bedroom AC"
- **Auto-config save**: Credentials stored in config.json
- **Any device type**: Lights, switches, covers, climate, locks, scenes, scripts

## Quick Start

```bash
# One-command setup
ha-cli setup 192.168.1.100 your_long_lived_token

# Control devices
ha-cli on living room
ha-cli off bedroom light
ha-cli 22 thermostat
ha-cli scene movie

# Check status
ha-cli status
ha-cli list light
```

## Setup

### 1. Get Long-Lived Access Token

1. Open Home Assistant Web UI
2. Click your username (Profile)
3. Scroll to "Long-Lived Access Tokens"
4. Click "Create Token"
5. Copy the token

### 2. Configure

```bash
# Replace with your HA IP and token
ha-cli setup 192.168.1.100 your_token_here
```

That's it! Configuration is saved automatically.

## Commands

### Basic Control

```bash
# Turn on/off (works with any device)
ha-cli on living room
ha-cli off bedroom light
ha-cli open garage
ha-cli close blinds
ha-cli lock front door

# Alternative: name first
ha-cli living room on
ha-cli bedroom light off
```

### Brightness & Color

```bash
ha-cli brightness 75 living room
ha-cli rgb #FF5500 desk lamp
```

### Temperature

```bash
ha-cli 22 thermostat
ha-cli temperature 24 bedroom
```

### Scenes & Scripts

```bash
ha-cli scene movie
ha-cli scene good morning
ha-cli script morning
```

### Status

```bash
ha-cli status           # HA status overview
ha-cli list             # All entities
ha-cli list light       # Only lights
ha-cli list switch      # Only switches
```

## Examples

```bash
# Morning routine
ha-cli scene good morning
ha-cli script morning_routine

# Movie time
ha-cli scene movie
ha-cli brightness 20 living room

# Goodnight...

相关技能

OpenClaw

x402hub

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,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.