搜索

PythonReactSEOPDF
OpenClaw

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.

falderebet0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install falderebet/dirigera-control

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

IKEA Dirigera Smart Home Control

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

Prerequisites

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).
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:

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:

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.

####...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/falderebet/dirigera-control
Version
—
Commit
34c2beb75d9f06a08e8ae9c2913c403f3a6947d9
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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.

####...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.