搜索

PythonReactSEOPDF
OpenClaw

wiz-light-control

Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.

canbirlik0 来源安装数☆ 0 仓库 Stars

安装与使用

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

SkillHub CLI

skillhub install canbirlik/wiz-light-control

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

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

查看来源 ↗使用指南

技能说明

Wiz Light Control Skill

This skill allows the agent to control physical Wiz smart lights on the local network.

⚠️ IMPORTANT CONFIGURATION: The IP address 192.168.1.109 used in examples is a placeholder. You MUST find the actual Local IP address of the Wiz Bulb on the network before running commands.

🛠️ Installation & Setup (READ FIRST)

Before running the script for the first time, you MUST set up the Python environment. The agent should verify if venv exists. If not, run this setup command block automatically:

# 1. Create Virtual Environment and Install Dependencies
python3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt

Tools & Usage

wiz.py

The main script to interact with the light.

Arguments:

  • --ip: The IP address of the bulb (Required).
  • --action: The command to execute. Options: on, off, color, disco.
  • --r, --g, --b: Red, Green, Blue values (0-255) (Used for color action).
  • --duration: Duration in seconds (Used for disco action).

Example Prompts:

  • "Turn on the disco mode in my room for 30 seconds."
  • "Turn off the light."
  • "Change the light color to red."

Execution Examples:

# 1. Turn on Disco Mode (Check IP first!)
python wiz.py --ip 192.168.1.109 --action disco --duration 60

# 2. Turn OFF
python wiz.py --ip 192.168.1.109 --action off

# 3. Turn ON
python wiz.py --ip 192.168.1.109 --action on

# 4. Set specific color (e.g., Red)
python wiz.py --ip 192.168.1.109 --action color --r 255 --g 0 --b 0

来源信息

Source
github
Repository
openclaw/skills
Path
skills/canbirlik/wiz-light-control
Version
—
Commit
c65ec08a05ab7bef7753187095d1bb0fca12262a
分类来源
rules
状态
active
可见性
public

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

来源内容

SKILL.md
# Wiz Light Control Skill

This skill allows the agent to control physical Wiz smart lights on the local network. 

⚠️ **IMPORTANT CONFIGURATION:**
The IP address `192.168.1.109` used in examples is a placeholder. You **MUST** find the actual Local IP address of the Wiz Bulb on the network before running commands.

## 🛠️ Installation & Setup (READ FIRST)

**Before running the script for the first time, you MUST set up the Python environment.**
The agent should verify if `venv` exists. If not, run this setup command block automatically:

```bash
# 1. Create Virtual Environment and Install Dependencies
python3 -m venv venv && source venv/bin/activate && pip install -r requirements.txt
```
## Tools & Usage

### `wiz.py`

The main script to interact with the light.

**Arguments:**
- `--ip`: The IP address of the bulb (Required).
- `--action`: The command to execute. Options: `on`, `off`, `color`, `disco`.
- `--r`, `--g`, `--b`: Red, Green, Blue values (0-255) (Used for `color` action).
- `--duration`: Duration in seconds (Used for `disco` action).

**Example Prompts:**
- "Turn on the disco mode in my room for 30 seconds."
- "Turn off the light."
- "Change the light color to red."

**Execution Examples:**

```bash
# 1. Turn on Disco Mode (Check IP first!)
python wiz.py --ip 192.168.1.109 --action disco --duration 60

# 2. Turn OFF
python wiz.py --ip 192.168.1.109 --action off

# 3. Turn ON
python wiz.py --ip 192.168.1.109 --action on

# 4. Set specific color (e.g., Red)
python wiz.py --ip 192.168.1.109 --action color --r 255 --g 0 --b 0

相关技能

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.