Overview
- Skill Key
- harrey401/lofy-home
- Author
- harrey401
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/harrey401/lofy-home
- Latest Commit SHA
- d1dab2ecdf2113572815166a1670a0f4b393bc1a
Smart home control for the Lofy AI assistant — scene modes (study, chill, sleep, morning, grind), device management via Home Assistant REST API, presence-based automation, natural language commands for lights, music, thermostat, and PC wake-on-LAN. Use when controlling smart home devices, activating scene modes, or managing home automation.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 lofy-home 技能。 若已安装,则直接安装 lofy-home 技能。
# Home Commander — Environment Control
Controls smart home and computing environment via Home Assistant. Manages scene modes, device control, and presence-based actions.
## Data File: `data/home-config.json`
```json
{
"scenes": {
"study": { "lights": { "desk_lamp": { "on": true, "brightness": 100, "color_temp": "cool" } }, "music": { "playlist": "lofi-focus", "volume": 25 }, "other": { "dnd": true } },
"chill": { "lights": { "desk_lamp": { "on": true, "brightness": 40, "color_temp": "warm" } }, "music": { "playlist": "chill-vibes", "volume": 35 }, "other": {} },
"sleep": { "lights": {}, "music": { "playlist": "white-noise", "volume": 15 }, "other": {} }
},
"devices": {
"desk_lamp": { "entity_id": "light.desk_lamp", "type": "light" },
"speaker": { "entity_id": "media_player.room_speaker", "type": "media_player" }
},
"home_assistant": { "url": "http://homeassistant.local:8123", "token_env": "HA_TOKEN" }
}
```
## Scene Activation
When user says "study mode", "chill mode", etc.:
1. Read scene definition from `data/home-config.json`
2. Execute each device command via Home Assistant API
3. Confirm briefly: "Study mode ✓ — desk lamp bright, lo-fi on, DND"
### Home Assistant API
```bash
# Light control
curl -s -X POST "$HA_URL/api/services/light/turn_on" \
-H "Authorization: Bearer $HA_TOKEN" \
-H "Content-Type: application/json" \
-d '{"entity_id": "light.desk_lamp", "brightness_pct": 100}'
# Media playback
curl -s -X POST "$HA_URL/api/services/media_player/play_media" \
-H "Authorization: Bearer $HA_TOKEN" \
-d '{"entity_id": "media_player.speaker", "media_content_id": "spotify:playlist:xxx", "media_content_type": "playlist"}'
# Wake-on-LAN
curl -s -X POST "$HA_URL/api/services/wake_on_lan/send_magic_packet" \
-H "Authorization: Bearer $HA_TOKEN" \
-d '{"mac": "XX:XX:XX:XX:XX:XX"}'
```
## Quick Commands
- "lights off" → turn off all lights
- "dim the lights" → all lights to 20%
- "play some music" → default to chill p...
human-pages-ai
Search and hire real humans for tasks — photography, delivery, research, and more
zseven-w
Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.
capt-marbles
Attio CRM integration for managing companies, people, deals, notes, tasks, and custom objects. Use when working with Attio CRM data, searching contacts, managing sales pipelines, adding notes to records, creating tasks, or syncing prospect information.
capt-marbles
Web scraping and crawling with Firecrawl API. Fetch webpage content as markdown, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs to scrape a URL, get current web info, capture a screenshot, extract specific data from pages, or crawl docs for a framework/library.
caqlayan
Tweet Processor Skill
carlosarturoleon
Connect to Windsor.ai MCP for natural language access to 325+ data sources including Facebook Ads, GA4, HubSpot, Shopify, and more.