home-automation

Installation
SKILL.md

home-automation

Purpose

This skill integrates smart home systems using Home Assistant, HomeKit, Google Home, and Matter protocols, allowing the AI to control IoT devices programmatically for automation tasks.

When to Use

Use this skill for automating home environments, such as controlling lights, thermostats, or security systems via IoT platforms. Apply it in scenarios like smart home apps, voice assistant integrations, or custom scripts for daily routines (e.g., turning off lights at bedtime).

Key Capabilities

  • Connect to Home Assistant via REST API for device state management.
  • Integrate with HomeKit using the HAP protocol for Apple ecosystem devices.
  • Use Google Home APIs for controlling compatible smart devices.
  • Handle Matter devices through bridge APIs for cross-platform compatibility.
  • Specifics: Home Assistant API endpoint for states is GET /api/states; HomeKit requires Bonjour discovery; Google Home uses OAuth 2.0 with scopes like https://www.googleapis.com/auth/homeautomation; Matter involves IP-based commissioning.

Usage Patterns

To use this skill, first initialize it with authentication. Import via skill.use('home-automation'), then call methods like skill.connect(service, key). For sequential tasks, chain calls: connect, query state, execute action. Always handle async operations with promises or callbacks. Config format: JSON objects, e.g., {"service": "home-assistant", "api_url": "http://localhost:8123"}.

Related skills
Installs
53
GitHub Stars
5
First Seen
Mar 7, 2026