A command-line tool for managing Intech Studio Grid controller configurations.
- Pull: Download configurations from a connected Grid device as editable Lua files
- Push: Upload Lua configurations back to the device
- Round-trip fidelity: Edit configurations in your favorite editor, version control with git
- Human-readable format: Configurations are saved as properly formatted Lua with comments
For AI assistants: See LLM_CONTEXT.md for comprehensive documentation on editing Grid configurations, including module types, Lua API reference, and common patterns.
npm install
npm run build# List connected devices
node dist/cli.js devices
# Download configuration to a directory
node dist/cli.js pull ./my-config
# Pull specific pages only
node dist/cli.js pull ./my-config --pages 0,1
# Upload configuration from a directory
node dist/cli.js push ./my-config
# Push specific pages only
node dist/cli.js push ./my-config --pages 0
# Push without saving to flash (temporary)
node dist/cli.js push ./my-config --no-storeConfigurations are saved as human-readable Lua files:
my-config/
├── manifest.json
├── 01-po16/
│ ├── module.json
│ └── page-0.lua
├── 02-pbf4/
│ ├── module.json
│ ├── page-0.lua
│ └── page-1.lua
└── ...
Each page file contains event handlers:
-- grid: page=0
-- grid:event element=0 event=potmeter
--[[@gpl]]
local num = self:element_index()
local val = self:potmeter_value()
led_color(num, 1, val * 2, 0, 0)
midi_send(0, 176, num, val)
-- ============================================================
-- grid:event element=1 event=button
--[[@gpl]]
if self:button_value() > 0 then
led_color(self:element_index(), 1, 255, 0, 0)
end| Type | Description |
|---|---|
| PO16 | 16 potentiometers |
| BU16 | 16 buttons |
| PBF4 | 4 faders + 4 buttons |
| EN16 | 16 encoders |
| EF44 | 4 encoders + 4 faders |
| TEK2 | 2 endless touch strips |
| VSN1L | Vision module (display) |
# Install dependencies
npm install
# Run in development mode
npm run dev -- devices
# Build
npm run build
# Test
npm test
# Lint
npm run lintMIT