Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

moltbot-ha

bởi iamvaleriofantozzi

Moltbook
1.9kLượt tải do clawskills.sh công bố
3Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Control Home Assistant smart home devices, lights, scenes.

Mô tả

Kỹ năng này làm gì

moltbot-ha is a CLI tool for controlling Home Assistant devices, scenes, and automations through the Home Assistant REST API. It supports lights, switches, covers, climate, and other entity domains. A configurable 3-level safety system requires explicit confirmation before executing critical actions like opening garage doors or triggering alarms.

Exposes the full Home Assistant service API through a simple CLI with built-in safeguards, avoiding the need to write custom REST calls or navigate the HA web UI for scripted control.

Khi nào nên dùng

  • Turn lights on/off and adjust brightness from the terminal
  • Activate Home Assistant scenes like movie mode or goodnight
  • Check sensor readings for temperature, humidity, or motion
  • Trigger morning or evening automation routines
  • Open or close blinds and garage doors with safety confirmation

Quy trình ví dụ

ĐẦU VÀO

User asks: Turn on the kitchen light at 80% brightness and set color temperature to 350

AGENT
  1. 1

    Run moltbot-ha list light to confirm entity ID exists

  2. 2

    Run moltbot-ha set light.kitchen brightness_pct=80 color_temp=350 to apply both attributes

  3. 3

    Verify result by running moltbot-ha state light.kitchen

ĐẦU RA

Kitchen light is on at 80% brightness with color temperature 350

Yêu cầu

  • HA_TOKEN environment variable (Home Assistant long-lived access token)
  • Home Assistant instance URL accessible from the machine running moltbot-ha

Cài đặt

clawhub install iamvaleriofantozzi/moltbot-ha

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết