TopRank Skills

Home / Claw Skills / Others / dirigera-control
Official OpenClaw rules 15%

dirigera-control

Control IKEA Dirigera smart home devices (lights, outlets, scenes, controllers). Use when the user asks to control smart home devices, check device status, turn lights on/off, adjust brightness/color, control outlets, trigger scenes, check battery levels, or work with IKEA smart home automation. Also use when the user needs help finding the Dirigera hub IP address or generating an API token. Accessible via Cloudflare tunnel on VPS.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 dirigera-control 技能。 若已安装,则直接安装 dirigera-control 技能。

Overview

Skill Key
falderebet/dirigera-control
Author
falderebet
Source Repo
openclaw/skills
Version
-
Source Path
skills/falderebet/dirigera-control
Latest Commit SHA
34c2beb75d9f06a08e8ae9c2913c403f3a6947d9

Extracted Content

SKILL.md excerpt

# IKEA Dirigera Smart Home Control

Control lights, outlets, scenes, and other IKEA smart home devices through the Dirigera hub.

## Prerequisites

```python
pip install dirigera
```

## Hub Setup

### Find Hub IP

Check the router/DHCP client list for "Dirigera" and note its IP address.

If the agent is on the same LAN, try the IP discovery script. It can:
1. Scan the subnet for likely candidates (no token required).
2. Verify the exact hub IP if a token is available.
3. As a last resort, try `generate-token` against candidates (interactive).

```bash
python scripts/find_dirigera_ip.py
# or
python scripts/find_dirigera_ip.py --subnet 192.168.1.0/24
# verify with token (if you have it)
python scripts/find_dirigera_ip.py --token <dirigera-token>
# last resort: try generate-token against candidates
python scripts/find_dirigera_ip.py --try-generate-token
```

### Generate Token

**IMPORTANT**: Token generation REQUIRES PHYSICAL USER ACTION. Follow this workflow:

#### Step 1: Start Token Generation Script
Run the wrapper script in the background. It will automatically wait for the button press:

```bash
python scripts/generate_token_wrapper.py <dirigera-ip-address> &
```

The token will be saved to `dirigera_token.txt` by default. To specify a custom location:

```bash
python scripts/generate_token_wrapper.py <dirigera-ip-address> --output /path/to/token.txt &
```

#### Step 2: **END YOUR TURN AND INFORM THE USER**
**CRITICAL**: After starting the script, you MUST:
1. **End your turn immediately** - do not wait or continue processing
2. Tell the user: "I've started the token generation process. Please press the ACTION BUTTON on the bottom of your Dirigera hub now. Let me know when you've pressed it."

#### Step 3: Wait for User Confirmation
The user will:
1. Physically press the button on their Dirigera hub
2. Reply to you confirming they pressed it (e.g., "Done" or "Pressed")

The script will automatically detect the button press and save the token to the file.

####...

Related Claw Skills