Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

tradfri-lights特拉德弗里灯

Agent Skill

tradfri-lights 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,481

周安装

148

GitHub Stars

公开资料未说明

下载量

1,220
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tradfri-lights(特拉德弗里灯)
来源仓库:https://github.com/ymebosma/tradfri-lights
安装命令:
openclaw skills install tradfri-lights
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install tradfri-lights

简介

tradfri-lights 用于控制 IKEA TRÅDFRI 灯光设备,适合在 OpenClaw 中需要智能家居控制时使用。

  • 适用于通过本地网关 API 控制灯光和灯组的场景。
  • 通过 clawhub 安装,使用 openclaw skills install tradfri-lights 命令部署。
  • 需确认权限范围和维护状态,注意会调用 node-tradfri-client 库。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
tradfri-lights
description
Control IKEA TRÅDFRI lights and groups through a local TRÅDFRI gateway using the native gateway API via node-tradfri-client. Use when the user wants to list IKEA lights or groups, turn a TRÅDFRI light or group on/off, adjust brightness, check what lights are on, find offline lights, or run safe whole-house TRÅDFRI actions on the same network.

Tradfri Lights

Use this skill for local IKEA TRÅDFRI light control through an IKEA TRÅDFRI gateway.

Quick start

  • Use scripts/tradfri.js for actual gateway actions.
  • Read references/setup.md before first use to configure the gateway host and credentials.
  • Install dependencies in the skill folder before first use: npm install.
  • This skill depends on node-tradfri-client and a locally reachable IKEA TRÅDFRI gateway.
  • Prefer exact light/group names, but the script also supports simple fuzzy matching.
  • For surprising household actions, confirm first unless the user clearly asked for the action.

Commands

Run commands from the skill folder or with an absolute path.

Check connection

node scripts/tradfri.js status

List lights

node scripts/tradfri.js list-devices

List groups

node scripts/tradfri.js list-groups

Show what is on

node scripts/tradfri.js whats-on

Show offline lights

node scripts/tradfri.js offline

Turn a light on or off

node scripts/tradfri.js light-off "Speelkamer 1"
node scripts/tradfri.js light-on "Speelkamer 1"

Set brightness

node scripts/tradfri.js brightness "Speelkamer 1" 35

Turn a group on or off

node scripts/tradfri.js group-off "Woonkamer"
node scripts/tradfri.js group-on "Woonkamer"

Set group brightness

node scripts/tradfri.js group-brightness "Woonkamer" 50
node scripts/tradfri.js group-brightness "Slaapkamers" 100

Turn the main house groups all on or off

node scripts/tradfri.js all-on
node scripts/tradfri.js all-on _ 100
node scripts/tradfri.js all-off
node scripts/tradfri.js all-on _ 50 --verify

Note: SuperGroup and Instellen are intentionally excluded from bulk actions.

Control one floor

node scripts/tradfri.js floor-on 1 50 --verify
node scripts/tradfri.js floor-off 4 --verify

Apply a house layout preset

node scripts/tradfri.js layout day --verify
node scripts/tradfri.js layout evening --verify
node scripts/tradfri.js layout night --verify

Operating rules

  • Match exact names first; fall back to fuzzy/partial matching only when it yields one clear result.
  • If multiple likely matches exist, show candidates and ask.
  • If a target is offline (alive: false), say so explicitly instead of pretending the action succeeded.
  • After changing a light or group, report the exact target used.
  • After smart-home actions, verify that the resulting status matches the intended outcome when practical.
  • Prefer device-level verification after group actions because some gateways may report inconsistent group state.
  • Keep credentials out of normal chat replies.
  • Use this skill for TRÅDFRI gateway control, not HomeKit scenes.
  • Ask for confirmation before large household-wide actions unless the user clearly asked for them.

Notes

  • The tested route is node-tradfri-client, not pytradfri.
  • Install dependencies with npm install in the skill folder. The required runtime dependency is node-tradfri-client.
  • The script includes retry logic, settle delays, device-level verification, floor commands, and layout presets for installations that need more robust post-action checks.
  • The gateway must be reachable on the local network from the machine running the skill.
  • The script reads config from config.json, with environment variables overriding it:

- TRADFRI_HOST - TRADFRI_IDENTITY - TRADFRI_PSK

  • list-devices, whats-on, and offline include the resolved group name when the gateway exposes deviceIDs on groups.
  • The published version intentionally ships without working credentials; users must add their own local gateway details.
  • If auth stops working, recreate credentials using the flow in references/setup.md.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

70.37%
按下载量换算859

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills