Engineering notes
Building Driverforge
Engineering notes from Driverforge: developer tooling and observability for smart-home integration platforms.
Pinned
Your coding agent can finally debug a Control4 driver on the controller
Your coding agent can now read what your driver did on a real Control4 controller, diagnose bugs and check its fixes. Available now on all Anvil developer plans.
November 22, 2026 · 6 min read
Create a Control4 driver without copying the last one
Create a driver from a template and wire it up to Anvil before you write a line of Lua. Available now in the Driverforge CLI.
November 18, 2026
4 min read
Debug your Control4 driver on your own machine
The Driverforge CLI's new run command puts your driver's Lua on your own computer while a real controller keeps driving it. Save a file, and the next touchscreen tap or programming rule that reaches your driver runs the new code, with your coding agent and your debugger right there.
November 13, 2026
11 min read
Introducing the Anvil MCP server for Control4 developers
Bring the DriverWorks docs and live driver telemetry into your coding agent. Available now on all Anvil developer plans.
October 22, 2026
5 min read
Running our whole stack on Bun 1.4
Our backend services, all seven Next.js apps, their tests and our CI now run on Bun 1.4.2, and Node is gone from the stack. Here's what changed in 1.4, the measurements behind the move, and the platform details that mattered along the way.
September 24, 2026
7 min read
How we migrated our production NestJS fleet to Bun
Two webhooks benchmarks showed throughput gains of between 72 and 86 percent on Bun 1.3.14. Getting our backend services ready for production also meant working around socket failures and allowing for higher memory use.
August 30, 2026
10 min read
Verifying the Anvil Agent with an offline cryptographic handshake
Before an instrumented Control4 driver sends any telemetry, the Driverforge SDK challenges the Anvil Agent and verifies a signed proof of identity, entirely on the controller and without a network call.
August 23, 2026
9 min read
Open-sourcing one directory of a private monorepo
Copybara publishes the Driverforge SDK from a private monorepo. Keeping private references out of the public history takes checks beyond the file allowlist.
August 10, 2026
7 min read
Deploying a Control4 driver with one command
The Driverforge CLI builds your driver, installs it on a Control4 controller and confirms it restarted, all from one command. For Lua-only changes, sync is faster still: no reload, and the driver keeps its state.
August 7, 2026
6 min read
Error tracking for Control4 drivers
When a Control4 driver fails, Anvil records the line that failed, the handler that was running and the values in play, and groups it with every other time the same bug has happened.
July 24, 2026
5 min read
Using MQTT over TLS in a Control4 driver
Control4's DriverWorks MQTT client can connect over TLS, but four of its behaviours aren't obvious from the documentation. Here's what to expect, and a setup that works.
July 19, 2026
3 min read
Monitoring our own Control4 driver with Anvil
The Anvil Agent is a Control4 driver too, running on controllers we don't own. Here's why a general-purpose error tracker like Sentry struggles with a Lua driver, and how the agent reports its own errors and logs through Anvil instead.
July 10, 2026
3 min read