Commands  ›  Small Power Layout  ›  Small Power Add General Power From Config

Small Power Add General Power From Config

Small Power Layout writes to model Public API · not yet exposed

Coming soon

Before you run this

Small-power config has a "general" rule per room type (sockets per perimeter or per area, height, family). Rooms placed with a Room Type parameter set. Socket families loaded.

After it runs

General power sockets placed per the room type rule (e.g. one per perimeter wall, one per X m² of floor) at the configured height with the general-power circuit reference set.

When to use this

Don't use this when

Rooms already covered by a dedicated rule, kitchen sockets (separate command), or bespoke spec rooms (e.g. AV studios) where the layout isn't config-driven.

Inputs

NameKindTypeRequiredDefaultDescription
PresetKind config string no "placement_config" Deterministic config preset

Decision flow

1. Read each selected room's Room Type and area / perimeter.
2. Look up the general-power rule for that room type.
3. Compute socket positions along the perimeter or grid per the rule.
4. Place sockets in one Transaction; set height + general-power circuit reference.
5. Report sockets placed per room and any rooms skipped.

What you'll see in the chat

on start
I'll add general-power sockets to those rooms now — reading room types and areas first.
thinking
Looking up the general-power rule per room type and computing socket positions.
on success
Done — {n_placed} general-power sockets placed across {n_rooms} rooms.
on failure
Couldn't add general-power sockets: {error}.

REST API

Not yet exposed

This command does not carry a [RestApi] attribute today. Once tagged, this section will auto-populate with:

  • POST /api/v1/commands/small_power_add_general_power_from_config
  • Request body schema (from [RestApiParam])
  • Response schema (from [RestApiResponse])
  • curl / JS / Python code examples

Keywords & intent patterns

general power · room sockets · small power layout · perimeter sockets · socket layout

PillarSmall Power Layout