homey-cli
БесплатноБез исполняемых скриптовНе проверенControl Homey home automation hub via CLI. Use when you need to control smart home devices (lights, thermostats, sockets, etc.), check device status, list…
от sundial-org★ 676 звёзд на GitHubОб этом скилле
Homey CLI
Safe, agent-friendly CLI for controlling Homey home automation hubs.
What This Skill Provides
- Device control: Turn devices on/off, dim lights, change colors, set temperatures
- Device inspection: List devices, check status, read capabilities
- Zone management: List zones and devices per zone
- Flow control: List and trigger flows
- Inventory: Get complete hub overview
Setup
1. Install Dependencies
cd skills/homey-cli
npm install
2. Create Homey App Credentials
- Go to https://tools.developer.homey.app/tools/app
- Create a new app with:
- Callback URL:
http://localhost:8787/callback - Note your Client ID and Client Secret
- Callback URL:
3. Configure Environment
Create .env file:
export HOMEY_CLIENT_ID="your-client-id"
export HOMEY_CLIENT_SECRET="your-client-secret"
export HOMEY_REDIRECT_URL="http://localhost:8787/callback"
4. Login
bash run.sh auth login
Follow the OAuth flow in your browser. Tokens are stored in ~/.config/homey-cli/.
Usage
List Homeys
bash run.sh homey list
Select Active Homey
bash run.sh homey use <homeyId>
Device Operations
# List all devices
bash run.sh devices list
# List devices as JSON
bash run.sh devices list --json
# Get specific device
bash run.sh devices get <deviceId>
# Read capability value
bash run.sh devices read <deviceId> onoff
# Control devices
bash run.sh devices on <deviceId>
bash run.sh devices off <deviceId>
bash run.sh devices dim <deviceId> 0.4
bash run.sh devices color <deviceId> #FF8800
bash run.sh devices temperature <deviceId> 21.5
Flow Operations
# List flows
bash run.sh flows list
# Trigger flow
bash run.sh flows trigger <flowId>
Complete Inventory
bash run.sh inventory --json
Safety Model
Write operations are capability-allowlisted for safety:
- Default allowed:
onoff,dim,light_hue,light_saturation,light_temperature,target_temperature - Override via:
export HOMEY_CLI_ALLOWED_CAPABILITIES=onoff,dim,target_temperature
Destructive operations (delete devices, modify flows, change app settings) are not supported.
Common Queries
When users ask:
- "Turn on the kitchen lights" → List devices, find match, use
devices on <deviceId> - "Dim living room to 50%" → Find device, use
devices dim <deviceId> 0.5 - "What's the temperature in the bedroom?" → Find device, use
devices read <deviceId> measure_temperature - "List all my lights" → Use
devices list --jsonand filter by class/capabilities
Configuration Storage
- Tokens:
~/.config/homey-cli/credentials.json - Active Homey:
~/.config/homey-cli/config.json
Troubleshooting
- Auth errors: Re-run
bash run.sh auth login - Device not found: Check device name/ID with
bash run.sh devices list - Capability not allowed: Add to
HOMEY_CLI_ALLOWED_CAPABILITIESor check if it's a read-only capability
Установить homey-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл homey-cli?
Control Homey home automation hub via CLI. Use when you need to control smart home devices (lights, thermostats, sockets, etc.), check device status, list zones, trigger flows, or perform any Homey automation tasks. Supports on/off, dimming, color changes, temperature control, and device inspection. Safe, capability-allowlisted operations only.
Как установить скилл homey-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл homey-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic