wirestudio
Hardware design tool for microcontroller devices. A single design.json
(board + components + connections) drives every artifact: solved pin
assignments, electrical validation, firmware for the framework you pick
(compile-clean ESPHome YAML, a Tasmota template, a WLED build, LoRaWAN
firmware, Meshtastic, CircuitPython or MicroPython), an ASCII wiring
diagram, a KiCad schematic and placed PCB, a JLCPCB fab bundle (BOM /
CPL / Gerber / drill), and a parametric OpenSCAD enclosure. Drive it
from the web UI, the built-in agent, or any MCP client.
Stock ESPHome's Device Builder covers picking a board and adding
components. wirestudio works below the YAML: the component library
carries electrical metadata ESPHome doesn't model (voltage rails,
current draw, pull-ups, per-pin capabilities), a CSP solver assigns
legal pins from it, a validator catches boot-strap / ADC2-WiFi /
voltage conflicts, and the same design fans out to the physical
artifacts — wiring, schematic, PCB, enclosure. The bundled boards span
the ESP32 family (original, C3, S3, C6) and ESP8266; nothing is
ESP32-specific — any board ESPHome supports can be added with a library
file (integration spec).
Below the module level the library also carries subcircuits: a
component built from discrete parts (an H-bridge, a MOSFET low-side
driver, an LED indicator, a voltage divider, a level shifter) expands
into real symbols and footprints on the schematic and PCB, into the BOM
and CPL, and into the inventory check. Blocks declare the electrical
rule they are held to, and validate runs it with the instance's
params and the rails it is wired to. Components can be authored in the
studio (or by the agent) and pass the same gate the bundled ones do.
An inventory of what is on hand -- library modules and a drawer of
discrete parts, imported from a spreadsheet -- is cross-checked against
a design's BOM: shortfalls come back with same-package substitutes and
their caveats, an accepted substitute changes what every fab output
prints, and the report ends in a pick list by drawer location and a
buy list priced on JLCPCB.
Two LoRaWAN paths share the studio. The standalone target builds and
flashes RadioLib + LoRaWAN_ESP32 firmware over WebSerial. The newer
external-component path emits ESPHome YAML referencing
lorawan-for-esphome,
so the LoRaWAN device joins the same ESPHome / fleet-for-esphome build
pipeline as every other device — provisioning, key handling, and
join-status polling all from the web UI. Both paths target US915 radio
boards (TTGO T-Beam / LoRa32, Heltec WiFi LoRa 32 V2 / V3 / V4) and
provision against ChirpStack.
One flash dialog covers six firmware frameworks over the same
WebSerial + esptool-js mechanism: ESPHome (built by
fleet-for-esphome or by an ESPHome dashboard, then OTA), Tasmota
(official release image + template push over serial), LoRaWAN
(compiled RadioLib firmware), Meshtastic (official release factory
image for the radio boards, then region, preset, owner and channel
pushed over the same port), CircuitPython (official release image
plus a generated code.py for the CIRCUITPY drive), and
MicroPython (official release image for every board's chip, plus a
main.py generated from the design and pushed over the same port
through the raw REPL).
WebSerial needs the board on the end of a cable. A remote workbench
removes that: point the studio at a
SensorsIot Embedded AI Harness
— a Raspberry Pi exposing every USB-attached board as a network
resource — and flashing, LoRaWAN key provisioning and join verification
all run against a slot on a bench somewhere else
(workbench). The MCP server carries the same
reach: alongside the design tools it exposes workbench, ChirpStack and
fleet-build tools, so a headless client can take a design from
design.json to a joined device without dropping to HTTP
(MCP).
Not affiliated with the ESPHome project. Push to fleet talks to
weirded/fleet-for-esphome,
the OTA-deploy companion; Push to ESPHome dashboard talks to an
ESPHome Device Builder (the dashboard of ESPHome 2026.6 and later: the
Home Assistant add-on or a standalone one), which dispatches the
compile to its own workers.
Documentation
Detailed docs live in docs/:
- Documentation index — architecture, repo layout, per-area status.
- 1.0 release notes — what 1.0 promises, upgrading, tier changes.
- Roadmap to 1.0 — the closed record of what 1.0 took and what it left out.
- User guide — Web UI, inspector, header actions, HTTP API, examples.
- Deployment — self-host with Docker or Kubernetes.
- Integrations — agent, fleet handoff, enclosure search, KiCad.
- MCP server — drive the studio from Claude Code / Desktop.
- Workbench — flash and provision boards on a remote bench.
- Library reference — every board and component.
- LoRaWAN target — build + flash LoRaWAN firmware, provision against ChirpStack.
Status
v1.4.2 — on PyPI (pip install wirestudio). What 1.0 promises, and
how to upgrade, is in the release notes. The studio has wide
surface area (YAML, schematic, PCB + fab outputs, enclosure,
subcircuits with electrical rules, inventory matching, component
authoring, agent, MCP server, two ESPHome build paths, remote
workbench, web UI, two LoRaWAN flash/provision paths — standalone
Arduino and an external-component path that emits ESPHome YAML
referencing lorawan-for-esphome) and a set of things actually
verified against upstream tools. The YAML, schematic, PCB, and
enclosure paths are gated in CI, and every library component and
board is exercised by a bundled example that passes those gates. The
unit and golden tests a row cites run on every PR too
(tests). This section is honest about which is which, ordered
by how much it matters that it works.
Tiers, in priority order: