Geeklink Home
by @lintertion
[English] Control Geeklink Home local gateway devices and scenes over LAN via the bundled self-contained Node.js runtime. Supports device listing, scene list...
clawhub install geeklink-home📖 About This Skill
name: geeklink-home description: "[English] Control Geeklink Home local gateway devices and scenes over LAN via the bundled self-contained Node.js runtime. Supports device listing, scene listing, state checks, scene activation, and local device control using pairing-token based auth. | [中文] 通过内置自包含的 Node.js 运行时,在局域网内控制 Geeklink Home 网关设备和场景。支持设备列表、场景列表、状态查询、场景执行,以及基于配对 token 的本地设备控制。" metadata: {"clawdbot":{"emoji":"🏠","requires":{"bins":["node"]}}}
Geeklink Home Control | Geeklink Home 局域网控制
[English] | 中文
English
Use the local Geeklink Home gateway over LAN through the bundled self-contained Node.js skill runtime.
Features
吊灯 and 筒灯vendor/geeklink-lan-cli.js runtimeSetup
1. Ensure vendor/geeklink-lan-cli.js exists in the installed skill package.
2. Open the gateway details page in the Geeklink app and go to AI Skill Access.
3. Copy gatewayHost and pairingToken from that page.
4. Use the cross-platform Node wrapper scripts in scripts/ to query devices, scenes, states, and execute actions.
5. When loaded by ClawHub/OpenClaw as a skill runtime, the watcher is started automatically and tools can read recent events.
Core Workflow
1. Open the gateway details page in the Geeklink app and enter AI Skill Access.
2. Read the gatewayHost and pairingToken shown on that page.
3. Run node scripts/geeklink-home.js login --host once to cache session.
3. Use:
- node scripts/geeklink-home.js catalog devices --refresh
- node scripts/geeklink-home.js catalog devices --query 吊灯 --refresh
- node scripts/geeklink-home.js catalog scenes --refresh
- node scripts/geeklink-home.js state snapshot --refresh
- node scripts/geeklink-home.js scene activate
- node scripts/geeklink-home.js device control
Natural Language Mapping
When the user asks for:
catalog devices --refreshcatalog scenes --refreshcatalog_device_id (for example 吊灯 under a panel), then run device control --power on device control --power on --temperature 26 --mode cool --fan-speed high scene_id, then run scene activate geeklink_get_device_stategeeklink_get_recent_eventsDo not guess catalog_device_id. Always list devices first if the mapping is unclear. When a panel exposes named roads, prefer the expanded road device like 吊灯 instead of the parent panel name.
Release Notes
0.1.0lintertion.中文说明
通过内置的自包含 Node.js 运行时,在局域网内直接访问 Geeklink Home 网关。
功能
vendor/geeklink-lan-cli.js 为底层运行时吊灯、筒灯使用前准备
1. 确认已安装的 skill 包中存在 vendor/geeklink-lan-cli.js。
2. 在 Geeklink App 的网关详情页进入 AI技能接入 页面。
3. 在该页面查看并复制 gatewayHost 和 pairingToken。
4. 通过 scripts/ 中的跨平台 Node 包装脚本完成登录、列表查询、场景执行和设备控制。
5. 如果由 ClawHub/OpenClaw 以常驻 skill runtime 加载,watcher 会自动启动,并支持读取最近事件。
建议工作流
1. 先在 Geeklink App 的网关详情页打开 AI技能接入 页面。
2. 记录页面展示的 gatewayHost 和 pairingToken。
3. 首次使用先执行:
node scripts/geeklink-home.js login --host --pairing-token
4. 然后按需执行:
- node scripts/geeklink-home.js catalog devices --refresh
- node scripts/geeklink-home.js catalog devices --query 吊灯 --refresh
- node scripts/geeklink-home.js catalog scenes --refresh
- node scripts/geeklink-home.js state snapshot --refresh
- node scripts/geeklink-home.js scene activate
- node scripts/geeklink-home.js device control ... 自然语言意图映射
catalog devices --refreshcatalog scenes --refreshcatalog_device_id,再执行 device control --power on device control --power on --temperature 26 --mode cool --fan-speed high scene_id,再执行 scene activate geeklink_get_device_stategeeklink_get_recent_events不要猜测 catalog_device_id。如果设备匹配不确定,先列出设备再确认。对于多路面板,优先使用展开后的子设备名,例如 吊灯、筒灯,不要只盯着父设备名。
发布说明
0.1.0ownerId 为 lintertion。⚙️ Configuration
1. Ensure vendor/geeklink-lan-cli.js exists in the installed skill package.
2. Open the gateway details page in the Geeklink app and go to AI Skill Access.
3. Copy gatewayHost and pairingToken from that page.
4. Use the cross-platform Node wrapper scripts in scripts/ to query devices, scenes, states, and execute actions.
5. When loaded by ClawHub/OpenClaw as a skill runtime, the watcher is started automatically and tools can read recent events.
Core Workflow
1. Open the gateway details page in the Geeklink app and enter AI Skill Access.
2. Read the gatewayHost and pairingToken shown on that page.
3. Run node scripts/geeklink-home.js login --host once to cache session.
3. Use:
- node scripts/geeklink-home.js catalog devices --refresh
- node scripts/geeklink-home.js catalog devices --query 吊灯 --refresh
- node scripts/geeklink-home.js catalog scenes --refresh
- node scripts/geeklink-home.js state snapshot --refresh
- node scripts/geeklink-home.js scene activate
- node scripts/geeklink-home.js device control
Natural Language Mapping
When the user asks for:
catalog devices --refreshcatalog scenes --refreshcatalog_device_id (for example 吊灯 under a panel), then run device control --power on device control --power on --temperature 26 --mode cool --fan-speed high scene_id, then run scene activate geeklink_get_device_stategeeklink_get_recent_eventsDo not guess catalog_device_id. Always list devices first if the mapping is unclear. When a panel exposes named roads, prefer the expanded road device like 吊灯 instead of the parent panel name.
Release Notes
0.1.0lintertion.