Smart Lights Pack
★Trusted◇Sandbox optionalv1.0.0MIT○Partially Verified45by AgentNode · published 5 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.
Quick Start
agentnode install smart-lights-packRuns in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.
Usage
From packagefrom 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_IPLocal IP address of your Philips Hue Bridge (e.g., 192.168.1.100)
HUE_API_KEYHue Bridge API key generated via the bridge button press authentication flow
Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works
Verification
Package installs and imports correctly. requires API credentials for full verification.
This package requires API credentials for full verification. Install and import checks passed.
Verified in real_auto mode
Last verified 3d 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
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
Declared by the publisher. Checked before execution by the policy gate.
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.
agentnode install smart-lights-packEnvironment Variables
HUE_BRIDGE_IPrequiredHUE_API_KEYrequiredFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode