{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/control-ikea-lightbulb",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=control-ikea-lightbulb",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "pyproject.toml",
      "scripts/__init__.py",
      "scripts/control_kasa_light.py",
      "scripts/light_show.py",
      "scripts/light_show_verbose.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/control-ikea-lightbulb",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "control-ikea-lightbulb",
        "body": "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.\n\nWhen to use this skill\n\nWhen you want to turn a bulb on or off\nWhen you want to set brightness (0-100)\nWhen you want to set color (HSV)\nWhen you have the bulb's local IP and it's accessible from this machine\n\nContents\n\nscripts/control_kasa_light.py — main runnable script (Python 3.9+)\nscripts/light_show.py — small light-show controller for sequences (uses python-kasa). Changes include:\n\nDefault white uses a high color temperature (9000K) to make white appear \"whiter\"; pass --white-temp to override.\nBug 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.\n\n\nscripts/run_test_light_show.sh — helper to run light_show via uv\n\nNotes\n\nThis repo is set up for uv (no manual environment activation). Dependencies live in pyproject.toml and wrappers prefer uv run.\nExample:\nuv 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\nInstall uv:\n\nbrew install uv (macOS)\npipx install uv (cross-platform)\n\n\nThe provided wrapper script requires uv:\n./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --on --hsv 0 100 80 --brightness 80\nThe test helper also prefers uv:\n./skills/control-ikea-lightbulb/scripts/run_test_light_show.sh --ip 192.168.4.69 --duration 6 --transition 1 --off-flash --verbose\nIf your device is actually an IKEA TRADFRI device (not Kasa), this script is a starting point; tell me and I will add TRADFRI support.\nNo cloud credentials are required; control happens over LAN to the device's IP.\n\nQuick start\n\nInstall uv (macOS):\nbrew install uv\nTurn the bulb on (replace the IP):\n./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --on\nSet color and brightness:\n./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --hsv 0 100 80 --brightness 80\n\nGit note\n\nNo local environment artifacts are tracked; use uv.\n\nNote about Python requirements and recent change\n\nThe 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:\n\nrequires-python = \">=3.11, <4.0\"\npython-kasa>=0.10.2\n\n\nThis 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."
      }
    ],
    "body": "control-ikea-lightbulb\n\nThis 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.\n\nWhen to use this skill\n\nWhen you want to turn a bulb on or off\nWhen you want to set brightness (0-100)\nWhen you want to set color (HSV)\nWhen you have the bulb's local IP and it's accessible from this machine\n\nContents\n\nscripts/control_kasa_light.py — main runnable script (Python 3.9+)\nscripts/light_show.py — small light-show controller for sequences (uses python-kasa). Changes include:\nDefault white uses a high color temperature (9000K) to make white appear \"whiter\"; pass --white-temp to override.\nBug 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.\nscripts/run_test_light_show.sh — helper to run light_show via uv\n\nNotes\n\nThis 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\nInstall uv:\nbrew install uv (macOS)\npipx install uv (cross-platform)\nThe 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\nThe 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\nIf your device is actually an IKEA TRADFRI device (not Kasa), this script is a starting point; tell me and I will add TRADFRI support.\nNo cloud credentials are required; control happens over LAN to the device's IP.\n\nQuick start\n\nInstall uv (macOS): brew install uv\nTurn the bulb on (replace the IP): ./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --on\nSet color and brightness: ./skills/control-ikea-lightbulb/scripts/run_control_kasa.sh --ip 192.168.4.69 --hsv 0 100 80 --brightness 80\n\nGit note\n\nNo local environment artifacts are tracked; use uv.\n\nNote about Python requirements and recent change\n\nThe 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:\nrequires-python = \">=3.11, <4.0\"\npython-kasa>=0.10.2\nThis 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": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/antgly/control-ikea-lightbulb",
    "publisherUrl": "https://clawhub.ai/antgly/control-ikea-lightbulb",
    "owner": "antgly",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}