glitch-homeassistant
بواسطة chris6970barbarian-hue
Smart Home & IoTموجز
Control smart home devices via Home Assistant API.
الوصف
ما الذي تفعله هذه المهارة
Controls Home Assistant devices from the command line via the HA REST API. Supports lights, switches, covers, climate, locks, scenes, and scripts. Entity matching is case-insensitive with partial and fuzzy name support.
Lets you control smart home devices from the terminal, making it straightforward to include device actions in shell scripts or automation workflows without switching to a browser or mobile app.
متى تستخدمها
- Dimming bedroom lights to a set brightness before bed
- Adjusting thermostat temperature from a terminal script
- Activating a movie scene without opening the HA web UI
- Running a morning routine script to trigger multiple devices at once
- Listing all entities to find the correct device name
مثال على سير العمل
User asks: set the living room lights to orange at 40% brightness
- 1
Runs
ha-cli on living roomto turn on the light - 2
Runs
ha-cli brightness 40 living roomto set brightness - 3
Runs
ha-cli rgb #FF5500 living roomto apply the orange color - 4
Confirms entity was matched via fuzzy name resolution
Living room light is on at 40% brightness with an orange color
المتطلبات
- Home Assistant instance running and accessible on your network
- Long-Lived Access Token generated from your HA user profile page
التثبيت
clawhub install chris6970barbarian-hue/glitch-homeassistantشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.