跳至主要内容
小龙虾小龙虾AI
🤖

Govee Lights Control

Control Govee smart lights to turn on/off, adjust brightness, set colors, and manage device states via the Govee API.

下载2.8k
星标2
版本1.0.0
开发工具
安全通过

技能说明


name: govee-lights description: Control Govee smart lights via the Govee API. Supports turning lights on/off, adjusting brightness, setting colors, and scenes. Use for: (1) Controlling individual lights or groups by name, (2) Setting colors and brightness, (3) Managing device states

Govee Lights Control

Control Govee smart lights using natural language commands.

Quick Reference

CommandExample
List devicespython3 scripts/govee.py list
Turn onpython3 scripts/govee.py on "lamp"
Turn offpython3 scripts/govee.py off "lamp"
Brightnesspython3 scripts/govee.py brightness "lamp" 75
Colorpython3 scripts/govee.py color "lamp" 255 100 50

Natural Language Patterns

  • "Turn on [device name]"
  • "Turn off [device name]"
  • "Set [device name] to [brightness]%"
  • "Set [device name] to [color name or RGB]"
  • "Dim/Brighten [device name]"

Setup

  1. Get API key from Govee Developer Portal
  2. Set environment variable: export GOVEE_API_KEY="your-key"
  3. Install dependencies: pip3 install requests

Usage Examples

# List all devices
python3 scripts/govee.py list

# Control lights
python3 scripts/govee.py on "living room"
python3 scripts/govee.py off bedroom
python3 scripts/govee.py brightness "desk lamp" 50

# Set colors (RGB 0-255)
python3 scripts/govee.py color "strip" 255 0 0      # Red
python3 scripts/govee.py color "strip" 0 255 0      # Green
python3 scripts/govee.py color "strip" 255 165 0    # Orange

Troubleshooting

See TROUBLESHOOTING.md for common issues.

如何使用「Govee Lights Control」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Govee Lights Control技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能