smart-home

Control Philips Hue and Home Assistant devices via REST APIs from the terminal.

30|5|Updated Jul 25, 2025
One-click install
npx skills add https://github.com/phuetz/code-buddy --skill smart-home
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smart-home
Source: https://github.com/phuetz/code-buddy/tree/main/.codebuddy/skills/bundled/smart-home
Command: npx skills add https://github.com/phuetz/code-buddy --skill smart-home

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables controlling Philips Hue and Home Assistant devices directly from the terminal, eliminating the need to open dashboards for common actions.

Core Features & Use Cases

  • Direct REST API control of Hue lights and Home Assistant entities from the command line.
  • Status and control: list lights or entities, turn devices on/off, adjust brightness, and activate scenes or automations.
  • Use Case: Imagine starting a movie night by listing all lights, turning on the living room light to 50% brightness, and triggering a movie scene with a single command.

Quick Start

Configure your Hue bridge IP (and authentication) and your Home Assistant token, then issue example curl commands to list lights, toggle a light, and apply a scene as shown in the Skill documentation.

Frequently Asked Questions about smart-home

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I control Philips Hue lights from the terminal?

Control Philips Hue lights from the terminal by sending direct REST API requests using standard CLI tools like curl. You need your local Hue bridge IP address and authentication token to list lights, toggle power, and adjust brightness.

Can I trigger Home Assistant automations via the command line?

Trigger Home Assistant automations via the command line by calling the local REST API with curl. Providing your Home Assistant token allows you to activate scenes and manipulate entities directly without opening the web dashboard.

Do I need any special dependencies to manage smart home devices locally?

No special dependencies are required to manage smart home devices locally beyond standard CLI tools. You only need network access to your local Hue bridge and Home Assistant server, along with the appropriate authentication tokens.

What is the best way to automate home lighting without a dashboard?

Automate home lighting without a dashboard by issuing terminal commands directly to the REST API. This approach enables quick actions like setting living room brightness to 50% and activating movie scenes using a single command line.

Does terminal-based home automation work across local networks?

Terminal-based home automation works across local networks by communicating directly with your Hue bridge and Home Assistant server over the local connection. This requires network access to the devices and proper token authentication.