Wiz Smart Light Control
简介
Wiz Smart Light Control
原始描述
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
技能正文
name: wiz-light-control description: Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi. author: "@canbirlik" emoji: "💡" platforms:
- darwin
- linux
- win32
dependencies:
python:
- pywizlight
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 forcoloraction).--duration: Duration in seconds (Used fordiscoaction).
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
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。