# Send Control Ikea Lightbulb to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "control-ikea-lightbulb",
    "name": "Control Ikea Lightbulb",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/antgly/control-ikea-lightbulb",
    "canonicalUrl": "https://clawhub.ai/antgly/control-ikea-lightbulb",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/control-ikea-lightbulb",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=control-ikea-lightbulb",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "pyproject.toml",
      "scripts/__init__.py",
      "scripts/control_kasa_light.py",
      "scripts/light_show.py",
      "scripts/light_show_verbose.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "control-ikea-lightbulb",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T15:42:31.792Z",
      "expiresAt": "2026-05-06T15:42:31.792Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=control-ikea-lightbulb",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=control-ikea-lightbulb",
        "contentDisposition": "attachment; filename=\"control-ikea-lightbulb-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "control-ikea-lightbulb"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/control-ikea-lightbulb"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/control-ikea-lightbulb",
    "downloadUrl": "https://openagent3.xyz/downloads/control-ikea-lightbulb",
    "agentUrl": "https://openagent3.xyz/skills/control-ikea-lightbulb/agent",
    "manifestUrl": "https://openagent3.xyz/skills/control-ikea-lightbulb/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/control-ikea-lightbulb/agent.md"
  }
}
```
## Documentation

### control-ikea-lightbulb

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

When you want to turn a bulb on or off
When you want to set brightness (0-100)
When you want to set color (HSV)
When you have the bulb's local IP and it's accessible from this machine

Contents

scripts/control_kasa_light.py — main runnable script (Python 3.9+)
scripts/light_show.py — small light-show controller for sequences (uses python-kasa). Changes include:

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.


scripts/run_test_light_show.sh — helper to run light_show via uv

Notes

This repo is set up for uv (no manual environment activation). Dependencies live in 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
Install uv:

brew install uv (macOS)
pipx install uv (cross-platform)


The provided wrapper script requires uv:
./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --on --hsv 0 100 80 --brightness 80
The test helper also prefers uv:
./skills/control-ikea-lightbulb/scripts/run_test_light_show.sh --ip 192.168.4.69 --duration 6 --transition 1 --off-flash --verbose
If your device is actually an IKEA TRADFRI device (not Kasa), this script is a starting point; tell me and I will add TRADFRI support.
No cloud credentials are required; control happens over LAN to the device's IP.

Quick start

Install uv (macOS):
brew install uv
Turn the bulb on (replace the IP):
./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --on
Set color and brightness:
./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --hsv 0 100 80 --brightness 80

Git note

No local environment artifacts are tracked; use uv.

Note about Python requirements and recent change

The skill previously declared python-kasa>=0.13.0 which caused dependency resolution failures on this machine. To make the skill runnable locally the project's pyproject.toml was adjusted to:

requires-python = ">=3.11, <4.0"
python-kasa>=0.10.2


This allows the resolver to pick a compatible python-kasa on machines with Python 3.11+. If you prefer a different constraint (or want me to revert this change), tell me and I will update the pyproject.toml and README accordingly.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: antgly
- Version: 1.0.1
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T15:42:31.792Z
- Expires at: 2026-05-06T15:42:31.792Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/control-ikea-lightbulb)
- [Send to Agent page](https://openagent3.xyz/skills/control-ikea-lightbulb/agent)
- [JSON manifest](https://openagent3.xyz/skills/control-ikea-lightbulb/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/control-ikea-lightbulb/agent.md)
- [Download page](https://openagent3.xyz/downloads/control-ikea-lightbulb)