Resources
2Install
npx skillscat add idanbeck/claude-skills/wyze-skill Install via the SkillsCat registry.
SKILL.md
Wyze Camera Skill
Control and monitor Wyze cameras. View events, check status, turn cameras on/off, and download event clips.
Setup
1. Install Dependencies
pip3 install wyze-sdk2. Authenticate
python3 ~/.claude/skills/wyze-skill/wyze_skill.py setup YOUR_EMAIL YOUR_PASSWORDIf you have 2FA enabled:
python3 ~/.claude/skills/wyze-skill/wyze_skill.py verify YOUR_CODE3. Verify Setup
python3 ~/.claude/skills/wyze-skill/wyze_skill.py camerasCommands
List Cameras
python3 ~/.claude/skills/wyze-skill/wyze_skill.py camerasList All Devices
python3 ~/.claude/skills/wyze-skill/wyze_skill.py devicesGet Camera Status
python3 ~/.claude/skills/wyze-skill/wyze_skill.py status "Garage"
python3 ~/.claude/skills/wyze-skill/wyze_skill.py status # All camerasGet Snapshot/Thumbnail
python3 ~/.claude/skills/wyze-skill/wyze_skill.py snapshot "Garage"Note: Wyze API provides thumbnails from the last motion event rather than live snapshots. For live streaming, consider enabling RTSP on your camera.
Check Recent Events
python3 ~/.claude/skills/wyze-skill/wyze_skill.py events
python3 ~/.claude/skills/wyze-skill/wyze_skill.py events --camera "Garage" --hours 12 --limit 10Download Event Video
python3 ~/.claude/skills/wyze-skill/wyze_skill.py download
python3 ~/.claude/skills/wyze-skill/wyze_skill.py download --camera "Garage"Saves video to ~/.claude/skills/wyze-skill/snapshots/
Turn Camera On/Off
python3 ~/.claude/skills/wyze-skill/wyze_skill.py on "Garage"
python3 ~/.claude/skills/wyze-skill/wyze_skill.py off "Garage"Output
All commands return JSON:
{
"cameras": [
{
"name": "Garage Cam",
"mac": "AABBCCDD1122",
"model": "WYZE_CAKP2JFUS",
"is_online": true
}
],
"count": 1
}Limitations
- Live Snapshots: Wyze API doesn't support on-demand live snapshots. Use RTSP firmware for live streaming.
- Event Storage: Event video clips require Cam Plus subscription for cloud storage.
- Rate Limits: Wyze API has rate limits; avoid excessive polling.
RTSP for Live Streaming
Some Wyze cameras support RTSP firmware for direct video streaming:
- Flash RTSP firmware via Wyze app (if available for your model)
- Get RTSP URL from camera settings
- Use VLC or ffmpeg to capture frames:
ffmpeg -i "rtsp://USER:PASS@CAMERA_IP/live" -vframes 1 snapshot.jpgSecurity Notes
- Credentials stored locally in
~/.claude/skills/wyze-skill/credentials.json - Tokens auto-refresh when possible
- Password stored only if token refresh fails repeatedly
Troubleshooting
"Not authenticated" Error
Run setup again with your credentials.
2FA Required
Complete the verify step with your 2FA code.
Rate Limited
Wait a few minutes and try again. Avoid rapid repeated calls.
Camera Not Found
Camera names are partial matches (case-insensitive). Run cameras to see exact names.
#wyze #cameras #security #smart-home