Skip to main content

Home Automation Pack

TrustedSandbox optionalv1.0.0MITPartially Verified45

by AgentNode · published 5 months ago · toolpack

Control smart home devices via Home Assistant.

Interact with Home Assistant to control lights, thermostats, locks, cameras, and sensors. Supports automations, scenes, and device status queries.

langchaincrewaigeneric

Quick Start

bash
agentnode install home-automation-pack

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

Usage

From package
python
from home_automation_pack.tool import run

# Turn on living room lights at 70% brightness
result = run(
    action="home_control",
    operation="set_state",
    entity_id="light.living_room_main",
    state="on",
    attributes={"brightness": 178, "color_temp": 370}
)
print(f"Light: {result['entity_id']} -> {result['state']}")

# Set thermostat to 72F
result = run(
    action="home_control",
    operation="set_state",
    entity_id="climate.main_floor",
    state="heat",
    attributes={"temperature": 72}
)
print(f"Thermostat: {result['state']}, target {result['attributes']['temperature']}F")

# Get all device states in the living room
devices = run(
    action="home_control",
    operation="get_states",
    area="living_room"
)
for device in devices["entities"]:
    print(f"  {device['friendly_name']}: {device['state']}")

Environment Variables

HOME_ASSISTANT_URL

Home Assistant instance URL (e.g., http://192.168.1.100:8123)

required
HOME_ASSISTANT_TOKEN

Home Assistant long-lived access token (Profile > Long-Lived Access Tokens)

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.9s
+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.9s
import78ms
smoke147ms
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 8/4/2026· Runner v2.0.0

Use this when you need to...

  • Turn off all living room lights at a scheduled time
  • Set thermostat temperature based on weather forecast data
  • Lock all doors and arm the security system via a single command
  • Monitor garage door status and send alerts when left open
  • Create automation scenes that adjust lights, blinds, and music together

README

Version History

Capabilities

home_automationhome_controltool

Input Schema

{
  "type": "object",
  "required": [
    "operation"
  ],
  "properties": {
    "token": {
      "type": "string",
      "default": ""
    },
    "ha_url": {
      "type": "string",
      "default": ""
    },
    "operation": {
      "enum": [
        "list_entities",
        "get_state",
        "turn_on",
        "turn_off",
        "call_service"
      ],
      "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.

Networkunrestricted
Filesystemnone
Code Executionnone
Data Accessconnected_accounts
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 home-automation-pack

Environment Variables

HOME_ASSISTANT_URLrequired
HOME_ASSISTANT_TOKENrequired

Files (3)

License

MIT

Stats

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

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode