lofy-home: Home Commander for Openclaw

A robust AI skill for managing smart home devices and scene-based environment triggers via Home Assistant.

harrey401
v1.0.0
Feb 10, 2026
0
1.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install lofy-home

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install lofy-home using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is lofy-home: Home Commander?

lofy-home is a comprehensive environment control skill designed to integrate AI assistants with Home Assistant via REST APIs. It allows users to manage lighting, music, climate, and even PC power states through natural language commands or pre-defined scene modes. By bridging the gap between an AI agent and physical hardware, lofy-home creates a seamless bridge for creating the perfect atmosphere for working, relaxing, or sleeping. This integration highlights the power of Openclaw Skills in extending AI capabilities into the physical world.

lofy-home: Home Commander Use Cases

  • Switching to "Study Mode" to optimize lighting and play focus music for deep work sessions.
  • Automating "Goodnight" routines to turn off lights and start white noise generators.
  • Waking up a remote PC using Wake-on-LAN (WoL) magic packets through the AI interface.
  • Quickly adjusting climate or lighting without leaving the terminal or chat interface.
  • Managing presence-based transitions like "I'm heading out" to trigger eco-mode and security routines.

How lofy-home: Home Commander Works

  1. The AI agent parses the user's natural language request, such as "activate chill mode" or "it's cold."
  2. It references the local data/home-config.json file to identify the correct scene parameters or device entity IDs.
  3. The skill constructs a REST API request to the local or remote Home Assistant instance using a secure authorization token.
  4. It executes commands for lights, media players, or other IoT devices using specific service endpoints like /api/services/light/turn_on.
  5. The agent provides a brief, single-message confirmation of the actions taken or reports any connectivity issues if the instance is unreachable.

lofy-home: Home Commander Setup

To get started with this skill, you need a running Home Assistant instance and a Long-Lived Access Token.

  1. Create your configuration file at data/home-config.json with your specific entity IDs.
  2. Set your environment variables:
export HA_URL="http://homeassistant.local:8123"
export HA_TOKEN="your_long_lived_access_token"
  1. Ensure the AI has read access to the config file to identify your scene definitions.
  2. Test connectivity with a simple command to ensure Openclaw Skills can reach your API.

lofy-home: Home Commander Data Schema & Taxonomy

The skill relies on a structured JSON schema in data/home-config.json to map logical names to physical entities:

Section Description
scenes Defines presets (study, chill, sleep) including light brightness, color temperature, and music playlists.
devices Maps friendly names like "desk_lamp" to Home Assistant entity_id strings.
home_assistant Contains the base URL and the name of the environment variable used for the API token.

lofy-home: Home Commander Advanced Features

  • Context-aware scene activation based on the time of day and presence triggers.
  • Multi-device orchestration allowing a single command to toggle lights, music, and DND states simultaneously.
  • Native Wake-on-LAN support for integrating desktop hardware into smart home routines.
  • Intelligent error reporting that suggests specific fixes if a device fails to respond.
  • Safe-execution guards that prevent destructive actions like "turn off all devices" without explicit user confirmation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*