कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

control-ikea-lightbulb

antgly द्वारा

Smart Home & IoT
1.5kclawskills.sh द्वारा बताए गए डाउनलोड
1स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Control IKEA/TP-Link Kasa smart bulbs.

विवरण

यह स्किल क्या करती है

Controls TP-Link Kasa-compatible smart bulbs over a local network using a Python script and the python-kasa library. Supports toggling power, setting brightness from 0 to 100, and changing color via HSV values. No cloud account or credentials are required.

Works entirely over LAN without a cloud account, so it keeps working when the vendor's servers are down or discontinued.

इसे कब इस्तेमाल करें

  • Turning a desk lamp on at a scheduled time
  • Flashing a bulb red when a build fails
  • Running a color sequence for a light show
  • Dimming lights automatically in the evening
  • Scripting bulb state changes from a home server

उदाहरण वर्कफ़्लो

इनपुट

User asks: turn on the bulb at 192.168.4.69 and set it to red at 80% brightness

एजेंट
  1. 1

    Identify the bulb's local IP address (192.168.4.69)

  2. 2

    Run the control script with --on to power the bulb on

  3. 3

    Pass --hsv 0 100 80 to set the hue to red with full saturation

  4. 4

    Pass --brightness 80 to set brightness to 80%

आउटपुट

Bulb turns on and displays red at 80% brightness

आवश्यकताएँ

  • uv package manager (install via 'brew install uv' on macOS or 'pipx install uv' cross-platform)
  • TP-Link Kasa-compatible smart bulb accessible on the local network with a known IP address

इंस्टॉलेशन

clawhub install antgly/control-ikea-lightbulb

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक