控制 IKEA/TP-Link Kasa 智能灯泡(设置开/关、亮度和颜色)。当您想要通过 LAN 上的 IP 以编程方式控制本地智能灯泡时使用。
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install control-ikea-lightbulb或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install control-ikea-lightbulb⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/control-ikea-lightbulb/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: control-ikea-lightbulb description: Control IKEA/TP-Link Kasa smart bulbs (set on/off, brightness, and color). Use when you want to programmatically control a local smart bulb by IP on the LAN. ---
This skill provides a lightweight Python script to control a local smart bulb (supports TP-Link Kasa-compatible bulbs via python-kasa). It is intended for local LAN devices that do not require cloud credentials; control is by IP address.
When to use this skill
Contents
- Default white uses a high color temperature (9000K) to make white appear "whiter"; pass --white-temp to override. - Bug fixes: the off-flash between blue→red now ignores transitions to white (saturation==0) to avoid white<->blue ping-pong, and white-temp is only applied to white steps (fixes red being skipped during off-flash). White steps also set brightness even without --double-write.
Notes
pyproject.toml and wrappers prefer uv run.Example: uv run --project ./skills/control-ikea-lightbulb python ./skills/control-ikea-lightbulb/scripts/control_kasa_light.py --ip 192.168.4.69 --on --hsv 0 100 80 --brightness 80
- brew install uv (macOS) - pipx install uv (cross-platform)
./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --on --hsv 0 100 80 --brightness 80
./skills/control-ikea-lightbulb/scripts/run_test_light_show.sh --ip 192.168.4.69 --duration 6 --transition 1 --off-flash --verbose
Quick start
brew install uv
./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --on
./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --hsv 0 100 80 --brightness 80
Git note
Note about Python requirements and recent change
- requires-python = ">=3.11, <4.0" - python-kasa>=0.10.2
安装 控制宜家灯泡 后,可以对 AI 说这些话来触发它
Help me get started with Control Ikea Lightbulb
Explains what Control Ikea Lightbulb does, walks through the setup, and runs a quick demo based on your current project
Use Control Ikea Lightbulb to control IKEA/TP-Link Kasa smart bulbs (set on/off, brightness, and ...
Invokes Control Ikea Lightbulb with the right parameters and returns the result directly in the conversation
What can I do with Control Ikea Lightbulb in my design & creative workflow?
Lists the top use cases for Control Ikea Lightbulb, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/control-ikea-lightbulb/ 目录(个人级,所有项目可用),或 .claude/skills/control-ikea-lightbulb/(项目级)。重启 AI 客户端后,用 /control-ikea-lightbulb 主动调用,或让 AI 根据上下文自动发现并使用。
控制宜家灯泡 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
控制宜家灯泡 可免费安装使用。请查阅仓库了解许可证信息。
控制 IKEA/TP-Link Kasa 智能灯泡(设置开/关、亮度和颜色)。当您想要通过 LAN 上的 IP 以编程方式控制本地智能灯泡时使用。
控制宜家灯泡 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Control Ikea Lightbulb
Identifies repetitive steps in your workflow and sets up Control Ikea Lightbulb to handle them automatically