Install
openclaw skills install tradfri-lightsControl 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.
openclaw skills install tradfri-lightsUse this skill for local IKEA TRÅDFRI light control through an IKEA TRÅDFRI gateway.
scripts/tradfri.js for actual gateway actions.references/setup.md before first use to configure the gateway host and credentials.npm install.node-tradfri-client and a locally reachable IKEA TRÅDFRI gateway.Run commands from the skill folder or with an absolute path.
node scripts/tradfri.js status
node scripts/tradfri.js list-devices
node scripts/tradfri.js list-groups
node scripts/tradfri.js whats-on
node scripts/tradfri.js offline
node scripts/tradfri.js light-off "Speelkamer 1"
node scripts/tradfri.js light-on "Speelkamer 1"
node scripts/tradfri.js brightness "Speelkamer 1" 35
node scripts/tradfri.js group-off "Woonkamer"
node scripts/tradfri.js group-on "Woonkamer"
node scripts/tradfri.js group-brightness "Woonkamer" 50
node scripts/tradfri.js group-brightness "Slaapkamers" 100
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.
node scripts/tradfri.js floor-on 1 50 --verify
node scripts/tradfri.js floor-off 4 --verify
node scripts/tradfri.js layout day --verify
node scripts/tradfri.js layout evening --verify
node scripts/tradfri.js layout night --verify
alive: false), say so explicitly instead of pretending the action succeeded.node-tradfri-client, not pytradfri.npm install in the skill folder. The required runtime dependency is node-tradfri-client.config.json, with environment variables overriding it:
TRADFRI_HOSTTRADFRI_IDENTITYTRADFRI_PSKlist-devices, whats-on, and offline include the resolved group name when the gateway exposes deviceIDs on groups.references/setup.md.