AC Bridge

Direct LAN vs Home Assistant for smart lights and agents

Last updated

The short answer Use direct LAN protocols when you have one or two Wi-Fi or Bridge lights on your desk (Philips Hue Bridge, LIFX, Govee LAN, Kasa, Tapo, WiZ, WLED, Shelly) and want zero extra servers to maintain. Route through Home Assistant when you already run a Home Assistant box for Zigbee, Z-Wave, Thread, Matter or mixed smart-home gear across rooms.

Direct LAN vs Home Assistant decision matrix

Both routes keep device traffic on your local network rather than round-tripping through vendor clouds, but they trade setup footprint for radio and brand coverage.

Factor Direct LAN protocols Home Assistant
Extra hardware or server None beyond your computer (plus a Hue Bridge for Philips Hue). Requires a running Home Assistant instance on your network.
Radios and protocols IP/Wi-Fi and local bridges: Hue, LIFX, Govee LAN, Kasa, Tapo, WiZ, WLED, Shelly, Roku ECP. Unifies Zigbee, Z-Wave, Thread, Matter and hundreds of vendor integrations behind one API.
Latency and failure modes Direct hop to each bulb or plug; fewer moving parts to restart. One extra local hop; an HA restart briefly pauses every bridged entity.
Scenes and areas Per-brand rooms/scenes (such as Hue Bridge scenes) or per-device commands. Cross-brand Home Assistant areas, scenes and scripts from one sign-in.

When direct local LAN protocols win

If you only want a desk lamp, monitor light bar or office plug connected to your coding workflow, standing up a full home-automation server is unnecessary overhead.

Zero-hub Wi-Fi and Bridge brands

LIFX, WiZ, WLED, Shelly, Elgato and Govee lights with LAN Control switched on answer directly over local UDP or HTTP with no cloud token. Philips Hue speaks locally through your Hue Bridge after one link-button press, and Kasa/Tapo devices run locally after a local handshake.

Media devices over local ECP

Roku TVs and streaming players speak local External Control Protocol (ECP) on HTTP port 8060 once Permissive network access is enabled in Roku settings. Roku exposes power, playback and volume step keypresses rather than status-light colours.

When Home Assistant is the better hub

Once your office or home mixes Zigbee bulbs, Z-Wave switches, Thread/Matter plugs and thermostats from different vendors, routing through Home Assistant replaces per-brand pairing with one local endpoint.

One bridge for non-Wi-Fi radios

Zigbee, Z-Wave and Thread devices do not sit directly on your computer's Ethernet or Wi-Fi subnet. Home Assistant terminates those mesh radios through your coordinator dongle and exposes their entities over local WebSocket and HTTP APIs.

Shared areas, scenes and mixed brands

If you already organize rooms, scenes and automations in Home Assistant, connecting once brings those areas and scenes directly to your coding environment without duplicating device configuration brand by brand.

Entity domains and security device boundaries

Home Assistant often holds more than lights. A safe local integration separates controllable workspace gear from read-only or security-sensitive entities:

  1. Controllable workspace entities. Lights, plugs, switches, fans, covers, thermostats and scenes map cleanly to standard commands.

  2. Read-only and unmapped domains. Sensors report state without actuation, and informational domains such as weather or device trackers carry no device controls.

  3. Hard boundary on security devices. Locks, garage doors, valves and cameras should always be refused when an AI agent tries to actuate them over MCP, and cameras are never appropriate as status lights.

Questions people ask

Can I mix direct LAN lights and Home Assistant devices together?

Yes. You can drive a desk lamp directly over its LAN protocol for minimal hops while pulling Zigbee hallway bulbs or multi-brand scenes from Home Assistant at the same time. Just avoid adding the exact same physical bulb twice (once via LAN and once via Home Assistant).

Do I need Home Assistant to connect Philips Hue or Govee?

No. Philips Hue connects directly through your Hue Bridge on the local network, and Govee lights with LAN Control switched on connect directly over Govee's local LAN API without Home Assistant.

Which route handles Zigbee and Z-Wave bulbs?

Home Assistant (or a vendor bridge such as the Philips Hue Bridge for Hue Zigbee bulbs). Plain Wi-Fi LAN discovery cannot see Zigbee, Z-Wave or Thread mesh devices directly without a coordinator or bridge.

Are locks and cameras safe to expose through Home Assistant?

Never let an autonomous coding agent unlock doors, open garage doors, actuate valves or operate cameras via MCP tool calls. Enforce a hard local refusal on security-sensitive device types regardless of whether they arrive over direct LAN or Home Assistant.

Or let a light show it

Whether you connect lights directly on your LAN or through Home Assistant, one desktop app supports both routes side by side for Claude Code and Codex.

What it does

AC Bridge ships 20 integrations in one desktop app: 16 direct LAN brands (Philips Hue, LIFX, Govee, WiZ, Nanoleaf, Kasa, Tapo, Yeelight, WLED, Shelly, Tuya, Meross, SONOFF, Elgato, Roku and ESPHome) plus Home Assistant, SmartThings, MQTT and Matter. Compare every adapter on the integrations hub, check every mapped capability on supported devices, or read the Home Assistant MCP guide.

What it follows

Status-light hooks drive 29 agent states on Claude Code (needs permission follows Claude Code's permission_prompt notification) and 19 states on Codex. Security-sensitive devices stay protected: status-light hooks require explicit opt-in via Allow security actions (cameras are never status lights), and agent MCP control always refuses locks, garage doors, valves and cameras. See Hooks vs MCP for how both layers fit together.

What it costs

AC Bridge is free to use: one Claude Code profile and one Codex profile, each lighting one device on one repo at a time, with as many devices as you like switched on or off from the app. Pro is £12.99 once, not a subscription: as many profiles as you want for each agent, several devices in a profile, profiles on every repo at once, and your agent can control your devices. It works with the Claude Code or Codex you already run, on Windows, macOS or Linux, with no model API key to buy.

What it collects

LAN devices are driven straight from your machine and their keys never leave it; your account, settings, device list, usage counts and session states sync through our servers. Your prompts, code and session transcripts are never collected. Privacy policy.

Try it on your own lights Turn the lights you already own into a status light for Claude Code and Codex, and see from across the room when a session needs you. Get started free, or read the setup docs first. On Pro, ask Claude Code or Codex in plain English to switch, dim or recolour your lights, plugs and more. How MCP device control works