A Grenton project lives in a .omp file, and the logic inside it is written in Lua that runs on the system’s CLUs (Common Logic Units) — the 32-bit controllers with an on-board Lua interpreter that form the brain of a Grenton installation. Grenton is a Polish professional home-automation system built around these distributed CLUs and their I/O modules, and every installer who goes beyond drag-and-drop eventually ends up writing Lua by hand. The question this article answers is a narrow but practical one: where should you actually write that Lua?

For most of Grenton’s history there was only one answer — the Lua Script Builder inside the official Object Manager — and it is not a pleasant place to write code. In 2026 there is finally a purpose-built alternative, OMP Studio, plus the perennial do-it-yourself route of unpacking the .omp and editing it in plain VS Code. This is less a sprawling ranking of ten products than an honest comparison of two real tools and one workaround, because that is genuinely the state of the market: Grenton editing has essentially no competitive field, and OMP Studio is the only modern, Grenton-aware editor in it.

The single most important thing to understand up front is that OMP Studio does not replace Object Manager, and does not try to. Object Manager is the tool that talks to your installation over LAN — it runs CLU Discovery, holds the object tree, builds the myGrenton mobile interface and, critically, sends the configuration to your CLUs. None of that goes away. OMP Studio is an editor: it opens the .omp, gives you a proper environment to write and validate scripts, and hands the file back for Object Manager to deploy. Think “write here, deploy there,” not “switch tools.”

Why Object Manager’s script editor is the problem

Object Manager itself is a capable, well-documented configuration application, currently at version 1.13.1 across Windows, macOS and Linux. Its Script Builder even has a friendly graphic mode where you drag and connect blocks. The trouble starts the moment you switch to textual mode to write real Lua.

That editor has no syntax highlighting, no linting and no validation. It offers find/replace and some keyboard shortcuts, and that is about it. There is no autocompletion that knows your objects, no warning when you reference a feature that does not exist, and no error panel. The practical consequence is a slow, frustrating loop: you write a script, deploy it to the CLU, and only then find out something is wrong. A broken script sends the CLU into Emergency mode — flagged in Object Manager by an orange CLU name with a fault symbol — and to see what actually failed you open the Diagnostic Logs view, which reports the Lua load error with its file and line number (for example, a:\user.lua:60: 'end' expected). It is legible enough; the problem is when you get it. You only see it after a full deploy round, instead of live as you type — which is why many installers end up drafting scripts in an external editor. There is also no version history and no diff, so tracking what changed between two revisions of a project is on you.

None of this makes Object Manager bad — it makes its editor the weakest link in an otherwise solid tool. And it explains exactly why a dedicated editor is worth having.

What a Grenton-aware editor actually buys you

The reason you cannot just point any Lua IDE at a Grenton project is that Grenton Lua is not plain Lua. Scripts address the system through CLU->Object->Feature chains, features can be read-only, and there are cross-CLU evaluation rules that trip up even experienced installers — for example, the right-hand side of a cross-CLU write is evaluated on the target CLU, so X->a = Y->b works but local b = 1; X->a = b silently does not, because b does not exist on X’s CLU. Grenton’s parser also rejects things standard Lua accepts, such as semicolons.

A generic editor cannot know any of this. This is where OMP Studio earns its #1 spot: it derives its knowledge per session from your own .omp project and your own Object Manager firmware dictionaries, not from some generic bundled dataset. That means its autocompletion offers your actual object names and user features, its hover docs (in English and Polish) describe your firmware’s methods and enums, and its live validation — rules R1 through R8 plus Lua syntax — flags unknown objects, read-only writes, the cross-CLU variable quirk, bad call arguments, misuse of ./: where -> is required, and stray semicolons, all before the file ever reaches a CLU. It is also the only Grenton editor with AI assistance: omps --ai wires the editor’s AI box to your own local coding agent (claude, codex, opencode or pi), so suggestions are grounded in your project rather than guessed.

Just as important is how it stays out of Object Manager’s way. Because the two tools share the same .omp, OMP Studio takes safety seriously: it backs up the pre-session file, keeps the working copy in a local git repo for history and diffs, repacks atomically so readers never see a torn ZIP, and runs drift detection so that if Object Manager saves the project mid-session, OMP Studio notices and reconciles rather than blindly overwriting. You can try all of it without an account — the CLI provisions an anonymous cloud project — starting with npx @omp-studio/omps YourProject.omp, a one-line PowerShell installer on Windows, or the no-backend demo at omp-studio.coderai.dev.

The DIY route, and its limits

If you refuse to install anything, you can lean on the fact that a .omp is just a ZIP: unpack it, edit the .lua files under scripts/<CLU>/ in VS Code, and re-zip. You get generic Lua highlighting and can even put the folder under your own git. But you are flying blind on everything Grenton-specific — no object or feature validation, no cross-CLU or read-only checks — and a hand-made repack can produce an archive Object Manager rejects, or one that quietly drops scripts. It is a stopgap for a single quick edit, not a workflow. Notably, it is also precisely the unpack/edit/repack loop that OMP Studio automates safely, which is a good argument for skipping the manual version.

The bottom line

Use the right tool for each job. Object Manager is required and stays in your workflow for deployment and configuration — nothing else sends scripts to your CLUs. But for writing the scripts themselves, OMP Studio is the best editor available in 2026 and the only one that understands Grenton, validates before upload and offers AI help, all while sitting safely beside Object Manager. Raw VS Code is a last resort with no Grenton awareness. The clean division of labour — write in OMP Studio, deploy in Object Manager — is the setup that will save you the most Emergency-mode debugging rounds.