✓ Verified
💻 Development
✓ Enhanced Data
Control Ikea Lightbulb
Control IKEA/TP-Link Kasa smart bulbs.
- Rating
- 4.2 (16 reviews)
- Downloads
- 699 downloads
- Version
- 1.0.0
Overview
Control IKEA/TP-Link Kasa smart bulbs.
Complete Documentation
View Source →
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
- 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
- This repo is set up for uv (no manual environment activation). Dependencies live in
pyproject.tomland wrappers preferuv run.
- Install uv:
brew install uv(macOS)pipx install uv(cross-platform)- The provided wrapper script requires uv:
- The test helper also prefers uv:
- 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.
- 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 80Git note
- No local environment artifacts are tracked; use uv.
- 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.
Installation
Terminal bash
openclaw install control-ikea-lightbulb
Copied!
Tags
#smart_home-and-iot
Quick Info
Category Development
Model Claude 3.5
Complexity One-Click
Author antgly
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install control-ikea-lightbulb
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0