docs: clarify complex group requests in SKILL.md

This commit is contained in:
Helios 2026-02-23 00:46:22 +01:00
parent 5998c6cbfd
commit 600ce88a02
No known key found for this signature in database
GPG key ID: C8259547CD8309B5
2 changed files with 3 additions and 2 deletions

View file

@ -11,10 +11,10 @@ Backed by [helios-smart-home](https://github.com/agent-helios/helios-smart-home)
## Script ## Script
```bash ```bash
python3 ~/.openclaw/workspace/skills/smart-home/repo/smarthome.py <command> [args] python3 ~/.openclaw/workspace/skills/smart-home/smarthome.py <command> [args]
``` ```
Device mappings are stored in `repo/mappings.json` (next to the script). Shelly devices must be reachable on the local network. Device mappings are stored in `mappings.json` (next to the script). Shelly devices must be reachable on the local network.
## Commands ## Commands
@ -63,6 +63,7 @@ Status example (1 Mini):
## Usage Notes ## Usage Notes
- **Complex requests:** If Moritz asks for "relaxed light in living room" (intersection of groups), first run `list` to see group members, manually calculate the intersection/target devices, then call `on/off` for the specific device aliases.
- Present power in a human-friendly way: `42.5 W`, energy as `1.23 kWh` (only if available in JSON) - Present power in a human-friendly way: `42.5 W`, energy as `1.23 kWh` (only if available in JSON)
- If a device is unreachable, `online: false` — tell Moritz it's offline - If a device is unreachable, `online: false` — tell Moritz it's offline
- `alias` is the friendly name (e.g. "schreibtisch", "drucker", "1"); prefer using aliases over hw_ids - `alias` is the friendly name (e.g. "schreibtisch", "drucker", "1"); prefer using aliases over hw_ids

0
smarthome.py Normal file → Executable file
View file