gohome
БесплатноЗапускает вложенные скриптыНе проверенUse when Openclaw needs to test or operate GoHome (Home Assistant clone) via gRPC discovery, metrics, and Grafana.
Об этом скилле
GoHome Skill
This skill teaches Openclaw how to discover capabilities and validate the GoHome stack using the repo CLI, Prometheus metrics, and Grafana.
Quick start
Set the target host and ports (optional; defaults read from config or MagicDNS):
export GOHOME_HOST="gohome"
export GOHOME_HTTP_BASE="http://${GOHOME_HOST}:8080"
export GOHOME_GRPC_ADDR="${GOHOME_HOST}:9000"
The shutter, camera, speaker and light plugins (shelly, hikvision, sonos,
casambi) can run in a second gohome node. Call them at that node's address,
port 9000 (GOHOME_GRPC_ADDR="<node>:9000").
Use the CLI on PATH (preferred, installed by the nix-openclaw plugin):
gohome-cli services
Use the CLI from source if needed:
go run ./cmd/gohome-cli services
If Go is not available, build with Nix and run the CLI from the result:
nix build .#packages.x86_64-linux.default
./result/bin/gohome-cli services
Discovery flow (read-only)
- List plugins:
GOHOME_GRPC_ADDR="$GOHOME_GRPC_ADDR" go run ./cmd/gohome-cli plugins list
- Describe a plugin:
GOHOME_GRPC_ADDR="$GOHOME_GRPC_ADDR" go run ./cmd/gohome-cli plugins describe tado
- List methods for a service:
GOHOME_GRPC_ADDR="$GOHOME_GRPC_ADDR" go run ./cmd/gohome-cli methods gohome.plugins.tado.v1.TadoService
- Call a safe RPC (read-only):
jq -n '{}' | GOHOME_GRPC_ADDR="$GOHOME_GRPC_ADDR" go run ./cmd/gohome-cli call \
gohome.plugins.tado.v1.TadoService/ListZones
Friendly CLI (agent-friendly)
Roborock:
gohome-cli roborock status
gohome-cli roborock rooms
gohome-cli roborock clean kitchen
gohome-cli roborock mop kitchen
gohome-cli roborock vacuum kitchen
gohome-cli roborock smart kitchen
gohome-cli roborock map --labels names
Sending maps to users (Telegram/messaging)
When user asks for a map, send it as an image they can see inline. Use the MEDIA: syntax with the gohome map URL:
MEDIA:http://gohome:8080/roborock/map.png?device_name=<device name>&labels=names
Robot on dock. Battery 100%.
This sends the map image directly in the chat. Options:
labels=names— room names (recommended)labels=segments— segment IDs- no labels param — clean map
Do NOT just describe the map or show it in a code block — send it as a MEDIA: image so users can see it.
Tado:
gohome-cli tado zones
gohome-cli tado set <zone> 20
Weheat (read-only):
GOHOME_GRPC_ADDR="$GOHOME_GRPC_ADDR" go run ./cmd/gohome-cli methods \
gohome.plugins.weheat.v1.WeheatService
jq -n '{state: 3}' | GOHOME_GRPC_ADDR="$GOHOME_GRPC_ADDR" go run ./cmd/gohome-cli call \
gohome.plugins.weheat.v1.WeheatService/ListHeatPumps
jq -n '{heat_pump_id: "<id>"}' | GOHOME_GRPC_ADDR="$GOHOME_GRPC_ADDR" go run ./cmd/gohome-cli call \
gohome.plugins.weheat.v1.WeheatService/GetLatestLog
Sonos (read-only: what's playing and at what volume; it cannot play, pause or change volume):
GOHOME_GRPC_ADDR="$GOHOME_GRPC_ADDR" go run ./cmd/gohome-cli call \
gohome.plugins.sonos.v1.SonosService/GetPlayback --data '{}'
Metrics validation
Confirm the Tado scraper is healthy and metrics are present:
curl -s "${GOHOME_HTTP_BASE}/gohome/metrics" | rg -n "gohome_tado_"
Expect:
gohome_tado_scrape_success 1- zone temperature + humidity metrics
Confirm Weheat metrics:
curl -s "${GOHOME_HTTP_BASE}/gohome/metrics" | rg -n "gohome_weheat_"
Expect:
gohome_weheat_scrape_success 1- per-heat-pump log + energy metrics
Grafana access
Grafana is proxied under:
${GOHOME_HTTP_BASE}/grafana/
Use MagicDNS (gohome) or set GOHOME_HOST to the tailnet FQDN if needed.
Stateful / destructive actions (require explicit approval)
Only call write RPCs after user approval. Example:
jq -n --arg zone_id "1" --argjson temp 20.0 \
'{zone_id: $zone_id, temperature_celsius: $temp}' | \
GOHOME_GRPC_ADDR="$GOHOME_GRPC_ADDR" go run ./cmd/gohome-cli call \
gohome.plugins.tado.v1.TadoService/SetTemperature
Troubleshooting
- If DNS fails, verify MagicDNS is enabled and run
tailscale status. - If metrics are missing, check
gohome_tado_scrape_success/gohome_weheat_scrape_successand token validity. - Prefer
jq -nto build JSON for gRPC calls; it avoids quoting mistakes. gohome-clireads/etc/gohome/config.pbtxt(or~/.config/gohome/config.pbtxt) for default host info.
Установить gohome в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл gohome?
Use when Openclaw needs to test or operate GoHome (Home Assistant clone) via gRPC discovery, metrics, and Grafana.
Как установить скилл gohome?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gohome запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic