Skip to main content

Smart Lights Pack

TrustedSandbox optionalv1.0.0MITPartially Verified45

by AgentNode · published 6 months ago · toolpack

Control Philips Hue and other smart lighting systems.

Manage smart lights: turn on/off, adjust brightness, change colors, set scenes, and create schedules. Supports Philips Hue, LIFX, and Elgato.

langchaincrewaigeneric

Quick Start

bash
agentnode install smart-lights-pack

Runs in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.

Usage

From package
python
from smart_lights_pack.tool import run

# Set the office lights to a focus-friendly warm white
result = run(
    action="set_scene",
    group="Office",
    scene={
        "brightness": 80,
        "color_temp": 3500,
        "transition_ms": 2000
    }
)

print(f"Group: {result['group_name']}")
print(f"Lights affected: {result['light_count']}")
for light in result["lights"]:
    print(f"  {light['name']}: brightness={light['brightness']}%, color_temp={light['color_temp']}K")

# List all available groups and scenes
groups = run(action="list_groups")
for group in groups["groups"]:
    print(f"\n{group['name']} ({group['type']}): {len(group['lights'])} lights")
    for scene in group["scenes"]:
        print(f"  - {scene['name']}")

Environment Variables

HUE_BRIDGE_IP

Local IP address of your Philips Hue Bridge (e.g., 192.168.1.100)

required
HUE_API_KEY

Hue Bridge API key generated via the bridge button press authentication flow

required

Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works

Verification

low confidence45/100○ Partially Verified
smokeCredential boundary reached (high confidence)
+15/25
testsTests failed
0/15
importAll tools imported successfully
+15/15
installInstalled in 1.6s
+15/15
contractContract not validated
0/10
determinismNo determinism data
0/5
reliabilityNo stability data
0/10

Package installs and imports correctly. requires API credentials for full verification.

install1.6s
import93ms
smoke134ms
tests1.2s

This package requires API credentials for full verification. Install and import checks passed.

Verified in real_auto mode

Python 3.12.3ffmpegpopplertesseractuv

Last verified 19d ago· Runner v2.0.0

Use this when you need to...

  • Set Philips Hue light brightness and color based on time of day
  • Trigger scene changes across light groups from agent automations
  • Create dynamic lighting effects that respond to external events
  • Gradually adjust color temperature for circadian rhythm lighting
  • Turn off all lights in a room or building with a single command

README

Version History

Capabilities

smart_lightingcontrol_lightstool

Input Schema

{
  "type": "object",
  "required": [
    "operation"
  ],
  "properties": {
    "api_key": {
      "type": "string",
      "default": ""
    },
    "bridge_ip": {
      "type": "string",
      "default": ""
    },
    "operation": {
      "enum": [
        "list_lights",
        "get_state",
        "turn_on",
        "turn_off",
        "set_scene"
      ],
      "type": "string"
    }
  }
}

Permissions

Sandbox optionalFrom a trusted publisher — runs on the host by default. You can require isolation with sandbox.host_trust_policy.

Declared by the publisher. Checked before execution by the policy gate.

Networkrestricted
Filesystemnone
Code Executionnone
Data Accessinput_only
User Approvalonce

Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more

Privacy

All tool execution happens locally on your machine. AgentNode never receives:

  • • Tool inputs or outputs
  • • Execution logs
  • • Data your agent processes

Only install events and search queries are sent to the registry.

bash
agentnode install smart-lights-pack

Environment Variables

HUE_BRIDGE_IPrequired
HUE_API_KEYrequired

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointsmart_lights_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode