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

control4-home

bởi niallel

Productivity & Tasks
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Control a Control4 smart home via pyControl4 (lights, relays, room media) using local Python wrappers.

Mô tả

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

Controls a Control4 smart home system locally using Python scripts built on pyControl4. Supports setting light levels, toggling relays, switching room media sources, and calling arbitrary device methods. Accepts both structured CLI commands and plain natural language input.

Local execution over the home network avoids cloud dependency and works without internet access.

Khi nào nên dùng

  • Turn off all lights before leaving the house
  • Switch the living room TV to a specific input
  • Mute audio in a bedroom via voice-style command
  • Discover and map all Control4 device IDs
  • Ramp a light to a specific level over a timed transition

Quy trình ví dụ

ĐẦU VÀO

User asks: turn kitchen lights off and switch master bedroom to Apple TV

AGENT
  1. 1

    Parse the request into two separate device actions

  2. 2

    Run nl_control4.py with 'turn kitchen lights off' against the device map

  3. 3

    Confirm the kitchen light ID resolves correctly and the command succeeds

  4. 4

    Run nl_control4.py with 'watch apple tv in master bedroom' to switch the room media source

  5. 5

    Report the result of both commands back to the user

ĐẦU RA

Kitchen lights set to 0, master bedroom media source switched to Apple TV

Yêu cầu

  • CONTROL4_USERNAME environment variable
  • CONTROL4_PASSWORD environment variable
  • CONTROL4_CONTROLLER_IP environment variable
  • Control4 controller on the local network with remote access credentials

Cài đặt

clawhub install niallel/control4-home

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